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:
Geoffrey Pitsch
2017-07-10 10:30:05 -04:00
parent 75bcd075f2
commit 57adc290d2
7 changed files with 56 additions and 6 deletions

View File

@@ -34,6 +34,10 @@ public class AmbientDisplayConfiguration {
return true;
}
public boolean pulseOnPickupCanBeModified(int user) {
return true;
}
public boolean pulseOnDoubleTapAvailable() {
return true;
}