Offset 9, 66 lines modifiedOffset 9, 66 lines modified
9 .field·private·static·sTempValue:Landroid/util/TypedValue;9 .field·private·static·sTempValue:Landroid/util/TypedValue;
  
  
10 #·direct·methods10 #·direct·methods
11 .method·static·constructor·<clinit>()V11 .method·static·constructor·<clinit>()V
12 ····.locals·112 ····.locals·1
  
13 ····.line·15313 ····.line·154
14 ····new-instance·v0,·Ljava/lang/Object;14 ····new-instance·v0,·Ljava/lang/Object;
  
15 ····invoke-direct·{v0},·Ljava/lang/Object;-><init>()V15 ····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-void17 ····return-void
18 .end·method18 .end·method
  
19 .method·public·static·checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I19 .method·public·static·checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I
20 ····.locals·220 ····.locals·2
  
21 ····if-eqz·p1,·:cond_021 ····if-eqz·p1,·:cond_0
  
22 ····.line·53822 ····.line·533
23 ····invoke-static·{},·Landroid/os/Process;->myPid()I23 ····invoke-static·{},·Landroid/os/Process;->myPid()I
  
24 ····move-result·v024 ····move-result·v0
  
25 ····invoke-static·{},·Landroid/os/Process;->myUid()I25 ····invoke-static·{},·Landroid/os/Process;->myUid()I
  
26 ····move-result·v126 ····move-result·v1
  
27 ····invoke-virtual·{p0,·p1,·v0,·v1},·Landroid/content/Context;->checkPermission(Ljava/lang/String;II)I27 ····invoke-virtual·{p0,·p1,·v0,·v1},·Landroid/content/Context;->checkPermission(Ljava/lang/String;II)I
  
28 ····move-result·p028 ····move-result·p0
  
29 ····return·p029 ····return·p0
  
30 ····.line·53530 ····.line·530
31 ····:cond_031 ····: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;)V34 ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
  
35 ····throw·p035 ····throw·p0
36 .end·method36 .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·238 ····.locals·2
  
39 ····.line·63639 ····.line·631
40 ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I40 ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I
  
41 ····const/16·v1,·0x1841 ····const/16·v1,·0x18
  
42 ····if-lt·v0,·v1,·:cond_042 ····if-lt·v0,·v1,·:cond_0
  
43 ····.line·63743 ····.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·p045 ····move-result-object·p0
  
46 ····return-object·p046 ····return-object·p0
  
47 ····:cond_047 ····:cond_0
Offset 76, 208 lines modifiedOffset 76, 197 lines modified
  
76 ····return-object·p076 ····return-object·p0
77 .end·method77 .end·method
  
78 .method·public·static·getColor(Landroid/content/Context;I)I78 .method·public·static·getColor(Landroid/content/Context;I)I
79 ····.locals·279 ····.locals·2
  
80 ····.line·51680 ····.line·511
81 ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I81 ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I
  
82 ····const/16·v1,·0x1782 ····const/16·v1,·0x17
  
83 ····if-lt·v0,·v1,·:cond_083 ····if-lt·v0,·v1,·:cond_0
  
84 ····.line·51784 ····.line·512
85 ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->getColor(I)I85 ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->getColor(I)I
  
86 ····move-result·p086 ····move-result·p0
  
87 ····return·p087 ····return·p0
  
88 ····.line·51988 ····.line·514
89 ····:cond_089 ····: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·p091 ····move-result-object·p0
  
92 ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getColor(I)I92 ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getColor(I)I
  
93 ····move-result·p093 ····move-result·p0
  
94 ····return·p094 ····return·p0
95 .end·method95 .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·297 ····.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·p098 ····.line·492
 99 ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources;
  
105 ····return-object·p0100 ····move-result-object·v0
  
106 ····.line·496101 ····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·p0102 ····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·p0104 ····move-result-object·p0
  
112 ····return-object·p0105 ····return-object·p0
113 .end·method106 .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·4108 ····.locals·4
  
116 ····.line·454109 ····.line·455
117 ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I110 ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I
  
118 ····const/16·v1,·0x15111 ····const/16·v1,·0x15
  
119 ····if-lt·v0,·v1,·:cond_0112 ····if-lt·v0,·v1,·:cond_0
  
120 ····.line·455113 ····.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·p0115 ····move-result-object·p0
  
123 ····return-object·p0116 ····return-object·p0
  
124 ····:cond_0117 ····:cond_0
125 ····const/16·v1,·0x10118 ····const/16·v1,·0x10
  
126 ····if-lt·v0,·v1,·:cond_1119 ····if-lt·v0,·v1,·:cond_1
  
127 ····.line·457120 ····.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·p0122 ····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·p0124 ····move-result-object·p0
  
132 ····return-object·p0125 ····return-object·p0
  
