| | | |
Offset 9, 66 lines modified | Offset 9, 66 lines modified |
9 | .field·private·static·sTempValue:Landroid/util/TypedValue; | 9 | .field·private·static·sTempValue:Landroid/util/TypedValue; |
| |
| |
10 | #·direct·methods | 10 | #·direct·methods |
11 | .method·static·constructor·<clinit>()V | 11 | .method·static·constructor·<clinit>()V |
12 | ····.locals·1 | 12 | ····.locals·1 |
| |
13 | ····.line·153 | 13 | ····.line·154 |
14 | ····new-instance·v0,·Ljava/lang/Object; | 14 | ····new-instance·v0,·Ljava/lang/Object; |
| |
15 | ····invoke-direct·{v0},·Ljava/lang/Object;-><init>()V | 15 | ····invoke-direct·{v0},·Ljava/lang/Object;-><init>()V |
| |
16 | ····sput-object·v0,·Landroidx/core/content/ContextCompat;->sLock:Ljava/lang/Object; | 16 | ····sput-object·v0,·Landroidx/core/content/ContextCompat;->sLock:Ljava/lang/Object; |
| |
17 | ····return-void | 17 | ····return-void |
18 | .end·method | 18 | .end·method |
| |
19 | .method·public·static·checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I | 19 | .method·public·static·checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I |
20 | ····.locals·2 | 20 | ····.locals·2 |
| |
21 | ····if-eqz·p1,·:cond_0 | 21 | ····if-eqz·p1,·:cond_0 |
| |
22 | ····.line·538 | 22 | ····.line·533 |
23 | ····invoke-static·{},·Landroid/os/Process;->myPid()I | 23 | ····invoke-static·{},·Landroid/os/Process;->myPid()I |
| |
24 | ····move-result·v0 | 24 | ····move-result·v0 |
| |
25 | ····invoke-static·{},·Landroid/os/Process;->myUid()I | 25 | ····invoke-static·{},·Landroid/os/Process;->myUid()I |
| |
26 | ····move-result·v1 | 26 | ····move-result·v1 |
| |
27 | ····invoke-virtual·{p0,·p1,·v0,·v1},·Landroid/content/Context;->checkPermission(Ljava/lang/String;II)I | 27 | ····invoke-virtual·{p0,·p1,·v0,·v1},·Landroid/content/Context;->checkPermission(Ljava/lang/String;II)I |
| |
28 | ····move-result·p0 | 28 | ····move-result·p0 |
| |
29 | ····return·p0 | 29 | ····return·p0 |
| |
30 | ····.line·535 | 30 | ····.line·530 |
31 | ····:cond_0 | 31 | ····:cond_0 |
32 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; | 32 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; |
| |
33 | ····const-string·p1,·"permission·is·null" | 33 | ····const-string·p1,·"permission·is·null" |
| |
34 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | 34 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
| |
35 | ····throw·p0 | 35 | ····throw·p0 |
36 | .end·method | 36 | .end·method |
| |
37 | .method·public·static·createDeviceProtectedStorageContext(Landroid/content/Context;)Landroid/content/Context; | 37 | .method·public·static·createDeviceProtectedStorageContext(Landroid/content/Context;)Landroid/content/Context; |
38 | ····.locals·2 | 38 | ····.locals·2 |
| |
39 | ····.line·636 | 39 | ····.line·631 |
40 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I | 40 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I |
| |
41 | ····const/16·v1,·0x18 | 41 | ····const/16·v1,·0x18 |
| |
42 | ····if-lt·v0,·v1,·:cond_0 | 42 | ····if-lt·v0,·v1,·:cond_0 |
| |
43 | ····.line·637 | 43 | ····.line·632 |
44 | ····invoke-virtual·{p0},·Landroid/content/Context;->createDeviceProtectedStorageContext()Landroid/content/Context; | 44 | ····invoke-virtual·{p0},·Landroid/content/Context;->createDeviceProtectedStorageContext()Landroid/content/Context; |
| |
45 | ····move-result-object·p0 | 45 | ····move-result-object·p0 |
| |
46 | ····return-object·p0 | 46 | ····return-object·p0 |
| |
47 | ····:cond_0 | 47 | ····:cond_0 |
Offset 76, 208 lines modified | Offset 76, 197 lines modified |
| |
76 | ····return-object·p0 | 76 | ····return-object·p0 |
77 | .end·method | 77 | .end·method |
| |
78 | .method·public·static·getColor(Landroid/content/Context;I)I | 78 | .method·public·static·getColor(Landroid/content/Context;I)I |
79 | ····.locals·2 | 79 | ····.locals·2 |
| |
80 | ····.line·516 | 80 | ····.line·511 |
81 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I | 81 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I |
| |
82 | ····const/16·v1,·0x17 | 82 | ····const/16·v1,·0x17 |
| |
83 | ····if-lt·v0,·v1,·:cond_0 | 83 | ····if-lt·v0,·v1,·:cond_0 |
| |
84 | ····.line·517 | 84 | ····.line·512 |
85 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->getColor(I)I | 85 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->getColor(I)I |
| |
86 | ····move-result·p0 | 86 | ····move-result·p0 |
| |
87 | ····return·p0 | 87 | ····return·p0 |
| |
88 | ····.line·519 | 88 | ····.line·514 |
89 | ····:cond_0 | 89 | ····:cond_0 |
90 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 90 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
91 | ····move-result-object·p0 | 91 | ····move-result-object·p0 |
| |
92 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getColor(I)I | 92 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getColor(I)I |
| |
93 | ····move-result·p0 | 93 | ····move-result·p0 |
| |
94 | ····return·p0 | 94 | ····return·p0 |
95 | .end·method | 95 | .end·method |
| |
96 | .method·public·static·getColorStateList(Landroid/content/Context;I)Landroid/content/res/ColorStateList; | 96 | .method·public·static·getColorStateList(Landroid/content/Context;I)Landroid/content/res/ColorStateList; |
97 | ····.locals·2 | 97 | ····.locals·1 |
| |
98 | ····.line·493 | |
99 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I | |
| |
100 | ····const/16·v1,·0x17 | |
| |
101 | ····if-lt·v0,·v1,·:cond_0 | |
| |
102 | ····.line·494 | |
103 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->getColorStateList(I)Landroid/content/res/ColorStateList; | |
| |
104 | ····move-result-object·p0 | 98 | ····.line·492 |
| 99 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
105 | ····return-object·p0 | 100 | ····move-result-object·v0 |
| |
106 | ····.line·496 | 101 | ····invoke-virtual·{p0},·Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme; |
107 | ····:cond_0 | |
108 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | |
| |
109 | ····move-result-object·p0 | 102 | ····move-result-object·p0 |
| |
110 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getColorStateList(I)Landroid/content/res/ColorStateList; | 103 | ····invoke-static·{v0,·p1,·p0},·Landroidx/core/content/res/ResourcesCompat;->getColorStateList(Landroid/content/res/Resources;ILandroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList; |
| |
111 | ····move-result-object·p0 | 104 | ····move-result-object·p0 |
| |
112 | ····return-object·p0 | 105 | ····return-object·p0 |
113 | .end·method | 106 | .end·method |
| |
114 | .method·public·static·getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable; | 107 | .method·public·static·getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable; |
115 | ····.locals·4 | 108 | ····.locals·4 |
| |
116 | ····.line·454 | 109 | ····.line·455 |
117 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I | 110 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I |
| |
118 | ····const/16·v1,·0x15 | 111 | ····const/16·v1,·0x15 |
| |
119 | ····if-lt·v0,·v1,·:cond_0 | 112 | ····if-lt·v0,·v1,·:cond_0 |
| |
120 | ····.line·455 | 113 | ····.line·456 |
121 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable; | 114 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable; |
| |
122 | ····move-result-object·p0 | 115 | ····move-result-object·p0 |
| |
123 | ····return-object·p0 | 116 | ····return-object·p0 |
| |
124 | ····:cond_0 | 117 | ····:cond_0 |
125 | ····const/16·v1,·0x10 | 118 | ····const/16·v1,·0x10 |
| |
126 | ····if-lt·v0,·v1,·:cond_1 | 119 | ····if-lt·v0,·v1,·:cond_1 |
| |
127 | ····.line·457 | 120 | ····.line·458 |
128 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 121 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
129 | ····move-result-object·p0 | 122 | ····move-result-object·p0 |
| |
130 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable; | 123 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable; |
| |
131 | ····move-result-object·p0 | 124 | ····move-result-object·p0 |
| |
132 | ····return-object·p0 | 125 | ····return-object·p0 |
| |
133 | ····.line·464 | 126 | ····.line·465 |
134 | ····:cond_1 | 127 | ····:cond_1 |
135 | ····sget-object·v0,·Landroidx/core/content/ContextCompat;->sLock:Ljava/lang/Object; | 128 | ····sget-object·v0,·Landroidx/core/content/ContextCompat;->sLock:Ljava/lang/Object; |
| |
136 | ····monitor-enter·v0 | 129 | ····monitor-enter·v0 |
| |
137 | ····.line·465 | 130 | ····.line·466 |
138 | ····:try_start_0 | 131 | ····:try_start_0 |
139 | ····sget-object·v1,·Landroidx/core/content/ContextCompat;->sTempValue:Landroid/util/TypedValue; | 132 | ····sget-object·v1,·Landroidx/core/content/ContextCompat;->sTempValue:Landroid/util/TypedValue; |
| |
140 | ····if-nez·v1,·:cond_2 | 133 | ····if-nez·v1,·:cond_2 |
| |
141 | ····.line·466 | 134 | ····.line·467 |
142 | ····new-instance·v1,·Landroid/util/TypedValue; | 135 | ····new-instance·v1,·Landroid/util/TypedValue; |
| |
143 | ····invoke-direct·{v1},·Landroid/util/TypedValue;-><init>()V | 136 | ····invoke-direct·{v1},·Landroid/util/TypedValue;-><init>()V |
| |
144 | ····sput-object·v1,·Landroidx/core/content/ContextCompat;->sTempValue:Landroid/util/TypedValue; | 137 | ····sput-object·v1,·Landroidx/core/content/ContextCompat;->sTempValue:Landroid/util/TypedValue; |
| |
145 | ····.line·468 | 138 | ····.line·469 |
146 | ····:cond_2 | 139 | ····:cond_2 |
147 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 140 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
148 | ····move-result-object·v1 | 141 | ····move-result-object·v1 |
| |
149 | ····sget-object·v2,·Landroidx/core/content/ContextCompat;->sTempValue:Landroid/util/TypedValue; | 142 | ····sget-object·v2,·Landroidx/core/content/ContextCompat;->sTempValue:Landroid/util/TypedValue; |
| |
150 | ····const/4·v3,·0x1 | 143 | ····const/4·v3,·0x1 |
| |
151 | ····invoke-virtual·{v1,·p1,·v2,·v3},·Landroid/content/res/Resources;->getValue(ILandroid/util/TypedValue;Z)V | 144 | ····invoke-virtual·{v1,·p1,·v2,·v3},·Landroid/content/res/Resources;->getValue(ILandroid/util/TypedValue;Z)V |
| |
152 | ····.line·469 | 145 | ····.line·470 |
153 | ····sget-object·p1,·Landroidx/core/content/ContextCompat;->sTempValue:Landroid/util/TypedValue; | 146 | ····sget-object·p1,·Landroidx/core/content/ContextCompat;->sTempValue:Landroid/util/TypedValue; |
| |
154 | ····iget·p1,·p1,·Landroid/util/TypedValue;->resourceId:I | 147 | ····iget·p1,·p1,·Landroid/util/TypedValue;->resourceId:I |
| |
155 | ····.line·470 | 148 | ····.line·471 |
156 | ····monitor-exit·v0 | 149 | ····monitor-exit·v0 |
157 | ····:try_end_0 | 150 | ····:try_end_0 |
158 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 151 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
| |
159 | ····.line·471 | 152 | ····.line·472 |
160 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 153 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
161 | ····move-result-object·p0 | 154 | ····move-result-object·p0 |
| |
162 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable; | 155 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable; |
| |
163 | ····move-result-object·p0 | 156 | ····move-result-object·p0 |
| |
164 | ····return-object·p0 | 157 | ····return-object·p0 |
| |
165 | ····:catchall_0 | 158 | ····:catchall_0 |
166 | ····move-exception·p0 | 159 | ····move-exception·p0 |
| |
167 | ····.line·470 | 160 | ····.line·471 |
168 | ····:try_start_1 | 161 | ····:try_start_1 |
169 | ····monitor-exit·v0 | 162 | ····monitor-exit·v0 |
170 | ····:try_end_1 | 163 | ····:try_end_1 |
171 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 164 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
| |
172 | ····throw·p0 | 165 | ····throw·p0 |
173 | .end·method | 166 | .end·method |
| |
174 | .method·public·static·startActivities(Landroid/content/Context;[Landroid/content/Intent;Landroid/os/Bundle;)Z | 167 | .method·public·static·startActivities(Landroid/content/Context;[Landroid/content/Intent;Landroid/os/Bundle;)Z |
175 | ····.locals·2 | 168 | ····.locals·2 |
| |
176 | ····.line·223 | 169 | ····.line·224 |
177 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I | 170 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I |
| |
178 | ····const/16·v1,·0x10 | 171 | ····const/16·v1,·0x10 |
| |
179 | ····if-lt·v0,·v1,·:cond_0 | 172 | ····if-lt·v0,·v1,·:cond_0 |
| |
180 | ····.line·224 | 173 | ····.line·225 |
181 | ····invoke-virtual·{p0,·p1,·p2},·Landroid/content/Context;->startActivities([Landroid/content/Intent;Landroid/os/Bundle;)V | 174 | ····invoke-virtual·{p0,·p1,·p2},·Landroid/content/Context;->startActivities([Landroid/content/Intent;Landroid/os/Bundle;)V |
| |
182 | ····goto·:goto_0 | 175 | ····goto·:goto_0 |
| |
183 | ····.line·226 | 176 | ····.line·227 |
184 | ····:cond_0 | 177 | ····:cond_0 |
185 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->startActivities([Landroid/content/Intent;)V | 178 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->startActivities([Landroid/content/Intent;)V |
| |
186 | ····:goto_0 | 179 | ····:goto_0 |
187 | ····const/4·p0,·0x1 | 180 | ····const/4·p0,·0x1 |
| |
188 | ····return·p0 | 181 | ····return·p0 |
189 | .end·method | 182 | .end·method |
| |
190 | .method·public·static·startActivity(Landroid/content/Context;Landroid/content/Intent;Landroid/os/Bundle;)V | 183 | .method·public·static·startActivity(Landroid/content/Context;Landroid/content/Intent;Landroid/os/Bundle;)V |
191 | ····.locals·2 | 184 | ····.locals·2 |
| |
192 | ····.line·250 | 185 | ····.line·251 |
193 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I | 186 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I |
| |
194 | ····const/16·v1,·0x10 | 187 | ····const/16·v1,·0x10 |
| |
195 | ····if-lt·v0,·v1,·:cond_0 | 188 | ····if-lt·v0,·v1,·:cond_0 |
| |
196 | ····.line·251 | 189 | ····.line·252 |
197 | ····invoke-virtual·{p0,·p1,·p2},·Landroid/content/Context;->startActivity(Landroid/content/Intent;Landroid/os/Bundle;)V | 190 | ····invoke-virtual·{p0,·p1,·p2},·Landroid/content/Context;->startActivity(Landroid/content/Intent;Landroid/os/Bundle;)V |
| |
198 | ····goto·:goto_0 | 191 | ····goto·:goto_0 |
| |
199 | ····.line·253 | 192 | ····.line·254 |
200 | ····:cond_0 | 193 | ····:cond_0 |
201 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->startActivity(Landroid/content/Intent;)V | 194 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->startActivity(Landroid/content/Intent;)V |
| |
202 | ····:goto_0 | 195 | ····:goto_0 |
203 | ····return-void | 196 | ····return-void |
204 | .end·method | 197 | .end·method |