Snap for 12164422 from b8dbc2a0df to 24Q4-release

Change-Id: Ib0569018386969dbd8d5a273fe65e6ec2e189db2
This commit is contained in:
Android Build Coastguard Worker 2024-07-31 23:01:55 +00:00
commit f56127c4de

View file

@ -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) {