diff options
author | Tao Bao <tbao@google.com> | 2019-06-05 00:01:36 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-06-05 00:01:36 +0200 |
commit | 1ef7f92871e30301d9b74e4c79203f730a86c1be (patch) | |
tree | fe3054b8464e37333955e3620d73764c41d5afc6 | |
parent | Merge "Use icu4j instead of its deprecated legacy alias icu4j-host" (diff) | |
parent | minadbd: More allowed properties. (diff) | |
download | android_bootable_recovery-1ef7f92871e30301d9b74e4c79203f730a86c1be.tar android_bootable_recovery-1ef7f92871e30301d9b74e4c79203f730a86c1be.tar.gz android_bootable_recovery-1ef7f92871e30301d9b74e4c79203f730a86c1be.tar.bz2 android_bootable_recovery-1ef7f92871e30301d9b74e4c79203f730a86c1be.tar.lz android_bootable_recovery-1ef7f92871e30301d9b74e4c79203f730a86c1be.tar.xz android_bootable_recovery-1ef7f92871e30301d9b74e4c79203f730a86c1be.tar.zst android_bootable_recovery-1ef7f92871e30301d9b74e4c79203f730a86c1be.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) { |