Merge "Enable quick pickup gesture by default" into sc-dev
This commit is contained in:
@@ -102,9 +102,7 @@ public class AmbientDisplayConfiguration {
|
|||||||
|
|
||||||
/** {@hide} */
|
/** {@hide} */
|
||||||
public boolean quickPickupSensorEnabled(int user) {
|
public boolean quickPickupSensorEnabled(int user) {
|
||||||
return boolSettingDefaultOff(Settings.Secure.DOZE_QUICK_PICKUP_GESTURE, user)
|
return !TextUtils.isEmpty(quickPickupSensorType()) && !alwaysOnEnabled(user);
|
||||||
&& !TextUtils.isEmpty(quickPickupSensorType())
|
|
||||||
&& !alwaysOnEnabled(user);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@hide} */
|
/** {@hide} */
|
||||||
|
|||||||
Reference in New Issue
Block a user