Skip to content

Commit

Permalink
Merge "Don't show icon for power-off confirmation dialog."
Browse files Browse the repository at this point in the history
  • Loading branch information
Amith Yamasani authored and Android (Google) Code Review committed Oct 10, 2011
2 parents 2b78c70 + 04b81c7 commit 2cba116
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/java/com/android/internal/app/ShutdownThread.java
Expand Up @@ -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() {
Expand Down

0 comments on commit 2cba116

Please sign in to comment.