diff options
| author | 2010-10-19 19:01:55 -0700 | |
|---|---|---|
| committer | 2010-10-19 19:01:55 -0700 | |
| commit | 548f76f135f8636ce9cf56fe41f072fd49aa4e39 (patch) | |
| tree | d70c0cfdd1c9d5483e245266afa064ec344052e7 | |
| parent | 382f7a140ea25d892831de9d467952db0f68064f (diff) | |
Fix bug 3113015 - ProgressDialogs using wrong theme.
Change-Id: I161e7feeb2e1a712dff4372417c20913c1dba661
| -rw-r--r-- | core/java/android/app/ProgressDialog.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/java/android/app/ProgressDialog.java b/core/java/android/app/ProgressDialog.java index 07a5a22c0edc..4c5d28ee5e6c 100644 --- a/core/java/android/app/ProgressDialog.java +++ b/core/java/android/app/ProgressDialog.java @@ -74,10 +74,7 @@ public class ProgressDialog extends AlertDialog { private Handler mViewUpdateHandler; public ProgressDialog(Context context) { - this(context, - context.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.HONEYCOMB - ? com.android.internal.R.style.Theme_Holo_Dialog_Alert - : com.android.internal.R.style.Theme_Dialog_Alert); + super(context); } public ProgressDialog(Context context, int theme) { |