133 ····.line·464126 ····.line·465
134 ····:cond_1127 ····: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·v0129 ····monitor-enter·v0
  
137 ····.line·465130 ····.line·466
138 ····:try_start_0131 ····: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_2133 ····if-nez·v1,·:cond_2
  
141 ····.line·466134 ····.line·467
142 ····new-instance·v1,·Landroid/util/TypedValue;135 ····new-instance·v1,·Landroid/util/TypedValue;
  
143 ····invoke-direct·{v1},·Landroid/util/TypedValue;-><init>()V136 ····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·468138 ····.line·469
146 ····:cond_2139 ····: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·v1141 ····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,·0x1143 ····const/4·v3,·0x1
  
151 ····invoke-virtual·{v1,·p1,·v2,·v3},·Landroid/content/res/Resources;->getValue(ILandroid/util/TypedValue;Z)V144 ····invoke-virtual·{v1,·p1,·v2,·v3},·Landroid/content/res/Resources;->getValue(ILandroid/util/TypedValue;Z)V
  
152 ····.line·469145 ····.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:I147 ····iget·p1,·p1,·Landroid/util/TypedValue;->resourceId:I
  
155 ····.line·470148 ····.line·471
156 ····monitor-exit·v0149 ····monitor-exit·v0
157 ····:try_end_0150 ····:try_end_0
158 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0151 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0
  
159 ····.line·471152 ····.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·p0154 ····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·p0156 ····move-result-object·p0
  
164 ····return-object·p0157 ····return-object·p0
  
165 ····:catchall_0158 ····:catchall_0
166 ····move-exception·p0159 ····move-exception·p0
  
167 ····.line·470160 ····.line·471
168 ····:try_start_1161 ····:try_start_1
169 ····monitor-exit·v0162 ····monitor-exit·v0
170 ····:try_end_1163 ····:try_end_1
171 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0164 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0
  
172 ····throw·p0165 ····throw·p0
173 .end·method166 .end·method
  
174 .method·public·static·startActivities(Landroid/content/Context;[Landroid/content/Intent;Landroid/os/Bundle;)Z167 .method·public·static·startActivities(Landroid/content/Context;[Landroid/content/Intent;Landroid/os/Bundle;)Z
175 ····.locals·2168 ····.locals·2
  
176 ····.line·223169 ····.line·224
177 ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I170 ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I
  
178 ····const/16·v1,·0x10171 ····const/16·v1,·0x10
  
179 ····if-lt·v0,·v1,·:cond_0172 ····if-lt·v0,·v1,·:cond_0
  
180 ····.line·224173 ····.line·225
181 ····invoke-virtual·{p0,·p1,·p2},·Landroid/content/Context;->startActivities([Landroid/content/Intent;Landroid/os/Bundle;)V174 ····invoke-virtual·{p0,·p1,·p2},·Landroid/content/Context;->startActivities([Landroid/content/Intent;Landroid/os/Bundle;)V
  
182 ····goto·:goto_0175 ····goto·:goto_0
  
183 ····.line·226176 ····.line·227
184 ····:cond_0177 ····:cond_0
185 ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->startActivities([Landroid/content/Intent;)V178 ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->startActivities([Landroid/content/Intent;)V
  
186 ····:goto_0179 ····:goto_0
187 ····const/4·p0,·0x1180 ····const/4·p0,·0x1
  
188 ····return·p0181 ····return·p0
189 .end·method182 .end·method
  
190 .method·public·static·startActivity(Landroid/content/Context;Landroid/content/Intent;Landroid/os/Bundle;)V183 .method·public·static·startActivity(Landroid/content/Context;Landroid/content/Intent;Landroid/os/Bundle;)V
191 ····.locals·2184 ····.locals·2
  
192 ····.line·250185 ····.line·251
193 ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I186 ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I
  
194 ····const/16·v1,·0x10187 ····const/16·v1,·0x10
  
195 ····if-lt·v0,·v1,·:cond_0188 ····if-lt·v0,·v1,·:cond_0
  
196 ····.line·251189 ····.line·252
197 ····invoke-virtual·{p0,·p1,·p2},·Landroid/content/Context;->startActivity(Landroid/content/Intent;Landroid/os/Bundle;)V190 ····invoke-virtual·{p0,·p1,·p2},·Landroid/content/Context;->startActivity(Landroid/content/Intent;Landroid/os/Bundle;)V
  
198 ····goto·:goto_0191 ····goto·:goto_0
  
199 ····.line·253192 ····.line·254
200 ····:cond_0193 ····:cond_0
201 ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->startActivity(Landroid/content/Intent;)V194 ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
  
202 ····:goto_0195 ····:goto_0
203 ····return-void196 ····return-void
204 .end·method197 .end·method