Merge "Make quickPickup gesture depend on liftToWake" into sc-v2-dev

This commit is contained in:
TreeHugger Robot
2021-11-18 15:33:18 +00:00
committed by Android (Google) Code Review

View File

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