summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andrew Sapperstein <asapperstein@google.com> 2017-01-04 21:08:34 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2017-01-04 21:08:38 +0000
commit388ef5df4467d9e602cdcee00776963fc728e965 (patch)
tree2a6618cf81bc236d5f9292c546bee2fc7a198c00
parent243d13bd5c9cb36eb87847fa9722e654cb96883e (diff)
parente26dc3d194f87ab3fbfdd5a843109b2f4b248383 (diff)
Merge "Added alert icon to high temp dialog."
-rw-r--r--packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java b/packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java
index 7a45dd299151..848fe9d5a9df 100644
--- a/packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java
+++ b/packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java
@@ -245,6 +245,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);