Permalink
Browse files

Merge "Don't show icon for power-off confirmation dialog."

  • Loading branch information...
Amith Yamasani Android (Google) Code Review
Amith Yamasani authored and Android (Google) Code Review committed Oct 10, 2011
2 parents 2b78c70 + 04b81c7 commit 2cba116c27f52fa7545d5131ff9e18294d87e81a
Showing with 0 additions and 1 deletion.
  1. +0 −1 core/java/com/android/internal/app/ShutdownThread.java
@@ -109,7 +109,6 @@ public static void shutdown(final Context context, boolean confirm) {
if (confirm) {
final CloseDialogReceiver closer = new CloseDialogReceiver(context);
final AlertDialog dialog = new AlertDialog.Builder(context)
- .setIconAttribute(android.R.attr.alertDialogIcon)
.setTitle(com.android.internal.R.string.power_off)
.setMessage(resourceId)
.setPositiveButton(com.android.internal.R.string.yes, new DialogInterface.OnClickListener() {

0 comments on commit 2cba116

Please sign in to comment.