Merge "UsbDebuggingActivity.java: OK -> Allow"

am: f9718dbe17

Change-Id: I597e50b031334ff67641f9252d8081fbfca7f4b4
This commit is contained in:
Nick Kralevich
2019-01-22 15:19:11 -08:00
committed by android-build-merger
2 changed files with 4 additions and 1 deletions

View File

@@ -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>

View File

@@ -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;