Fix fingerprint swipe gesture settings for secondary users.
am: 34331b7ca9
Change-Id: I42ab349b7fa5dfd789a5dcabb3aebf88683421f6
This commit is contained in:
@@ -7391,8 +7391,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