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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16242790

Change-Id: Iea643f7fa9f9fff4d9a73fe40b56dc5d6f180ee4
This commit is contained in:
TreeHugger Robot
2021-11-18 19:51:39 +00:00
committed by Automerger Merge Worker

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