Snap for 12164422 from b8dbc2a0df
to 24Q4-release
Change-Id: Ib0569018386969dbd8d5a273fe65e6ec2e189db2
This commit is contained in:
commit
f56127c4de
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