| | | |
Offset 18, 15 lines modified | Offset 18, 15 lines modified |
18 | .field·final·synthetic·this$0:Landroidx/activity/ComponentActivity; | 18 | .field·final·synthetic·this$0:Landroidx/activity/ComponentActivity; |
| |
| |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Landroidx/activity/ComponentActivity;)V | 20 | .method·constructor·<init>(Landroidx/activity/ComponentActivity;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
| |
22 | ····.line·141 | 22 | ····.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>()V | 24 | ····invoke-direct·{p0},·Landroidx/activity/result/ActivityResultRegistry;-><init>()V |
| |
25 | ····return-void | 25 | ····return-void |
26 | .end·method | 26 | .end·method |
| |
Offset 44, 25 lines modified | Offset 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·annotation | 49 | ····.end·annotation |
| |
50 | ····.line·149 | 50 | ····.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·153 | 52 | ····.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·v1 | 54 | ····move-result-object·v1 |
| |
55 | ····if-eqz·v1,·:cond_0 | 55 | ····if-eqz·v1,·:cond_0 |
| |
56 | ····.line·155 | 56 | ····.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·p3 | 59 | ····move-result-object·p3 |
| |
60 | ····invoke-direct·{p2,·p3},·Landroid/os/Handler;-><init>(Landroid/os/Looper;)V | 60 | ····invoke-direct·{p2,·p3},·Landroid/os/Handler;-><init>(Landroid/os/Looper;)V |
Offset 71, 219 lines modified | Offset 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;)V | 71 | ····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;)Z | 72 | ····invoke-virtual·{p2,·p3},·Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z |
| |
73 | ····return-void | 73 | ····return-void |
| |
74 | ····.line·165 | 74 | ····.line·158 |
75 | ····:cond_0 | 75 | ····: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·p2 | 77 | ····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·169 | 78 | ····.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·p3 | 80 | ····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;)Z | 82 | ····invoke-virtual·{v1,·p3},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
103 | ····move-result·p3 | 83 | ····move-result·p3 |
| |
104 | ····if-eqz·p3,·:cond_6 | 84 | ····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·176 | 86 | ····.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·p2 | 88 | ····move-result-object·p2 |
| |
109 | ····if-nez·p2,·:cond_3 | 89 | ····if-nez·p2,·:cond_1 |
| |
110 | ····return-void | 90 | ····return-void |
| |
111 | ····.line·182 | 91 | ····.line·168 |
112 | ····:cond_3 | 92 | ····:cond_1 |
113 | ····new-instance·p3,·Ljava/util/ArrayList; | 93 | ····new-instance·p3,·Ljava/util/ArrayList; |
| |
114 | ····invoke-direct·{p3},·Ljava/util/ArrayList;-><init>()V | 94 | ····invoke-direct·{p3},·Ljava/util/ArrayList;-><init>()V |
| |
115 | ····.line·183 | 95 | ····.line·169 |
116 | ····array-length·p4,·p2 | 96 | ····array-length·p4,·p2 |
| |
117 | ····const/4·v1,·0x0 | 97 | ····const/4·v1,·0x0 |
| |
118 | ····move·v2,·v1 | 98 | ····move·v2,·v1 |
| |
119 | ····:goto_1 | 99 | ····:goto_0 |
120 | ····if-ge·v2,·p4,·:cond_5 | 100 | ····if-ge·v2,·p4,·:cond_3 |
| |
121 | ····aget-object·v3,·p2,·v2 | 101 | ····aget-object·v3,·p2,·v2 |
| |
122 | ····.line·184 | 102 | ····.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·185 | 104 | ····.line·171 |
125 | ····invoke-static·{},·Landroid/os/Process;->myPid()I | 105 | ····invoke-static·{},·Landroid/os/Process;->myPid()I |
| |
126 | ····move-result·v5 | 106 | ····move-result·v5 |
| |
127 | ····invoke-static·{},·Landroid/os/Process;->myUid()I | 107 | ····invoke-static·{},·Landroid/os/Process;->myUid()I |
| |
128 | ····move-result·v6 | 108 | ····move-result·v6 |
| |
129 | ····.line·184 | 109 | ····.line·170 |
130 | ····invoke-virtual·{v4,·v3,·v5,·v6},·Landroid/app/Activity;->checkPermission(Ljava/lang/String;II)I | 110 | ····invoke-virtual·{v4,·v3,·v5,·v6},·Landroid/app/Activity;->checkPermission(Ljava/lang/String;II)I |
| |
131 | ····move-result·v4 | 111 | ····move-result·v4 |
| |
132 | ····if-eqz·v4,·:cond_4 | 112 | ····if-eqz·v4,·:cond_2 |
| |
133 | ····.line·187 | 113 | ····.line·173 |
134 | ····invoke-interface·{p3,·v3},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 114 | ····invoke-interface·{p3,·v3},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
| |
135 | ····:cond_4 | 115 | ····:cond_2 |
136 | ····add-int/lit8·v2,·v2,·0x1 | 116 | ····add-int/lit8·v2,·v2,·0x1 |
| |
137 | ····goto·:goto_1 | 117 | ····goto·:goto_0 |
| |
138 | ····.line·191 | 118 | ····.line·177 |
139 | ····:cond_5 | 119 | ····:cond_3 |
140 | ····invoke-interface·{p3},·Ljava/util/List;->isEmpty()Z | 120 | ····invoke-interface·{p3},·Ljava/util/List;->isEmpty()Z |
| |
141 | ····move-result·p2 | 121 | ····move-result·p2 |
| |
142 | ····if-nez·p2,·:cond_8 | 122 | ····if-nez·p2,·:cond_9 |
| |
143 | ····new-array·p2,·v1,·[Ljava/lang/String; | 123 | ····new-array·p2,·v1,·[Ljava/lang/String; |
| |
144 | ····.line·193 | 124 | ····.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·p2 | 126 | ····move-result-object·p2 |
| |
147 | ····check-cast·p2,·[Ljava/lang/String; | 127 | ····check-cast·p2,·[Ljava/lang/String; |
| |
148 | ····.line·192 | 128 | ····.line·178 |
149 | ····invoke-static·{v0,·p2,·p1},·Landroidx/core/app/ActivityCompat;->requestPermissions(Landroid/app/Activity;[Ljava/lang/String;I)V | 129 | ····invoke-static·{v0,·p2,·p1},·Landroidx/core/app/ActivityCompat;->requestPermissions(Landroid/app/Activity;[Ljava/lang/String;I)V |
| |
150 | ····goto·:goto_2 | 130 | ····goto·:goto_3 |
| |
151 | ····.line·195 | 131 | ····.line·181 |
152 | ····:cond_6 | 132 | ····: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·p3 | 134 | ····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;)Z | 136 | ····invoke-virtual·{v1,·p3},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
157 | ····move-result·p3 | 137 | ····move-result·p3 |
| |
| 138 | ····const/4·v1,·0x0 |
| |
158 | ····if-eqz·p3,·:cond_7 | 139 | ····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·197 | 141 | ····.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·p2 | 143 | ····move-result-object·p2 |
| |
163 | ····check-cast·p2,·Landroidx/activity/result/IntentSenderRequest; | 144 | ····check-cast·p2,·Landroidx/activity/result/IntentSenderRequest; |
| |
164 | ····.line·200 | 145 | ····.line·185 |
165 | ····:try_start_0 | 146 | ····: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·v1 | 148 | ····move-result-object·p3 |
| |
168 | ····.line·201 | 149 | ····.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·v3 | 151 | ····move-result-object·v3 |
| |
| 152 | ····.line·187 |
171 | ····invoke-virtual·{p2},·Landroidx/activity/result/IntentSenderRequest;->getFlagsMask()I | 153 | ····invoke-virtual·{p2},·Landroidx/activity/result/IntentSenderRequest;->getFlagsMask()I |
| |
172 | ····move-result·v4 | 154 | ····move-result·v4 |
| |
173 | ····.line·202 | |
174 | ····invoke-virtual·{p2},·Landroidx/activity/result/IntentSenderRequest;->getFlagsValues()I | 155 | ····invoke-virtual·{p2},·Landroidx/activity/result/IntentSenderRequest;->getFlagsValues()I |
| |
175 | ····move-result·v5 | 156 | ····move-result·v5 |
| |
176 | ····const/4·v6,·0x0 | 157 | ····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,·p1 | 168 | ····move·v2,·p1 |
| |
178 | ····.line·200 | 169 | ····.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;)V | 170 | ····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_0 | 171 | ····:try_end_0 |
181 | ····.catch·Landroid/content/IntentSender$SendIntentException;·{:try_start_0·..·:try_end_0}·:catch_0 | 172 | ····.catch·Landroid/content/IntentSender$SendIntentException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
182 | ····goto·:goto_2 | 173 | ····goto·:goto_3 |
| |
183 | ····:catch_0 | 174 | ····:catch_0 |
184 | ····move-exception·p2 | 175 | ····move-exception·p2 |
| |
185 | ····.line·204 | 176 | ····.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·p4 | 179 | ····move-result-object·p4 |
| |
189 | ····invoke-direct·{p3,·p4},·Landroid/os/Handler;-><init>(Landroid/os/Looper;)V | 180 | ····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;)V | 182 | ····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;)Z | 183 | ····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_2 | 194 | ····goto·:goto_2 |
| |
194 | ····.line·215 | |
195 | ····:cond_7 | 195 | ····:cond_7 |
196 | ····invoke-static·{v0,·p2,·p1,·v7},·Landroidx/core/app/ActivityCompat;->startActivityForResult(Landroid/app/Activity;Landroid/content/Intent;ILandroid/os/Bundle;)V | 196 | ····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_8 | 201 | ····:cond_8 |
198 | ····:goto_2 | 202 | ····: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-void | 206 | ····return-void |
200 | .end·method | 207 | .end·method |