Update string for battery optimization dialog

Change-Id: Iea95bec173ac6cdabc10c32ae51604f190f6f42f
Fix: 36569198
Test: builds
This commit is contained in:
Fan Zhang
2017-03-23 15:48:15 -07:00
parent b3f13f9f32
commit be59441258
2 changed files with 6 additions and 7 deletions

View File

@@ -91,8 +91,8 @@ public class RequestIgnoreBatteryOptimizations extends AlertActivity implements
final AlertController.AlertParams p = mAlertParams;
p.mTitle = getText(R.string.high_power_prompt_title);
p.mMessage = getString(R.string.high_power_prompt_body, ai.loadLabel(getPackageManager()));
p.mPositiveButtonText = getText(R.string.yes);
p.mNegativeButtonText = getText(R.string.no);
p.mPositiveButtonText = getText(R.string.allow);
p.mNegativeButtonText = getText(R.string.deny);
p.mPositiveButtonListener = this;
p.mNegativeButtonListener = this;
setupAlert();