dw.java
4.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
import android.annotation.TargetApi;
import android.content.Context;
import android.net.Uri;
import android.provider.DocumentsContract;
import android.support.annotation.RequiresApi;
@TargetApi(21)
@RequiresApi(21)
final class dw
{
public static Uri a(Context paramContext, Uri paramUri, String paramString1, String paramString2)
{
return DocumentsContract.createDocument(paramContext.getContentResolver(), paramUri, paramString1, paramString2);
}
private static void a(AutoCloseable paramAutoCloseable)
{
if (paramAutoCloseable != null) {}
try
{
paramAutoCloseable.close();
return;
}
catch (RuntimeException paramAutoCloseable)
{
throw paramAutoCloseable;
}
catch (Exception paramAutoCloseable) {}
}
/* Error */
public static Uri[] a(Context paramContext, Uri paramUri)
{
// Byte code:
// 0: aload_0
// 1: invokevirtual 16 android/content/Context:getContentResolver ()Landroid/content/ContentResolver;
// 4: astore_0
// 5: aload_1
// 6: aload_1
// 7: invokestatic 39 android/provider/DocumentsContract:getDocumentId (Landroid/net/Uri;)Ljava/lang/String;
// 10: invokestatic 43 android/provider/DocumentsContract:buildChildDocumentsUriUsingTree (Landroid/net/Uri;Ljava/lang/String;)Landroid/net/Uri;
// 13: astore_2
// 14: new 45 java/util/ArrayList
// 17: dup
// 18: invokespecial 48 java/util/ArrayList:<init> ()V
// 21: astore_3
// 22: aload_0
// 23: aload_2
// 24: iconst_1
// 25: anewarray 50 java/lang/String
// 28: dup
// 29: iconst_0
// 30: ldc 52
// 32: aastore
// 33: aconst_null
// 34: aconst_null
// 35: aconst_null
// 36: invokevirtual 58 android/content/ContentResolver:query (Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
// 39: astore_2
// 40: aload_2
// 41: astore_0
// 42: aload_2
// 43: invokeinterface 64 1 0
// 48: ifeq +68 -> 116
// 51: aload_2
// 52: astore_0
// 53: aload_3
// 54: aload_1
// 55: aload_2
// 56: iconst_0
// 57: invokeinterface 68 2 0
// 62: invokestatic 71 android/provider/DocumentsContract:buildDocumentUriUsingTree (Landroid/net/Uri;Ljava/lang/String;)Landroid/net/Uri;
// 65: invokevirtual 75 java/util/ArrayList:add (Ljava/lang/Object;)Z
// 68: pop
// 69: goto -29 -> 40
// 72: astore_1
// 73: aload_2
// 74: astore_0
// 75: ldc 77
// 77: new 79 java/lang/StringBuilder
// 80: dup
// 81: ldc 81
// 83: invokespecial 84 java/lang/StringBuilder:<init> (Ljava/lang/String;)V
// 86: aload_1
// 87: invokevirtual 88 java/lang/StringBuilder:append (Ljava/lang/Object;)Ljava/lang/StringBuilder;
// 90: invokevirtual 92 java/lang/StringBuilder:toString ()Ljava/lang/String;
// 93: invokestatic 98 android/util/Log:w (Ljava/lang/String;Ljava/lang/String;)I
// 96: pop
// 97: aload_2
// 98: invokestatic 100 dw:a (Ljava/lang/AutoCloseable;)V
// 101: aload_3
// 102: aload_3
// 103: invokevirtual 104 java/util/ArrayList:size ()I
// 106: anewarray 106 android/net/Uri
// 109: invokevirtual 110 java/util/ArrayList:toArray ([Ljava/lang/Object;)[Ljava/lang/Object;
// 112: checkcast 112 [Landroid/net/Uri;
// 115: areturn
// 116: aload_2
// 117: invokestatic 100 dw:a (Ljava/lang/AutoCloseable;)V
// 120: goto -19 -> 101
// 123: astore_1
// 124: aconst_null
// 125: astore_0
// 126: aload_0
// 127: invokestatic 100 dw:a (Ljava/lang/AutoCloseable;)V
// 130: aload_1
// 131: athrow
// 132: astore_1
// 133: goto -7 -> 126
// 136: astore_1
// 137: aconst_null
// 138: astore_2
// 139: goto -66 -> 73
// Local variable table:
// start length slot name signature
// 0 142 0 paramContext Context
// 0 142 1 paramUri Uri
// 13 126 2 localObject Object
// 21 82 3 localArrayList java.util.ArrayList
// Exception table:
// from to target type
// 42 51 72 java/lang/Exception
// 53 69 72 java/lang/Exception
// 22 40 123 finally
// 42 51 132 finally
// 53 69 132 finally
// 75 97 132 finally
// 22 40 136 java/lang/Exception
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/dw.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/