Merge "Enable quick pickup gesture by default" into sc-dev

This commit is contained in:
Beverly Tai
2021-04-09 18:22:46 +00:00
committed by Android (Google) Code Review

View File

@@ -102,9 +102,7 @@ public class AmbientDisplayConfiguration {
/** {@hide} */
public boolean quickPickupSensorEnabled(int user) {
return boolSettingDefaultOff(Settings.Secure.DOZE_QUICK_PICKUP_GESTURE, user)
&& !TextUtils.isEmpty(quickPickupSensorType())
&& !alwaysOnEnabled(user);
return !TextUtils.isEmpty(quickPickupSensorType()) && !alwaysOnEnabled(user);
}
/** {@hide} */