diff options
| author | 2019-01-22 15:28:39 -0800 | |
|---|---|---|
| committer | 2019-01-22 15:28:39 -0800 | |
| commit | 889ff4966b10c6c6c63f7d489a18ebbd5c8be3dc (patch) | |
| tree | 120bf245f2db322017b356b396427d1d231bc1ff | |
| parent | 5da014a5fb32044a070ad83e1e908b8260ad5480 (diff) | |
| parent | 56ed214f67263df75aa95388e611a6eb430c9d5d (diff) | |
Merge "UsbDebuggingActivity.java: OK -> Allow" am: f9718dbe17
am: 56ed214f67
Change-Id: Ieec3c59499c3a3770d92a52866aa324df1ce0473
| -rw-r--r-- | packages/SystemUI/res/values/strings.xml | 3 | ||||
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/usb/UsbDebuggingActivity.java | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml index d37083ac0caa..1ddce5c9c7e8 100644 --- a/packages/SystemUI/res/values/strings.xml +++ b/packages/SystemUI/res/values/strings.xml @@ -170,6 +170,9 @@ <!-- Option to always allow USB debugging from the attached computer --> <string name="usb_debugging_always">Always allow from this computer</string> + <!-- Button label for confirming acceptance of enabling USB debugging [CHAR LIMIT=15] --> + <string name="usb_debugging_allow">Allow</string> + <!-- Title of notification shown when trying to enable USB debugging but a secondary user is the current foreground user. --> <string name="usb_debugging_secondary_user_title">USB debugging not allowed</string> diff --git a/packages/SystemUI/src/com/android/systemui/usb/UsbDebuggingActivity.java b/packages/SystemUI/src/com/android/systemui/usb/UsbDebuggingActivity.java index 66d5ee1a276f..b0e1c56aec30 100644 --- a/packages/SystemUI/src/com/android/systemui/usb/UsbDebuggingActivity.java +++ b/packages/SystemUI/src/com/android/systemui/usb/UsbDebuggingActivity.java @@ -75,7 +75,7 @@ public class UsbDebuggingActivity extends AlertActivity final AlertController.AlertParams ap = mAlertParams; ap.mTitle = getString(R.string.usb_debugging_title); ap.mMessage = getString(R.string.usb_debugging_message, fingerprints); - ap.mPositiveButtonText = getString(android.R.string.ok); + ap.mPositiveButtonText = getString(R.string.usb_debugging_allow); ap.mNegativeButtonText = getString(android.R.string.cancel); ap.mPositiveButtonListener = this; ap.mNegativeButtonListener = this; |