Offset 18, 15 lines modifiedOffset 18, 15 lines modified
18 .field·final·synthetic·this$0:Landroidx/activity/ComponentActivity;18 .field·final·synthetic·this$0:Landroidx/activity/ComponentActivity;
  
  
19 #·direct·methods19 #·direct·methods
20 .method·constructor·<init>(Landroidx/activity/ComponentActivity;)V20 .method·constructor·<init>(Landroidx/activity/ComponentActivity;)V
21 ····.locals·021 ····.locals·0
  
22 ····.line·14122 ····.line·134
23 ····iput-object·p1,·p0,·Landroidx/activity/ComponentActivity$2;->this$0:Landroidx/activity/ComponentActivity;23 ····iput-object·p1,·p0,·Landroidx/activity/ComponentActivity$2;->this$0:Landroidx/activity/ComponentActivity;
  
24 ····invoke-direct·{p0},·Landroidx/activity/result/ActivityResultRegistry;-><init>()V24 ····invoke-direct·{p0},·Landroidx/activity/result/ActivityResultRegistry;-><init>()V
  
25 ····return-void25 ····return-void
26 .end·method26 .end·method
  
Offset 44, 25 lines modifiedOffset 44, 25 lines modified
44 ············"Landroidx/activity/result/contract/ActivityResultContract<",44 ············"Landroidx/activity/result/contract/ActivityResultContract<",
45 ············"TI;TO;>;TI;",45 ············"TI;TO;>;TI;",
46 ············"Landroidx/core/app/ActivityOptionsCompat;",46 ············"Landroidx/core/app/ActivityOptionsCompat;",
47 ············")V"47 ············")V"
48 ········}48 ········}
49 ····.end·annotation49 ····.end·annotation
  
50 ····.line·14950 ····.line·142
51 ····iget-object·v0,·p0,·Landroidx/activity/ComponentActivity$2;->this$0:Landroidx/activity/ComponentActivity;51 ····iget-object·v0,·p0,·Landroidx/activity/ComponentActivity$2;->this$0:Landroidx/activity/ComponentActivity;
  
