commit | 23b602e709f1551acdb7cf2caaf5b7838b567d15 | [log] [tgz] |
---|---|---|
author | Björn Lundén <blunden2@gmail.com> | Thu May 31 23:51:07 2012 +0200 |
committer | Björn Lundén <blunden2@gmail.com> | Thu May 31 23:51:07 2012 +0200 |
tree | 62814edd4b4022046976afede216dd50e2b9f18a | |
parent | 5e73eda63d73a3e0f94d6ef633d7704e31b8e48e [diff] |
Gallery2: Use ICS alert drawable Same bug here. It's using the old compability drawable instead of the Holo theme one. Change-Id: Ia84ce1d305ee63fc6bc1fdb407a91b3421842eb1
diff --git a/src/com/android/gallery3d/app/AbstractGalleryActivity.java b/src/com/android/gallery3d/app/AbstractGalleryActivity.java index d25f60e..9500fff 100644 --- a/src/com/android/gallery3d/app/AbstractGalleryActivity.java +++ b/src/com/android/gallery3d/app/AbstractGalleryActivity.java
@@ -142,7 +142,7 @@ } }; mAlertDialog = new AlertDialog.Builder(this) - .setIcon(android.R.drawable.ic_dialog_alert) + .setIconAttribute(android.R.attr.alertDialogIcon) .setTitle("No Storage") .setMessage("No external storage available.") .setNegativeButton(android.R.string.cancel, onClick)