Skip to content

Commit 9837893

Browse files
ezio84Genkzsz11
authored andcommitted
Enable fingerprint swipe gestures by default [1/2]
Signed-off-by: Anushek Prasal <anushekprasal@gmail.com>
1 parent cf2f2e7 commit 9837893

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2546,7 +2546,7 @@ public void setBlockedGesturalNavigation(boolean blocked) {
25462546

25472547
private void setFpToDismissNotifications() {
25482548
mFpDismissNotifications = Settings.Secure.getIntForUser(mContext.getContentResolver(),
2549-
Settings.Secure.FP_SWIPE_TO_DISMISS_NOTIFICATIONS, 0,
2549+
Settings.Secure.FP_SWIPE_TO_DISMISS_NOTIFICATIONS, 1,
25502550
UserHandle.USER_CURRENT) == 1;
25512551
}
25522552

services/core/java/com/android/server/policy/PhoneWindowManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2425,7 +2425,7 @@ public void updateSettings() {
24252425
UserHandle.USER_CURRENT);
24262426
mSystemNavigationKeysEnabled = Settings.Secure.getIntForUser(resolver,
24272427
Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED,
2428-
0, UserHandle.USER_CURRENT) == 1;
2428+
1, UserHandle.USER_CURRENT) == 1;
24292429
mRingerToggleChord = Settings.Secure.getIntForUser(resolver,
24302430
Settings.Secure.VOLUME_HUSH_GESTURE, VOLUME_HUSH_OFF,
24312431
UserHandle.USER_CURRENT);

0 commit comments

Comments
 (0)