Disable "double tap to check" when "always on"
"Double tap to check" has no effect when AOD is enabled. Double tapping will take you to the lock screen anyway. Test: manual Test: make RunSettingsRoboTests ROBOTEST_FILTER=DoubleTapScreenPreferenceControllerTest Change-Id: Ia97b7ecb00a9d83b867959d83642d476841e2f13 Fixes: 73096311
This commit is contained in:
@@ -79,7 +79,7 @@ public class AmbientDisplaySettings extends DashboardFragment {
|
||||
protected List<AbstractPreferenceController> getPreferenceControllers(Context context) {
|
||||
return buildPreferenceControllers(context, getLifecycle(),
|
||||
new AmbientDisplayConfiguration(context), mMetricsFeatureProvider,
|
||||
() -> { updatePreferenceStates(); });
|
||||
this::updatePreferenceStates);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user