Merge "Fix fingerprint swipe gesture settings for secondary users." into nyc-mr1-dev
This commit is contained in:
@@ -7319,8 +7319,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean areSystemNavigationKeysEnabled() {
|
private boolean areSystemNavigationKeysEnabled() {
|
||||||
return Settings.Secure.getInt(mContext.getContentResolver(),
|
return Settings.Secure.getIntForUser(mContext.getContentResolver(),
|
||||||
Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED, 0) == 1;
|
Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED, 0, UserHandle.USER_CURRENT) == 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user