sensors: Support registry dump on DEV device.
Flag: EXEMPT bugfix Bug: 356344263 Test: adb bugreport on DS. Change-Id: Ifccf1ed18e01bd54bfbfd421969361734e631a32 Signed-off-by: Rick Chen <rickctchen@google.com>
This commit is contained in:
parent
2b3c202bd2
commit
35d4b2bf94
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@ int main() {
|
|||
if (!::android::os::dumpstate::PropertiesHelper::IsUserBuild()) {
|
||||
// Not a user build, if this is also not a production device dump the USF registry.
|
||||
std::string hwRev = ::android::base::GetProperty("ro.boot.hardware.revision", "");
|
||||
if (hwRev.find("PROTO") != std::string::npos ||
|
||||
if (hwRev.find("DEV") != std::string::npos ||
|
||||
hwRev.find("PROTO") != std::string::npos ||
|
||||
hwRev.find("EVT") != std::string::npos ||
|
||||
hwRev.find("DVT") != std::string::npos ||
|
||||
hwRev.find("PVT") != std::string::npos) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue