diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-01-18 15:37:02 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2011-01-18 15:37:02 +0800 |
commit | db0757dc9c627e7c5206104664028e386ade7d03 (patch) | |
tree | 3426eb2b1cd0bdee1a2772e22819a2909ff66690 /src/com/android/camera/Util.java | |
parent | 812e96ab7d1a7ddabcb899afbdf3e52d63beed2e (diff) | |
download | LegacyCamera-db0757dc9c627e7c5206104664028e386ade7d03.zip LegacyCamera-db0757dc9c627e7c5206104664028e386ade7d03.tar.gz LegacyCamera-db0757dc9c627e7c5206104664028e386ade7d03.tar.bz2 |
Change AlertDialog.setIcon to setIconAttribute.
Use setIconAttribute to tell the framework you want the icon that works
with the theme you have set on your alert dialog.
Change-Id: Ie6e39f5c311f419c18d833323696363fa494aae9
Diffstat (limited to 'src/com/android/camera/Util.java')
-rw-r--r-- | src/com/android/camera/Util.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/Util.java b/src/com/android/camera/Util.java index 77293e3..3db0ec9 100644 --- a/src/com/android/camera/Util.java +++ b/src/com/android/camera/Util.java @@ -208,7 +208,7 @@ public class Util { }; new AlertDialog.Builder(activity) .setCancelable(false) - .setIcon(android.R.drawable.ic_dialog_alert) + .setIconAttribute(android.R.attr.alertDialogIcon) .setTitle(title) .setMessage(message) .setNeutralButton(R.string.details_ok, buttonListener) |