Merge "Fix fingerprint swipe gesture settings for secondary users." into nyc-mr1-dev

This commit is contained in:
Doris Ling
2016-08-10 17:08:12 +00:00
committed by Android (Google) Code Review

View File

@@ -7319,8 +7319,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