Accessibility shortcut secondary action - Invisible type fragment need to handle AccessibilityServiceState
- InvisibleToggleAccessibilityServicePreferenceFragment need to set AccessibilityServiceState according to ShortcutPreference checkbox's stauts. Bug: 142530063 Test: manual Change-Id: I9ff21b66ebf72a51e62a958e3e391624c7925c27
This commit is contained in:
@@ -558,7 +558,7 @@ public class ToggleAccessibilityServicePreferenceFragment extends
|
||||
mDialog.dismiss();
|
||||
}
|
||||
|
||||
private void onDialogButtonFromShortcutClicked(View view) {
|
||||
void onDialogButtonFromShortcutClicked(View view) {
|
||||
if (view.getId() == R.id.permission_enable_allow_button) {
|
||||
onAllowButtonFromShortcutClicked();
|
||||
} else if (view.getId() == R.id.permission_enable_deny_button) {
|
||||
|
Reference in New Issue
Block a user