Skip to content

Commit 04b81c7

Browse files
author
Amith Yamasani
committed
Don't show icon for power-off confirmation dialog.
Bug: 5380396 Change-Id: I57574b613d95885c829df729297b24be1c73b876
1 parent b6eb58e commit 04b81c7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/java/com/android/internal/app/ShutdownThread.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ public static void shutdown(final Context context, boolean confirm) {
109109
if (confirm) {
110110
final CloseDialogReceiver closer = new CloseDialogReceiver(context);
111111
final AlertDialog dialog = new AlertDialog.Builder(context)
112-
.setIconAttribute(android.R.attr.alertDialogIcon)
113112
.setTitle(com.android.internal.R.string.power_off)
114113
.setMessage(resourceId)
115114
.setPositiveButton(com.android.internal.R.string.yes, new DialogInterface.OnClickListener() {

0 commit comments

Comments
 (0)