Added alert icon to high temp dialog.
Test: manual
Bug: 30995038
Change-Id: I966294c5fb0b8297b2f336102996291f66c08d2c
(cherry picked from commit e26dc3d194)
This commit is contained in:
@@ -243,6 +243,7 @@ public class PowerNotificationWarnings implements PowerUI.WarningsUI {
|
|||||||
private void showTemperatureDialog() {
|
private void showTemperatureDialog() {
|
||||||
if (mHighTempDialog != null) return;
|
if (mHighTempDialog != null) return;
|
||||||
final SystemUIDialog d = new SystemUIDialog(mContext);
|
final SystemUIDialog d = new SystemUIDialog(mContext);
|
||||||
|
d.setIconAttribute(android.R.attr.alertDialogIcon);
|
||||||
d.setTitle(R.string.high_temp_title);
|
d.setTitle(R.string.high_temp_title);
|
||||||
d.setMessage(R.string.high_temp_dialog_message);
|
d.setMessage(R.string.high_temp_dialog_message);
|
||||||
d.setPositiveButton(com.android.internal.R.string.ok, null);
|
d.setPositiveButton(com.android.internal.R.string.ok, null);
|
||||||
|
|||||||
Reference in New Issue
Block a user