Disable lift-to-wake when always-on is checked
The setting has little to no meaning when AOD is on. Test: make ROBOTEST_FILTER=AmbientDisplayAlwaysOnPreferenceControllerTest RunSettingsRoboTests -j Bug:62391405 Change-Id:If5492227755ca81ec0bcf921a81e2bfd33a85b9c
This commit is contained in:
@@ -76,4 +76,9 @@ public class PickupGesturePreferenceController extends GesturePreferenceControll
|
||||
Settings.Secure.DOZE_PULSE_ON_PICK_UP, enabled ? 1 : 0);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canHandleClicks() {
|
||||
return mAmbientConfig.pulseOnPickupCanBeModified(mUserId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user