summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorblunden <blunden2@gmail.com>2012-05-30 22:16:31 +0200
committerblunden <blunden2@gmail.com>2012-05-30 22:16:31 +0200
commit9e581f130b6b278d4bba3b1882a91215e1f65038 (patch)
tree550f9d8974184dee40817e77fa43194879942bc6 /packages
parent524c0d41f151595f581ca47c0a61b5cd8f74e8a1 (diff)
downloadframeworks_base-9e581f130b6b278d4bba3b1882a91215e1f65038.zip
frameworks_base-9e581f130b6b278d4bba3b1882a91215e1f65038.tar.gz
frameworks_base-9e581f130b6b278d4bba3b1882a91215e1f65038.tar.bz2
Framework: Use ICS alert drawable
Merging the reboot menu code caused a removal of the bugfix in this commit: http://bit.ly/MYAIxj ICS updated the way one should point to the alert drawable. The old way makes it point to an upscaled GB drawable instead. NOTE: Google actually removed the icon for the shutdown menu in the commit below but I think it looks nice. Change-Id: If37c68507886607f9be7f733c0586f814f0ed682 http://bit.ly/LJvp3h
Diffstat (limited to 'packages')
-rw-r--r--packages/VpnDialogs/src/com/android/vpndialogs/ConfirmDialog.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/VpnDialogs/src/com/android/vpndialogs/ConfirmDialog.java b/packages/VpnDialogs/src/com/android/vpndialogs/ConfirmDialog.java
index c7b4a5f..9bb5aba 100644
--- a/packages/VpnDialogs/src/com/android/vpndialogs/ConfirmDialog.java
+++ b/packages/VpnDialogs/src/com/android/vpndialogs/ConfirmDialog.java
@@ -68,7 +68,7 @@ public class ConfirmDialog extends Activity implements CompoundButton.OnCheckedC
((CompoundButton) view.findViewById(R.id.check)).setOnCheckedChangeListener(this);
mDialog = new AlertDialog.Builder(this)
- .setIcon(android.R.drawable.ic_dialog_alert)
+ .setIconAttribute(android.R.attr.alertDialogIcon)
.setTitle(android.R.string.dialog_alert_title)
.setView(view)
.setPositiveButton(android.R.string.ok, this)