Merge "Calling hideKeyguard more often, instead of caching it" into oc-dr1-dev

This commit is contained in:
TreeHugger Robot
2017-07-05 17:35:47 +00:00
committed by Android (Google) Code Review

View File

@@ -4206,7 +4206,7 @@ public class StatusBar extends SystemUI implements DemoMode,
}
if (shouldBeKeyguard) {
showKeyguardImpl();
} else if (!shouldBeKeyguard && mIsKeyguard) {
} else {
return hideKeyguardImpl();
}
return false;