52 ····.line·15352 ····.line·146
53 ····invoke-virtual·{p2,·v0,·p3},·Landroidx/activity/result/contract/ActivityResultContract;->getSynchronousResult(Landroid/content/Context;Ljava/lang/Object;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;53 ····invoke-virtual·{p2,·v0,·p3},·Landroidx/activity/result/contract/ActivityResultContract;->getSynchronousResult(Landroid/content/Context;Ljava/lang/Object;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
  
54 ····move-result-object·v154 ····move-result-object·v1
  
55 ····if-eqz·v1,·:cond_055 ····if-eqz·v1,·:cond_0
  
56 ····.line·15556 ····.line·148
57 ····new-instance·p2,·Landroid/os/Handler;57 ····new-instance·p2,·Landroid/os/Handler;
  
58 ····invoke-static·{},·Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;58 ····invoke-static·{},·Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
  
59 ····move-result-object·p359 ····move-result-object·p3
  
60 ····invoke-direct·{p2,·p3},·Landroid/os/Handler;-><init>(Landroid/os/Looper;)V60 ····invoke-direct·{p2,·p3},·Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
Offset 71, 219 lines modifiedOffset 71, 231 lines modified
  
71 ····invoke-direct·{p3,·p0,·p1,·v1},·Landroidx/activity/ComponentActivity$2$1;-><init>(Landroidx/activity/ComponentActivity$2;ILandroidx/activity/result/contract/ActivityResultContract$SynchronousResult;)V71 ····invoke-direct·{p3,·p0,·p1,·v1},·Landroidx/activity/ComponentActivity$2$1;-><init>(Landroidx/activity/ComponentActivity$2;ILandroidx/activity/result/contract/ActivityResultContract$SynchronousResult;)V
  
72 ····invoke-virtual·{p2,·p3},·Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z72 ····invoke-virtual·{p2,·p3},·Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
  
73 ····return-void73 ····return-void
  
74 ····.line·16574 ····.line·158
75 ····:cond_075 ····:cond_0
76 ····invoke-virtual·{p2,·v0,·p3},·Landroidx/activity/result/contract/ActivityResultContract;->createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;76 ····invoke-virtual·{p2,·v0,·p3},·Landroidx/activity/result/contract/ActivityResultContract;->createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
  
77 ····move-result-object·p277 ····move-result-object·p2
  
78 ····const/4·p3,·0x0 
  
79 ····const-string·v1,·"androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE" 
  
80 ····.line·167 
81 ····invoke-virtual·{p2,·v1},·Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z 
  
82 ····move-result·v2 
  
83 ····if-eqz·v2,·:cond_1 
  
84 ····.line·168 
85 ····invoke-virtual·{p2,·v1},·Landroid/content/Intent;->getBundleExtra(Ljava/lang/String;)Landroid/os/Bundle; 
  
86 ····move-result-object·p3 
  
87 ····.line·16978 ····.line·159
88 ····invoke-virtual·{p2,·v1},·Landroid/content/Intent;->removeExtra(Ljava/lang/String;)V 
  
89 ····goto·:goto_0 
  
90 ····:cond_1 
91 ····if-eqz·p4,·:cond_2 
  
92 ····.line·171 
93 ····invoke-virtual·{p4},·Landroidx/core/app/ActivityOptionsCompat;->toBundle()Landroid/os/Bundle; 
  
94 ····move-result-object·p3 
  
95 ····:cond_2 
96 ····:goto_0 
97 ····move-object·v7,·p3 
  
98 ····.line·173 
99 ····invoke-virtual·{p2},·Landroid/content/Intent;->getAction()Ljava/lang/String;79 ····invoke-virtual·{p2},·Landroid/content/Intent;->getAction()Ljava/lang/String;
  
100 ····move-result-object·p380 ····move-result-object·p3
  
101 ····const-string·p4,·"androidx.activity.result.contract.action.REQUEST_PERMISSIONS"81 ····const-string·v1,·"androidx.activity.result.contract.action.REQUEST_PERMISSIONS"
  
102 ····invoke-virtual·{p4,·p3},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z82 ····invoke-virtual·{v1,·p3},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
103 ····move-result·p383 ····move-result·p3
  
104 ····if-eqz·p3,·:cond_684 ····if-eqz·p3,·:cond_4
  
105 ····const-string·p3,·"androidx.activity.result.contract.extra.PERMISSIONS"85 ····const-string·p3,·"androidx.activity.result.contract.extra.PERMISSIONS"
  
106 ····.line·17686 ····.line·162
107 ····invoke-virtual·{p2,·p3},·Landroid/content/Intent;->getStringArrayExtra(Ljava/lang/String;)[Ljava/lang/String;87 ····invoke-virtual·{p2,·p3},·Landroid/content/Intent;->getStringArrayExtra(Ljava/lang/String;)[Ljava/lang/String;
  
108 ····move-result-object·p288 ····move-result-object·p2
  
109 ····if-nez·p2,·:cond_389 ····if-nez·p2,·:cond_1
  
110 ····return-void90 ····return-void
  
111 ····.line·18291 ····.line·168
112 ····:cond_392 ····:cond_1
113 ····new-instance·p3,·Ljava/util/ArrayList;93 ····new-instance·p3,·Ljava/util/ArrayList;
  
114 ····invoke-direct·{p3},·Ljava/util/ArrayList;-><init>()V94 ····invoke-direct·{p3},·Ljava/util/ArrayList;-><init>()V
  
115 ····.line·18395 ····.line·169
116 ····array-length·p4,·p296 ····array-length·p4,·p2
  
117 ····const/4·v1,·0x097 ····const/4·v1,·0x0
  
118 ····move·v2,·v198 ····move·v2,·v1
  
119 ····:goto_199 ····:goto_0
120 ····if-ge·v2,·p4,·:cond_5100 ····if-ge·v2,·p4,·:cond_3
  
121 ····aget-object·v3,·p2,·v2101 ····aget-object·v3,·p2,·v2
  
122 ····.line·184102 ····.line·170
123 ····iget-object·v4,·p0,·Landroidx/activity/ComponentActivity$2;->this$0:Landroidx/activity/ComponentActivity;103 ····iget-object·v4,·p0,·Landroidx/activity/ComponentActivity$2;->this$0:Landroidx/activity/ComponentActivity;
  
124 ····.line·185104 ····.line·171
125 ····invoke-static·{},·Landroid/os/Process;->myPid()I105 ····invoke-static·{},·Landroid/os/Process;->myPid()I
  
126 ····move-result·v5106 ····move-result·v5
  
127 ····invoke-static·{},·Landroid/os/Process;->myUid()I107 ····invoke-static·{},·Landroid/os/Process;->myUid()I
  
128 ····move-result·v6108 ····move-result·v6
  
129 ····.line·184109 ····.line·170
130 ····invoke-virtual·{v4,·v3,·v5,·v6},·Landroid/app/Activity;->checkPermission(Ljava/lang/String;II)I110 ····invoke-virtual·{v4,·v3,·v5,·v6},·Landroid/app/Activity;->checkPermission(Ljava/lang/String;II)I
  
131 ····move-result·v4111 ····move-result·v4
  
132 ····if-eqz·v4,·:cond_4112 ····if-eqz·v4,·:cond_2
  
133 ····.line·187113 ····.line·173
134 ····invoke-interface·{p3,·v3},·Ljava/util/List;->add(Ljava/lang/Object;)Z114 ····invoke-interface·{p3,·v3},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
135 ····:cond_4115 ····:cond_2
136 ····add-int/lit8·v2,·v2,·0x1116 ····add-int/lit8·v2,·v2,·0x1
  
137 ····goto·:goto_1117 ····goto·:goto_0
  
138 ····.line·191118 ····.line·177
139 ····:cond_5119 ····:cond_3
140 ····invoke-interface·{p3},·Ljava/util/List;->isEmpty()Z120 ····invoke-interface·{p3},·Ljava/util/List;->isEmpty()Z
  
141 ····move-result·p2121 ····move-result·p2
  
142 ····if-nez·p2,·:cond_8122 ····if-nez·p2,·:cond_9
  
143 ····new-array·p2,·v1,·[Ljava/lang/String;123 ····new-array·p2,·v1,·[Ljava/lang/String;
  
144 ····.line·193124 ····.line·179
145 ····invoke-interface·{p3,·p2},·Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;125 ····invoke-interface·{p3,·p2},·Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
  
146 ····move-result-object·p2126 ····move-result-object·p2
  
147 ····check-cast·p2,·[Ljava/lang/String;127 ····check-cast·p2,·[Ljava/lang/String;
  
148 ····.line·192128 ····.line·178
149 ····invoke-static·{v0,·p2,·p1},·Landroidx/core/app/ActivityCompat;->requestPermissions(Landroid/app/Activity;[Ljava/lang/String;I)V129 ····invoke-static·{v0,·p2,·p1},·Landroidx/core/app/ActivityCompat;->requestPermissions(Landroid/app/Activity;[Ljava/lang/String;I)V
  
150 ····goto·:goto_2130 ····goto·:goto_3
  
151 ····.line·195131 ····.line·181
152 ····:cond_6132 ····:cond_4
153 ····invoke-virtual·{p2},·Landroid/content/Intent;->getAction()Ljava/lang/String;133 ····invoke-virtual·{p2},·Landroid/content/Intent;->getAction()Ljava/lang/String;
  
154 ····move-result-object·p3134 ····move-result-object·p3
  
155 ····const-string·p4,·"androidx.activity.result.contract.action.INTENT_SENDER_REQUEST"135 ····const-string·v1,·"androidx.activity.result.contract.action.INTENT_SENDER_REQUEST"
  
156 ····invoke-virtual·{p4,·p3},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z136 ····invoke-virtual·{v1,·p3},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
157 ····move-result·p3137 ····move-result·p3
  
 138 ····const/4·v1,·0x0
  
158 ····if-eqz·p3,·:cond_7139 ····if-eqz·p3,·:cond_6
  
159 ····const-string·p3,·"androidx.activity.result.contract.extra.INTENT_SENDER_REQUEST"140 ····const-string·p3,·"androidx.activity.result.contract.extra.INTENT_SENDER_REQUEST"
  
160 ····.line·197141 ····.line·183
161 ····invoke-virtual·{p2,·p3},·Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;142 ····invoke-virtual·{p2,·p3},·Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;
  
162 ····move-result-object·p2143 ····move-result-object·p2
  
163 ····check-cast·p2,·Landroidx/activity/result/IntentSenderRequest;144 ····check-cast·p2,·Landroidx/activity/result/IntentSenderRequest;
  
164 ····.line·200145 ····.line·185
165 ····:try_start_0146 ····:try_start_0
166 ····invoke-virtual·{p2},·Landroidx/activity/result/IntentSenderRequest;->getIntentSender()Landroid/content/IntentSender;147 ····invoke-virtual·{p2},·Landroidx/activity/result/IntentSenderRequest;->getIntentSender()Landroid/content/IntentSender;
  
167 ····move-result-object·v1148 ····move-result-object·p3
  
168 ····.line·201149 ····.line·186
169 ····invoke-virtual·{p2},·Landroidx/activity/result/IntentSenderRequest;->getFillInIntent()Landroid/content/Intent;150 ····invoke-virtual·{p2},·Landroidx/activity/result/IntentSenderRequest;->getFillInIntent()Landroid/content/Intent;
  
170 ····move-result-object·v3151 ····move-result-object·v3
  
 152 ····.line·187
171 ····invoke-virtual·{p2},·Landroidx/activity/result/IntentSenderRequest;->getFlagsMask()I153 ····invoke-virtual·{p2},·Landroidx/activity/result/IntentSenderRequest;->getFlagsMask()I
  
172 ····move-result·v4154 ····move-result·v4
  
173 ····.line·202 
174 ····invoke-virtual·{p2},·Landroidx/activity/result/IntentSenderRequest;->getFlagsValues()I155 ····invoke-virtual·{p2},·Landroidx/activity/result/IntentSenderRequest;->getFlagsValues()I
  
175 ····move-result·v5156 ····move-result·v5
  
176 ····const/4·v6,·0x0157 ····const/4·v6,·0x0
  
 158 ····if-eqz·p4,·:cond_5
  
 159 ····.line·188
 160 ····invoke-virtual·{p4},·Landroidx/core/app/ActivityOptionsCompat;->toBundle()Landroid/os/Bundle;
  
 161 ····move-result-object·p2
  
 162 ····move-object·v7,·p2
  
 163 ····goto·:goto_1
  
 164 ····:cond_5
 165 ····move-object·v7,·v1
  
 166 ····:goto_1
 167 ····move-object·v1,·p3
  
177 ····move·v2,·p1168 ····move·v2,·p1
  
178 ····.line·200169 ····.line·185
179 ····invoke-static/range·{v0·..·v7},·Landroidx/core/app/ActivityCompat;->startIntentSenderForResult(Landroid/app/Activity;Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V170 ····invoke-static/range·{v0·..·v7},·Landroidx/core/app/ActivityCompat;->startIntentSenderForResult(Landroid/app/Activity;Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V
180 ····:try_end_0171 ····:try_end_0
181 ····.catch·Landroid/content/IntentSender$SendIntentException;·{:try_start_0·..·:try_end_0}·:catch_0172 ····.catch·Landroid/content/IntentSender$SendIntentException;·{:try_start_0·..·:try_end_0}·:catch_0
  
182 ····goto·:goto_2173 ····goto·:goto_3
  
183 ····:catch_0174 ····:catch_0
184 ····move-exception·p2175 ····move-exception·p2
  
185 ····.line·204176 ····.line·190
186 ····new-instance·p3,·Landroid/os/Handler;177 ····new-instance·p3,·Landroid/os/Handler;
  
187 ····invoke-static·{},·Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;178 ····invoke-static·{},·Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
  
188 ····move-result-object·p4179 ····move-result-object·p4
  
189 ····invoke-direct·{p3,·p4},·Landroid/os/Handler;-><init>(Landroid/os/Looper;)V180 ····invoke-direct·{p3,·p4},·Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
  
190 ····new-instance·p4,·Landroidx/activity/ComponentActivity$2$2;181 ····new-instance·p4,·Landroidx/activity/ComponentActivity$2$2;
  
191 ····invoke-direct·{p4,·p0,·p1,·p2},·Landroidx/activity/ComponentActivity$2$2;-><init>(Landroidx/activity/ComponentActivity$2;ILandroid/content/IntentSender$SendIntentException;)V182 ····invoke-direct·{p4,·p0,·p1,·p2},·Landroidx/activity/ComponentActivity$2$2;-><init>(Landroidx/activity/ComponentActivity$2;ILandroid/content/IntentSender$SendIntentException;)V
  
192 ····invoke-virtual·{p3,·p4},·Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z183 ····invoke-virtual·{p3,·p4},·Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
  
 184 ····goto·:goto_3
  
 185 ····:cond_6
 186 ····const-string·p3,·"androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE"
  
 187 ····.line·202
 188 ····invoke-virtual·{p2,·p3},·Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z
  
 189 ····move-result·v2
  
 190 ····if-eqz·v2,·:cond_7
  
 191 ····.line·203
 192 ····invoke-virtual·{p2,·p3},·Landroid/content/Intent;->getBundleExtra(Ljava/lang/String;)Landroid/os/Bundle;
  
 193 ····move-result-object·v1
  
193 ····goto·:goto_2194 ····goto·:goto_2
  
194 ····.line·215 
195 ····:cond_7195 ····:cond_7
196 ····invoke-static·{v0,·p2,·p1,·v7},·Landroidx/core/app/ActivityCompat;->startActivityForResult(Landroid/app/Activity;Landroid/content/Intent;ILandroid/os/Bundle;)V196 ····if-eqz·p4,·:cond_8
  
 197 ····.line·205
 198 ····invoke-virtual·{p4},·Landroidx/core/app/ActivityOptionsCompat;->toBundle()Landroid/os/Bundle;
  
 199 ····move-result-object·v1
  
 200 ····.line·207
197 ····:cond_8201 ····:cond_8
198 ····:goto_2202 ····:goto_2
 203 ····invoke-static·{v0,·p2,·p1,·v1},·Landroidx/core/app/ActivityCompat;->startActivityForResult(Landroid/app/Activity;Landroid/content/Intent;ILandroid/os/Bundle;)V
  
 204 ····:cond_9
 205 ····:goto_3
199 ····return-void206 ····return-void
200 .end·method207 .end·method