diff options
Diffstat (limited to 'src/com/android/settings/accessibility')
-rw-r--r-- | src/com/android/settings/accessibility/ToggleAccessibilityServicePreferenceFragment.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/accessibility/ToggleAccessibilityServicePreferenceFragment.java b/src/com/android/settings/accessibility/ToggleAccessibilityServicePreferenceFragment.java index f097fd681..db473f8a8 100644 --- a/src/com/android/settings/accessibility/ToggleAccessibilityServicePreferenceFragment.java +++ b/src/com/android/settings/accessibility/ToggleAccessibilityServicePreferenceFragment.java @@ -168,8 +168,8 @@ public class ToggleAccessibilityServicePreferenceFragment .setPositiveButton(android.R.string.ok, this) .setNegativeButton(android.R.string.cancel, this) .create(); - ad.getButton(AlertDialog.BUTTON_POSITIVE) - .setFilterTouchesWhenObscured(true); + ad.create(); + ad.getButton(AlertDialog.BUTTON_POSITIVE).setFilterTouchesWhenObscured(true); return ad; } case DIALOG_ID_DISABLE_WARNING: { |