Fix bug 3113015 - ProgressDialogs using wrong theme.

Change-Id: I161e7feeb2e1a712dff4372417c20913c1dba661
This commit is contained in:
Adam Powell
2010-10-19 19:01:55 -07:00
parent 382f7a140e
commit 548f76f135

View File

@@ -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) {