summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Lundén <blunden2@gmail.com>2012-05-31 23:51:07 +0200
committerblunden <blunden2@gmail.com>2012-08-14 01:52:23 +0200
commit5a45bb0e2f79df7648e10386fd7f5c873c001cff (patch)
tree6c74673b1708ec8cdc457738571dbefd3cd9fda0
parent4b12d07000aaa04f27e98bab9aa1e4ab414b8e21 (diff)
downloadandroid_packages_apps_Gallery2-5a45bb0e2f79df7648e10386fd7f5c873c001cff.tar.gz
android_packages_apps_Gallery2-5a45bb0e2f79df7648e10386fd7f5c873c001cff.tar.bz2
android_packages_apps_Gallery2-5a45bb0e2f79df7648e10386fd7f5c873c001cff.zip
Gallery2: Use ICS alert drawable
Same bug here. It's using the old compability drawable instead of the Holo theme one. Change-Id: Ia84ce1d305ee63fc6bc1fdb407a91b3421842eb1
-rw-r--r--src/com/android/gallery3d/app/AbstractGalleryActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/app/AbstractGalleryActivity.java b/src/com/android/gallery3d/app/AbstractGalleryActivity.java
index f674c0bee..144485df8 100644
--- a/src/com/android/gallery3d/app/AbstractGalleryActivity.java
+++ b/src/com/android/gallery3d/app/AbstractGalleryActivity.java
@@ -142,7 +142,7 @@ public class AbstractGalleryActivity extends Activity implements GalleryActivity
}
};
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)