Merge "Checking Settings config for quick pick-up gesture" into sc-v2-dev
This commit is contained in:
@@ -109,7 +109,8 @@ public class AmbientDisplayConfiguration {
|
|||||||
|
|
||||||
/** {@hide} */
|
/** {@hide} */
|
||||||
public boolean quickPickupSensorEnabled(int user) {
|
public boolean quickPickupSensorEnabled(int user) {
|
||||||
return !TextUtils.isEmpty(quickPickupSensorType())
|
return boolSettingDefaultOn(Settings.Secure.DOZE_QUICK_PICKUP_GESTURE, user)
|
||||||
|
&& !TextUtils.isEmpty(quickPickupSensorType())
|
||||||
&& pickupGestureEnabled(user)
|
&& pickupGestureEnabled(user)
|
||||||
&& !alwaysOnEnabled(user);
|
&& !alwaysOnEnabled(user);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user