Skip to content

Commit 2cba116

Browse files
Amith YamasaniAndroid (Google) Code Review
authored andcommitted
Merge "Don't show icon for power-off confirmation dialog."
2 parents 2b78c70 + 04b81c7 commit 2cba116

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)