diff --git a/res/values/strings.xml b/res/values/strings.xml index 4978d575d1f..549a80953cc 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -6059,19 +6059,18 @@ - No notification listeners are installed. + No installed apps have requested notification access. - Enable + Allow notification access for %1$s? - %1$s will be able to - read all notifications posted by the system or any installed app, which may include personal - information such as contact names and the text of messages sent to you. It will also be able - to dismiss these notifications or touch action buttons within them. + %1$s will be able to read all notifications, + including personal information such as contact names and the text of messages you receive. + It will also be able to dismiss notifications or trigger action buttons they contain. diff --git a/src/com/android/settings/notification/ManagedServiceSettings.java b/src/com/android/settings/notification/ManagedServiceSettings.java index 660ea5a1f34..e9ff428aa57 100644 --- a/src/com/android/settings/notification/ManagedServiceSettings.java +++ b/src/com/android/settings/notification/ManagedServiceSettings.java @@ -160,13 +160,13 @@ public abstract class ManagedServiceSettings extends SettingsPreferenceFragment .setMessage(summary) .setTitle(title) .setCancelable(true) - .setPositiveButton(android.R.string.ok, + .setPositiveButton(R.string.allow, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int id) { mServiceListing.setEnabled(cn, true); } }) - .setNegativeButton(android.R.string.cancel, + .setNegativeButton(R.string.deny, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int id) { // pass