Merge "Make quickPickup gesture depend on liftToWake" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b17c10f621
@@ -109,7 +109,9 @@ public class AmbientDisplayConfiguration {
|
||||
|
||||
/** {@hide} */
|
||||
public boolean quickPickupSensorEnabled(int user) {
|
||||
return !TextUtils.isEmpty(quickPickupSensorType()) && !alwaysOnEnabled(user);
|
||||
return !TextUtils.isEmpty(quickPickupSensorType())
|
||||
&& pickupGestureEnabled(user)
|
||||
&& !alwaysOnEnabled(user);
|
||||
}
|
||||
|
||||
/** {@hide} */
|
||||
|
||||
Reference in New Issue
Block a user