diff options
author | Tao Bao <tbao@google.com> | 2019-06-05 04:30:29 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-06-05 04:30:29 +0200 |
commit | 9b2cfec8dda319038e2f3803052e84aed96395a4 (patch) | |
tree | d94df98133c6ec34d34f2e0b16d6b7dbf505692a | |
parent | Merge "Use icu4j instead of its deprecated legacy alias icu4j-host" am: 14bc5e1feb (diff) | |
parent | Merge "minadbd: More allowed properties." (diff) | |
download | android_bootable_recovery-9b2cfec8dda319038e2f3803052e84aed96395a4.tar android_bootable_recovery-9b2cfec8dda319038e2f3803052e84aed96395a4.tar.gz android_bootable_recovery-9b2cfec8dda319038e2f3803052e84aed96395a4.tar.bz2 android_bootable_recovery-9b2cfec8dda319038e2f3803052e84aed96395a4.tar.lz android_bootable_recovery-9b2cfec8dda319038e2f3803052e84aed96395a4.tar.xz android_bootable_recovery-9b2cfec8dda319038e2f3803052e84aed96395a4.tar.zst android_bootable_recovery-9b2cfec8dda319038e2f3803052e84aed96395a4.zip |
-rw-r--r-- | minadbd/minadbd_services.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/minadbd/minadbd_services.cpp b/minadbd/minadbd_services.cpp index 8f2b71aa1..5eda73e40 100644 --- a/minadbd/minadbd_services.cpp +++ b/minadbd/minadbd_services.cpp @@ -158,8 +158,15 @@ static void RescueInstallHostService(unique_fd sfd, const std::string& args) { static void RescueGetpropHostService(unique_fd sfd, const std::string& prop) { static const std::unordered_set<std::string> kGetpropAllowedProps = { - "ro.build.fingerprint", "ro.build.date.utc", + "ro.build.fingerprint", + "ro.build.flavor", + "ro.build.id", + "ro.build.product", + "ro.build.tags", + "ro.build.version.incremental", + "ro.product.device", + "ro.product.vendor.device", }; auto allowed = kGetpropAllowedProps.find(prop) != kGetpropAllowedProps.end(); if (!allowed) { |