Added alert icon to high temp dialog.

Test: manual
Bug: 30995038
Change-Id: I966294c5fb0b8297b2f336102996291f66c08d2c
(cherry picked from commit e26dc3d194)
This commit is contained in:
Andrew Sapperstein
2017-01-04 11:25:20 -08:00
parent d51ac7322e
commit bd4eeb7259

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