Fix fingerprint swipe gesture settings for secondary users.

am: 34331b7ca9

Change-Id: I42ab349b7fa5dfd789a5dcabb3aebf88683421f6
This commit is contained in:
Doris Ling
2016-08-10 17:18:25 +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