Remove Gesture settings as inline results
Given that inline results do not have intents associated, the inline results must be self-explanatory. The gesture settings ofter requier the video/animation to be understood. Thus they should not be inline. Test: RunSettingsRoboTests Bug: Change-Id: Iae25365b376ec510f8330bc0a0bf72883cf9a6d4
This commit is contained in:
@@ -70,14 +70,4 @@ public class PickupGesturePreferenceController extends GesturePreferenceControll
|
||||
Settings.Secure.DOZE_PULSE_ON_PICK_UP, enabled ? 1 : 0);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ResultPayload getResultPayload() {
|
||||
ArrayMap<Integer, Boolean> valueMap = new ArrayMap<>();
|
||||
valueMap.put(1, true);
|
||||
valueMap.put(0, false);
|
||||
|
||||
return new InlineSwitchPayload(Settings.Secure.DOZE_PULSE_ON_PICK_UP,
|
||||
ResultPayload.SettingsSource.SECURE, valueMap);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user