AppCompatDialogFragment.java
1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package android.support.v7.app;
import android.app.Dialog;
import android.os.Bundle;
import android.support.annotation.RestrictTo;
import android.support.v4.app.DialogFragment;
import android.view.Window;
public class AppCompatDialogFragment
extends DialogFragment
{
public Dialog onCreateDialog(Bundle paramBundle)
{
return new AppCompatDialog(getContext(), getTheme());
}
@RestrictTo({android.support.annotation.RestrictTo.Scope.LIBRARY_GROUP})
public void setupDialog(Dialog paramDialog, int paramInt)
{
if ((paramDialog instanceof AppCompatDialog))
{
AppCompatDialog localAppCompatDialog = (AppCompatDialog)paramDialog;
switch (paramInt)
{
default:
return;
case 3:
paramDialog.getWindow().addFlags(24);
}
localAppCompatDialog.supportRequestWindowFeature(1);
return;
}
super.setupDialog(paramDialog, paramInt);
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v7/app/AppCompatDialogFragment.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/