Commit 7768274b authored by Simon Shi's avatar Simon Shi Committed by John Wu

Fix build issue

parent 33f00665
...@@ -39,7 +39,7 @@ void hide_sensitive_props() { ...@@ -39,7 +39,7 @@ void hide_sensitive_props() {
bootmode = getprop("ro.boot.mode"); bootmode = getprop("ro.boot.mode");
if (!bootmode.empty() && bootmode.find("recovery") != string::npos) { if (!bootmode.empty() && bootmode.find("recovery") != string::npos) {
setprop("ro.boot.mode", "unknown", false); setprop("ro.boot.mode", "unknown", false);
}
// Xiaomi cross region flash // Xiaomi cross region flash
auto hwc = getprop("ro.boot.hwc"); auto hwc = getprop("ro.boot.hwc");
if (!hwc.empty() && hwc.find("CN") != string::npos) { if (!hwc.empty() && hwc.find("CN") != string::npos) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment