Fix bug 3113015 - ProgressDialogs using wrong theme.
Change-Id: I161e7feeb2e1a712dff4372417c20913c1dba661
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user