Change to use getIntForUser() when reading the secure settings value for
fingerprint swipe, as PhoneWindowManager always read as user 0 by
default.
Change-Id: I1d08a970b031f7bce4864c982e791678e1ef221b
Fixes:
30709756
}
private boolean areSystemNavigationKeysEnabled() {
- return Settings.Secure.getInt(mContext.getContentResolver(),
- Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED, 0) == 1;
+ return Settings.Secure.getIntForUser(mContext.getContentResolver(),
+ Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED, 0, UserHandle.USER_CURRENT) == 1;
}
@Override