Fix build issue

This commit is contained in:
Simon Shi 2020-03-12 19:55:44 +08:00 committed by John Wu
parent 33f006655d
commit 7768274b2f

View File

@ -39,7 +39,7 @@ void hide_sensitive_props() {
bootmode = getprop("ro.boot.mode");
if (!bootmode.empty() && bootmode.find("recovery") != string::npos) {
setprop("ro.boot.mode", "unknown", false);
}
// Xiaomi cross region flash
auto hwc = getprop("ro.boot.hwc");
if (!hwc.empty() && hwc.find("CN") != string::npos) {