cl.java
1.66 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
import android.annotation.TargetApi;
import android.os.Bundle;
import android.os.IBinder;
import android.support.annotation.RequiresApi;
import android.util.Log;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
@TargetApi(9)
@RequiresApi(9)
public final class cl
{
public static Method a;
public static boolean b;
private static Method c;
private static boolean d;
public static IBinder a(Bundle paramBundle, String paramString)
{
if (!d) {}
try
{
Method localMethod = Bundle.class.getMethod("getIBinder", new Class[] { String.class });
c = localMethod;
localMethod.setAccessible(true);
d = true;
if (c == null) {}
}
catch (NoSuchMethodException localNoSuchMethodException)
{
for (;;)
{
try
{
paramBundle = (IBinder)c.invoke(paramBundle, new Object[] { paramString });
return paramBundle;
}
catch (IllegalAccessException paramBundle)
{
Log.i("BundleCompatGingerbread", "Failed to invoke getIBinder via reflection", paramBundle);
c = null;
return null;
}
catch (IllegalArgumentException paramBundle)
{
continue;
}
catch (InvocationTargetException paramBundle)
{
continue;
}
localNoSuchMethodException = localNoSuchMethodException;
Log.i("BundleCompatGingerbread", "Failed to retrieve getIBinder method", localNoSuchMethodException);
}
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/cl.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/