fh.java
1.61 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import android.annotation.TargetApi;
import android.app.UiModeManager;
import android.content.Context;
import android.support.annotation.RequiresApi;
import android.support.v7.app.AppCompatCallback;
import android.view.ActionMode;
import android.view.ActionMode.Callback;
import android.view.Window;
import android.view.Window.Callback;
@TargetApi(23)
@RequiresApi(23)
public class fh
extends fg
{
private final UiModeManager v;
public fh(Context paramContext, Window paramWindow, AppCompatCallback paramAppCompatCallback)
{
super(paramContext, paramWindow, paramAppCompatCallback);
this.v = ((UiModeManager)paramContext.getSystemService("uimode"));
}
Window.Callback a(Window.Callback paramCallback)
{
return new fh.a(paramCallback);
}
final int c(int paramInt)
{
if ((paramInt == 0) && (this.v.getNightMode() == 0)) {
return -1;
}
return super.c(paramInt);
}
class a
extends fg.a
{
a(Window.Callback paramCallback)
{
super(paramCallback);
}
public ActionMode onWindowStartingActionMode(ActionMode.Callback paramCallback)
{
return null;
}
public ActionMode onWindowStartingActionMode(ActionMode.Callback paramCallback, int paramInt)
{
if (fh.this.isHandleNativeActionModesEnabled()) {}
switch (paramInt)
{
default:
return super.onWindowStartingActionMode(paramCallback, paramInt);
}
return a(paramCallback);
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/fh.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/