Fix fingerprint swipe gesture settings for secondary users. am: 34331b7ca9

am: 5cc8680521

Change-Id: I8932c540a9854dba4daf6caf1ba13cab0c6b1847
This commit is contained in:
Doris Ling
2016-08-10 17:28:06 +00:00
committed by android-build-merger

View File

@@ -7391,8 +7391,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
}
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