Added alert icon to high temp dialog.

am: bd4eeb7259

Change-Id: I8f6d4a0c9ba5c15478010714995243c305982707
This commit is contained in:
Andrew Sapperstein
2017-01-05 03:07:47 +00:00
committed by android-build-merger

View File

@@ -243,6 +243,7 @@ public class PowerNotificationWarnings implements PowerUI.WarningsUI {
private void showTemperatureDialog() {
if (mHighTempDialog != null) return;
final SystemUIDialog d = new SystemUIDialog(mContext);
d.setIconAttribute(android.R.attr.alertDialogIcon);
d.setTitle(R.string.high_temp_title);
d.setMessage(R.string.high_temp_dialog_message);
d.setPositiveButton(com.android.internal.R.string.ok, null);