Add highlight menu keys for all toggle pref controllers and custom slices
Bug: 204695404 Test: manual, robotest build pass, unit Change-Id: Iad2e28ada8ddb766ffa7eff2c8dc581250cbd6f8
This commit is contained in:
@@ -100,6 +100,11 @@ public class GameControllerPreferenceController extends TogglePreferenceControll
|
||||
Settings.System.VIBRATE_INPUT_DEVICES, isChecked ? 1 : 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getSliceHighlightMenuRes() {
|
||||
return R.string.menu_key_system;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onInputDeviceAdded(int deviceId) {
|
||||
updateState(mPreference);
|
||||
|
@@ -1,5 +1,6 @@
|
||||
# Bug component: 34867
|
||||
include platform/frameworks/base:/services/core/java/com/android/server/inputmethod/OWNERS
|
||||
include /OWNERS
|
||||
|
||||
# Settings for physical keyboard and game pad are better to be reviewed by the input team
|
||||
per-file GameControllerPreferenceController.java = file: platform/frameworks/base:/services/core/java/com/android/server/input/OWNERS
|
||||
|
Reference in New Issue
Block a user