Default fingerprint swipe to disabled.

If Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED is not set, default it
to 0 to diable fingerprint swipe.

Bug: 30416729
Change-Id: I292aa696216facc8eaefd1f4bd698f6e5708dc85
This commit is contained in:
Doris Ling
2016-07-28 13:46:33 -07:00
parent 7f37f2693f
commit d01217c0c2

View File

@@ -7306,7 +7306,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
private boolean areSystemNavigationKeysEnabled() {
return Settings.Secure.getInt(mContext.getContentResolver(),
Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED, 1) == 1;
Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED, 0) == 1;
}
@Override