cc.java
1.51 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
import android.annotation.TargetApi;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.support.annotation.RequiresApi;
@TargetApi(18)
@RequiresApi(18)
public final class cc
{
private static final int[] a = { 16843531 };
public static Drawable a(Activity paramActivity)
{
Object localObject = paramActivity.getActionBar();
if (localObject != null) {
paramActivity = ((ActionBar)localObject).getThemedContext();
}
paramActivity = paramActivity.obtainStyledAttributes(null, a, 16843470, 0);
localObject = paramActivity.getDrawable(0);
paramActivity.recycle();
return (Drawable)localObject;
}
public static Object a(Object paramObject, Activity paramActivity, int paramInt)
{
paramActivity = paramActivity.getActionBar();
if (paramActivity != null) {
paramActivity.setHomeActionContentDescription(paramInt);
}
return paramObject;
}
public static Object a(Object paramObject, Activity paramActivity, Drawable paramDrawable, int paramInt)
{
paramActivity = paramActivity.getActionBar();
if (paramActivity != null)
{
paramActivity.setHomeAsUpIndicator(paramDrawable);
paramActivity.setHomeActionContentDescription(paramInt);
}
return paramObject;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/cc.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/