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

This commit is contained in:
Jason Chang
2021-08-06 05:36:49 +00:00
committed by Android (Google) Code Review

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;
} }
/** /**