Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev am: 20c38783c2

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472778

Change-Id: Ia1c142195635b51b006a0773ab628291f03b2dc7
This commit is contained in:
Jason Chang
2021-08-06 05:48:10 +00:00
committed by Automerger Merge Worker

View File

@@ -130,7 +130,7 @@ public final class OneHandedSettingsUtil {
*/ */
public boolean getSettingsTapsAppToExit(ContentResolver resolver, int userId) { public boolean getSettingsTapsAppToExit(ContentResolver resolver, int userId) {
return Settings.Secure.getIntForUser(resolver, return Settings.Secure.getIntForUser(resolver,
Settings.Secure.TAPS_APP_TO_EXIT, 0, userId) == 1; Settings.Secure.TAPS_APP_TO_EXIT, 1, userId) == 1;
} }
/** /**