external/koush/Superuser
Revisión | 35fee203412c240759750fdc5a42f627d5151802 (tree) |
---|---|
Tiempo | 2014-09-02 19:32:05 |
Autor | Michael Bestas <mikeioannina@gmai...> |
Commiter | Michael Bestas |
SU: Use different strings for notification summary & popup list
Change-Id: I46017bd0dec40b57c27e951a863662d1a6afb72e
@@ -45,7 +45,12 @@ | ||
45 | 45 | <string name="request_timeout_summary">Superuser requests will time out and be denied after %s seconds</string> |
46 | 46 | <string name="notifications">Notifications</string> |
47 | 47 | <string name="none">None</string> |
48 | + <string name="toast">Toast</string> | |
49 | + <string name="notification">Notification</string> | |
50 | + <string name="toast_summary">toast</string> | |
51 | + <string name="notification_summary">notification</string> | |
48 | 52 | <string name="notifications_summary">A %s will be shown when an app is granted or denied Superuser permissions</string> |
53 | + <string name="no_notification">No notification will be shown</string> | |
49 | 54 | <string name="enter_pin">Enter PIN</string> |
50 | 55 | <string name="enter_new_pin">Enter New PIN</string> |
51 | 56 | <string name="incorrect_pin">Incorrect PIN</string> |
@@ -55,9 +60,6 @@ | ||
55 | 60 | <string name="number_seconds">%s seconds</string> |
56 | 61 | <string name="superuser_granted">Superuser granted to %s</string> |
57 | 62 | <string name="superuser_denied">Superuser denied to %s</string> |
58 | - <string name="toast">Toast</string> | |
59 | - <string name="notification">Notification</string> | |
60 | - <string name="no_notification">No notification will be shown</string> | |
61 | 63 | <string name="developer_warning">Developer Warning:\nandroid.permission.ACCESS_SUPERUSER\nnot declared in manifest.</string> |
62 | 64 | <string name="superuser_description">full permissions to all device features and storage</string> |
63 | 65 | <string name="superuser_description_more">Superuser grants full access to all device features and storage, including the secure and sensitive hardware elements of your device. This permission is potentially dangerous.</string> |
@@ -351,10 +351,12 @@ public class SettingsFragmentInternal extends BetterListFragmentInternal { | ||
351 | 351 | setSummary(getString(R.string.no_notification)); |
352 | 352 | break; |
353 | 353 | case Settings.NOTIFICATION_TYPE_NOTIFICATION: |
354 | - setSummary(getString(R.string.notifications_summary, getString(R.string.notification))); | |
354 | + setSummary(getString(R.string.notifications_summary, | |
355 | + getString(R.string.notification_summary))); | |
355 | 356 | break; |
356 | 357 | case Settings.NOTIFICATION_TYPE_TOAST: |
357 | - setSummary(getString(R.string.notifications_summary, getString(R.string.toast))); | |
358 | + setSummary(getString(R.string.notifications_summary, | |
359 | + getString(R.string.toast_summary))); | |
358 | 360 | break; |
359 | 361 | } |
360 | 362 | } |