Offset 33, 149 lines modifiedOffset 33, 169 lines modified
33 .end·method33 .end·method
  
34 .method·private·setNavGraph(Landroid/os/Bundle;I)V34 .method·private·setNavGraph(Landroid/os/Bundle;I)V
35 ····.locals·335 ····.locals·3
  
36 ····const·v0,·0x7f0d00b736 ····const·v0,·0x7f0d00b7
  
37 ····.line·29237 ····.line·298
38 ····invoke-virtual·{p0,·v0},·Landroidx/activity/ComponentActivity;->setContentView(I)V38 ····invoke-virtual·{p0,·v0},·Landroidx/activity/ComponentActivity;->setContentView(I)V
  
39 ····.line·29339 ····.line·299
40 ····invoke-virtual·{p0},·Landroidx/fragment/app/FragmentActivity;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;40 ····invoke-virtual·{p0},·Landroidx/fragment/app/FragmentActivity;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;
  
41 ····move-result-object·v041 ····move-result-object·v0
  
42 ····const·v1,·0x7f0a01e942 ····const·v1,·0x7f0a01e9
  
43 ····.line·29443 ····.line·300
44 ····invoke-virtual·{v0,·v1},·Landroidx/fragment/app/FragmentManager;->findFragmentById(I)Landroidx/fragment/app/Fragment;44 ····invoke-virtual·{v0,·v1},·Landroidx/fragment/app/FragmentManager;->findFragmentById(I)Landroidx/fragment/app/Fragment;
  
45 ····move-result-object·v045 ····move-result-object·v0
  
46 ····check-cast·v0,·Landroidx/navigation/fragment/NavHostFragment;46 ····check-cast·v0,·Landroidx/navigation/fragment/NavHostFragment;
  
47 ····.line·29547 ····.line·301
48 ····invoke-virtual·{v0},·Landroidx/navigation/fragment/NavHostFragment;->getNavController()Landroidx/navigation/NavController;48 ····invoke-virtual·{v0},·Landroidx/navigation/fragment/NavHostFragment;->getNavController()Landroidx/navigation/NavController;
  
49 ····move-result-object·v149 ····move-result-object·v1
  
50 ····invoke-virtual·{v1},·Landroidx/navigation/NavController;->getNavInflater()Landroidx/navigation/NavInflater;50 ····invoke-virtual·{v1},·Landroidx/navigation/NavController;->getNavInflater()Landroidx/navigation/NavInflater;
  
51 ····move-result-object·v151 ····move-result-object·v1
  
52 ····const/high16·v2,·0x7f0f000052 ····const/high16·v2,·0x7f0f0000
  
53 ····.line·29653 ····.line·302
54 ····invoke-virtual·{v1,·v2},·Landroidx/navigation/NavInflater;->inflate(I)Landroidx/navigation/NavGraph;54 ····invoke-virtual·{v1,·v2},·Landroidx/navigation/NavInflater;->inflate(I)Landroidx/navigation/NavGraph;
  
55 ····move-result-object·v155 ····move-result-object·v1
  
56 ····.line·29756 ····.line·303
57 ····invoke-virtual·{v1,·p2},·Landroidx/navigation/NavGraph;->setStartDestination(I)V57 ····invoke-virtual·{v1,·p2},·Landroidx/navigation/NavGraph;->setStartDestination(I)V
  
58 ····.line·29858 ····.line·304
59 ····invoke-virtual·{v0},·Landroidx/navigation/fragment/NavHostFragment;->getNavController()Landroidx/navigation/NavController;59 ····invoke-virtual·{v0},·Landroidx/navigation/fragment/NavHostFragment;->getNavController()Landroidx/navigation/NavController;
  
60 ····move-result-object·p260 ····move-result-object·p2
  
61 ····invoke-virtual·{p2,·v1,·p1},·Landroidx/navigation/NavController;->setGraph(Landroidx/navigation/NavGraph;Landroid/os/Bundle;)V61 ····invoke-virtual·{p2,·v1,·p1},·Landroidx/navigation/NavController;->setGraph(Landroidx/navigation/NavGraph;Landroid/os/Bundle;)V
  
62 ····return-void62 ····return-void
63 .end·method63 .end·method
  
  
64 #·virtual·methods64 #·virtual·methods
65 .method·public·getActionBar()Landroid/app/ActionBar;65 .method·public·getActionBar()Landroid/app/ActionBar;
66 ····.locals·266 ····.locals·2
  
67 ····.line·30367 ····.line·309
68 ····invoke-super·{p0},·Landroid/app/Activity;->getActionBar()Landroid/app/ActionBar;68 ····invoke-super·{p0},·Landroid/app/Activity;->getActionBar()Landroid/app/ActionBar;
  
69 ····move-result-object·v069 ····move-result-object·v0
  
70 ····if-eqz·v0,·:cond_070 ····if-eqz·v0,·:cond_0
  
71 ····const·v1,·0x7f12006f71 ····const·v1,·0x7f12006f
  
72 ····.line·30572 ····.line·311
73 ····invoke-virtual·{v0,·v1},·Landroid/app/ActionBar;->setHomeActionContentDescription(I)V73 ····invoke-virtual·{v0,·v1},·Landroid/app/ActionBar;->setHomeActionContentDescription(I)V
  
74 ····:cond_074 ····:cond_0
75 ····return-object·v075 ····return-object·v0
76 .end·method76 .end·method
  
 77 .method·protected·onActivityResult(IILandroid/content/Intent;)V
 78 ····.locals·1
  
 79 ····.line·333
 80 ····invoke-super·{p0,·p1,·p2,·p3},·Landroidx/fragment/app/FragmentActivity;->onActivityResult(IILandroid/content/Intent;)V
  
 81 ····const/4·v0,·0x5
  
 82 ····if-ne·p1,·v0,·:cond_0
  
 83 ····.line·335
 84 ····invoke-virtual·{p0,·p2,·p3},·Landroid/app/Activity;->setResult(ILandroid/content/Intent;)V
  
 85 ····.line·336
 86 ····invoke-virtual·{p0},·Landroid/app/Activity;->finish()V
  
 87 ····:cond_0
 88 ····return-void
 89 .end·method
  
77 .method·public·onCreate(Landroid/os/Bundle;)V90 .method·public·onCreate(Landroid/os/Bundle;)V
78 ····.locals·1791 ····.locals·17
  
79 ····move-object/from16·v0,·p092 ····move-object/from16·v0,·p0
  
80 ····.line·8793 ····.line·94
81 ····sget-object·v1,·Lcom/android/permissioncontroller/permission/ui/ManagePermissionsActivity;->LOG_TAG:Ljava/lang/String;94 ····sget-object·v1,·Lcom/android/permissioncontroller/permission/ui/ManagePermissionsActivity;->LOG_TAG:Ljava/lang/String;
  
82 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isAuto(Landroid/content/Context;)Z95 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isAuto(Landroid/content/Context;)Z
  
83 ····move-result·v296 ····move-result·v2
  
84 ····if-eqz·v2,·:cond_097 ····if-eqz·v2,·:cond_0
  
85 ····const·v2,·0x7f1300f998 ····const·v2,·0x7f1300f9
  
86 ····.line·9099 ····.line·97
87 ····invoke-virtual·{v0,·v2},·Landroid/app/Activity;->setTheme(I)V100 ····invoke-virtual·{v0,·v2},·Landroid/app/Activity;->setTheme(I)V
  
88 ····.line·92101 ····.line·99
89 ····:cond_0102 ····:cond_0
90 ····invoke-super/range·{p0·..·p1},·Landroidx/fragment/app/FragmentActivity;->onCreate(Landroid/os/Bundle;)V103 ····invoke-super/range·{p0·..·p1},·Landroidx/fragment/app/FragmentActivity;->onCreate(Landroid/os/Bundle;)V
  
91 ····.line·96104 ····.line·103
92 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isTelevision(Landroid/content/Context;)Z105 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isTelevision(Landroid/content/Context;)Z
  
93 ····move-result·v2106 ····move-result·v2
  
94 ····if-nez·v2,·:cond_1107 ····if-nez·v2,·:cond_1
  
95 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isAuto(Landroid/content/Context;)Z108 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isAuto(Landroid/content/Context;)Z
  
96 ····move-result·v2109 ····move-result·v2
  
97 ····if-nez·v2,·:cond_1110 ····if-nez·v2,·:cond_1
  
98 ····.line·97111 ····.line·104
99 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isWear(Landroid/content/Context;)Z112 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isWear(Landroid/content/Context;)Z
  
100 ····move-result·v2113 ····move-result·v2
  
101 ····if-eqz·v2,·:cond_2114 ····if-eqz·v2,·:cond_2
  
102 ····:cond_1115 ····:cond_1
103 ····if-eqz·p1,·:cond_2116 ····if-eqz·p1,·:cond_2
  
104 ····return-void117 ····return-void
  
105 ····.line·103118 ····.line·110
106 ····:cond_2119 ····:cond_2
107 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;120 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;
  
108 ····move-result-object·v2121 ····move-result-object·v2
  
109 ····invoke-virtual·{v2},·Landroid/content/Intent;->getAction()Ljava/lang/String;122 ····invoke-virtual·{v2},·Landroid/content/Intent;->getAction()Ljava/lang/String;
  
110 ····move-result-object·v2123 ····move-result-object·v2
  
111 ····.line·105124 ····.line·112
112 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getWindow()Landroid/view/Window;125 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getWindow()Landroid/view/Window;
  
113 ····move-result-object·v3126 ····move-result-object·v3
  
114 ····const/high16·v4,·0x80000127 ····const/high16·v4,·0x80000
  
115 ····invoke-virtual·{v3,·v4},·Landroid/view/Window;->addSystemFlags(I)V128 ····invoke-virtual·{v3,·v4},·Landroid/view/Window;->addSystemFlags(I)V
  
116 ····.line·107129 ····.line·114
117 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;130 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;
  
118 ····move-result-object·v3131 ····move-result-object·v3
  
119 ····const-string·v4,·"com.android.permissioncontroller.extra.SESSION_ID"132 ····const-string·v4,·"com.android.permissioncontroller.extra.SESSION_ID"
  
120 ····const-wide/16·v5,·0x0133 ····const-wide/16·v5,·0x0
Offset 185, 29 lines modifiedOffset 205, 29 lines modified
185 ····move-result-wide·v7205 ····move-result-wide·v7
  
186 ····:goto_0206 ····:goto_0
187 ····cmp-long·v3,·v7,·v5207 ····cmp-long·v3,·v7,·v5
  
188 ····if-nez·v3,·:cond_3208 ····if-nez·v3,·:cond_3
  
189 ····.line·109209 ····.line·116
190 ····new-instance·v3,·Ljava/util/Random;210 ····new-instance·v3,·Ljava/util/Random;
  
191 ····invoke-direct·{v3},·Ljava/util/Random;-><init>()V211 ····invoke-direct·{v3},·Ljava/util/Random;-><init>()V
  
192 ····invoke-virtual·{v3},·Ljava/util/Random;->nextLong()J212 ····invoke-virtual·{v3},·Ljava/util/Random;->nextLong()J
  
193 ····move-result-wide·v7213 ····move-result-wide·v7
  
194 ····goto·:goto_0214 ····goto·:goto_0
  
195 ····:cond_3215 ····:cond_3
196 ····const/4·v9,·-0x1216 ····const/4·v9,·-0x1
  
197 ····.line·118217 ····.line·125
198 ····invoke-virtual·{v2},·Ljava/lang/String;->hashCode()I218 ····invoke-virtual·{v2},·Ljava/lang/String;->hashCode()I
  
199 ····move-result·v10219 ····move-result·v10
  
200 ····const/4·v11,·0x4220 ····const/4·v11,·0x4
  
201 ····const/4·v12,·0x3221 ····const/4·v12,·0x3
Offset 301, 15 lines modifiedOffset 321, 15 lines modified
  
301 ····if-eq·v9,·v13,·:cond_d321 ····if-eq·v9,·v13,·:cond_d
  
302 ····if-eq·v9,·v12,·:cond_8322 ····if-eq·v9,·v12,·:cond_8
  
303 ····if-eq·v9,·v11,·:cond_5323 ····if-eq·v9,·v11,·:cond_5
  
304 ····.line·276324 ····.line·282
305 ····new-instance·v3,·Ljava/lang/StringBuilder;325 ····new-instance·v3,·Ljava/lang/StringBuilder;
  
306 ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V326 ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V
  
307 ····const-string·v4,·"Unrecognized·action·"327 ····const-string·v4,·"Unrecognized·action·"
  
308 ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;328 ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
Offset 318, 20 lines modifiedOffset 338, 20 lines modified
  
318 ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;338 ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
319 ····move-result-object·v2339 ····move-result-object·v2
  
320 ····invoke-static·{v1,·v2},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I340 ····invoke-static·{v1,·v2},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
  
321 ····.line·277341 ····.line·283
322 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->finish()V342 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->finish()V
  
323 ····return-void343 ····return-void
  
324 ····.line·260344 ····.line·266
325 ····:cond_5345 ····:cond_5
326 ····new-instance·v2,·Ljava/lang/StringBuilder;346 ····new-instance·v2,·Ljava/lang/StringBuilder;
  
327 ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V347 ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V
  
328 ····const-string·v3,·"sessionId·"348 ····const-string·v3,·"sessionId·"
  
Offset 347, 108 lines modifiedOffset 367, 108 lines modified
  
347 ····move-result-object·v2367 ····move-result-object·v2
  
348 ····invoke-static·{v1,·v2},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I368 ····invoke-static·{v1,·v2},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
  
349 ····const/16·v1,·0x10e369 ····const/16·v1,·0x10e
  
350 ····.line·262370 ····.line·268
351 ····invoke-static·{v1,·v7,·v8},·Lcom/android/permissioncontroller/PermissionControllerStatsLog;->write(IJ)V371 ····invoke-static·{v1,·v7,·v8},·Lcom/android/permissioncontroller/PermissionControllerStatsLog;->write(IJ)V
  
352 ····.line·264372 ····.line·270
353 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isWear(Landroid/content/Context;)Z373 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isWear(Landroid/content/Context;)Z
  
354 ····move-result·v1374 ····move-result·v1
  
355 ····if-nez·v1,·:cond_7375 ····if-nez·v1,·:cond_7
  
356 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isAuto(Landroid/content/Context;)Z376 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isAuto(Landroid/content/Context;)Z
  
357 ····move-result·v1377 ····move-result·v1
  
358 ····if-nez·v1,·:cond_7378 ····if-nez·v1,·:cond_7
  
359 ····.line·265379 ····.line·271
360 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isTelevision(Landroid/content/Context;)Z380 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isTelevision(Landroid/content/Context;)Z
  
361 ····move-result·v1381 ····move-result·v1
  
362 ····if-eqz·v1,·:cond_6382 ····if-eqz·v1,·:cond_6
  
363 ····goto·:goto_2383 ····goto·:goto_2
  
364 ····.line·270384 ····.line·276
365 ····:cond_6385 ····:cond_6
366 ····invoke-static·{v7,·v8},·Lcom/android/permissioncontroller/permission/ui/handheld/AutoRevokeFragment;->createArgs(J)Landroid/os/Bundle;386 ····invoke-static·{v7,·v8},·Lcom/android/permissioncontroller/permission/ui/handheld/AutoRevokeFragment;->createArgs(J)Landroid/os/Bundle;
  
367 ····move-result-object·v1387 ····move-result-object·v1
  
368 ····const·v2,·0x7f0a0072388 ····const·v2,·0x7f0a0072
  
369 ····invoke-direct·{v0,·v1,·v2},·Lcom/android/permissioncontroller/permission/ui/ManagePermissionsActivity;->setNavGraph(Landroid/os/Bundle;I)V389 ····invoke-direct·{v0,·v1,·v2},·Lcom/android/permissioncontroller/permission/ui/ManagePermissionsActivity;->setNavGraph(Landroid/os/Bundle;I)V
  
370 ····return-void390 ····return-void
  
371 ····.line·267391 ····.line·273
372 ····:cond_7392 ····:cond_7
373 ····:goto_2393 ····:goto_2
374 ····invoke-static·{},·Lcom/android/permissioncontroller/permission/ui/handheld/AutoRevokeFragment;->newInstance()Lcom/android/permissioncontroller/permission/ui/handheld/AutoRevokeFragment;394 ····invoke-static·{},·Lcom/android/permissioncontroller/permission/ui/handheld/AutoRevokeFragment;->newInstance()Lcom/android/permissioncontroller/permission/ui/handheld/AutoRevokeFragment;
  
375 ····move-result-object·v1395 ····move-result-object·v1
  
376 ····.line·268396 ····.line·274
377 ····invoke-static·{v7,·v8},·Lcom/android/permissioncontroller/permission/ui/handheld/AutoRevokeFragment;->createArgs(J)Landroid/os/Bundle;397 ····invoke-static·{v7,·v8},·Lcom/android/permissioncontroller/permission/ui/handheld/AutoRevokeFragment;->createArgs(J)Landroid/os/Bundle;
  
378 ····move-result-object·v2398 ····move-result-object·v2
  
379 ····invoke-virtual·{v1,·v2},·Landroidx/fragment/app/Fragment;->setArguments(Landroid/os/Bundle;)V399 ····invoke-virtual·{v1,·v2},·Landroidx/fragment/app/Fragment;->setArguments(Landroid/os/Bundle;)V
  
380 ····goto/16·:goto_6400 ····goto/16·:goto_6
  
381 ····.line·225401 ····.line·231
382 ····:cond_8402 ····:cond_8
383 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;403 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;
  
384 ····move-result-object·v2404 ····move-result-object·v2
  
385 ····invoke-virtual·{v2,·v5},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;405 ····invoke-virtual·{v2,·v5},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
  
386 ····move-result-object·v2406 ····move-result-object·v2
  
387 ····.line·227407 ····.line·233
388 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;408 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;
  
389 ····move-result-object·v4409 ····move-result-object·v4
  
390 ····invoke-virtual·{v4,·v10},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;410 ····invoke-virtual·{v4,·v10},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
  
391 ····move-result-object·v4411 ····move-result-object·v4
  
392 ····if-nez·v4,·:cond_9412 ····if-nez·v4,·:cond_9
  
393 ····.line·231413 ····.line·237
394 ····:try_start_0414 ····:try_start_0
395 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getPackageManager()Landroid/content/pm/PackageManager;415 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getPackageManager()Landroid/content/pm/PackageManager;
  
396 ····move-result-object·v6416 ····move-result-object·v6
  
397 ····invoke-virtual·{v6,·v2,·v3},·Landroid/content/pm/PackageManager;->getPermissionInfo(Ljava/lang/String;I)Landroid/content/pm/PermissionInfo;417 ····invoke-virtual·{v6,·v2,·v3},·Landroid/content/pm/PackageManager;->getPermissionInfo(Ljava/lang/String;I)Landroid/content/pm/PermissionInfo;
  
398 ····move-result-object·v3418 ····move-result-object·v3
  
399 ····.line·233419 ····.line·239
400 ····invoke-static·{v3},·Lcom/android/permissioncontroller/permission/utils/Utils;->getGroupOfPermission(Landroid/content/pm/PermissionInfo;)Ljava/lang/String;420 ····invoke-static·{v3},·Lcom/android/permissioncontroller/permission/utils/Utils;->getGroupOfPermission(Landroid/content/pm/PermissionInfo;)Ljava/lang/String;
  
401 ····move-result-object·v4421 ····move-result-object·v4
402 ····:try_end_0422 ····:try_end_0
403 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0423 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0
  
404 ····goto·:goto_3424 ····goto·:goto_3
  
405 ····.line·235425 ····.line·241
406 ····:catch_0426 ····:catch_0
407 ····new-instance·v3,·Ljava/lang/StringBuilder;427 ····new-instance·v3,·Ljava/lang/StringBuilder;
  
408 ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V428 ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V
  
409 ····const-string·v6,·"Permission·"429 ····const-string·v6,·"Permission·"
  
Offset 470, 127 lines modifiedOffset 490, 127 lines modified
470 ····:goto_3490 ····:goto_3
471 ····if-nez·v2,·:cond_a491 ····if-nez·v2,·:cond_a
  
472 ····if-nez·v4,·:cond_a492 ····if-nez·v4,·:cond_a
  
473 ····const-string·v2,·"Missing·mandatory·argument·EXTRA_PERMISSION_NAME·orEXTRA_PERMISSION_GROUP_NAME"493 ····const-string·v2,·"Missing·mandatory·argument·EXTRA_PERMISSION_NAME·orEXTRA_PERMISSION_GROUP_NAME"
  
474 ····.line·240494 ····.line·246
475 ····invoke-static·{v1,·v2},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I495 ····invoke-static·{v1,·v2},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
  
476 ····.line·242496 ····.line·248
477 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->finish()V497 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->finish()V
  
478 ····return-void498 ····return-void
  
479 ····.line·245499 ····.line·251
480 ····:cond_a500 ····:cond_a
481 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isAuto(Landroid/content/Context;)Z501 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isAuto(Landroid/content/Context;)Z
  
482 ····move-result·v1502 ····move-result·v1
  
483 ····if-eqz·v1,·:cond_b503 ····if-eqz·v1,·:cond_b
  
484 ····.line·246504 ····.line·252
485 ····invoke-static·{v2},·Lcom/android/permissioncontroller/permission/ui/auto/AutoPermissionAppsFragment;->newInstance(Ljava/lang/String;)Lcom/android/permissioncontroller/permission/ui/auto/AutoPermissionAppsFragment;505 ····invoke-static·{v2},·Lcom/android/permissioncontroller/permission/ui/auto/AutoPermissionAppsFragment;->newInstance(Ljava/lang/String;)Lcom/android/permissioncontroller/permission/ui/auto/AutoPermissionAppsFragment;
  
486 ····move-result-object·v1506 ····move-result-object·v1
  
487 ····goto/16·:goto_6507 ····goto/16·:goto_6
  
488 ····.line·247508 ····.line·253
489 ····:cond_b509 ····:cond_b
490 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isTelevision(Landroid/content/Context;)Z510 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isTelevision(Landroid/content/Context;)Z
  
491 ····move-result·v1511 ····move-result·v1
  
492 ····if-eqz·v1,·:cond_c512 ····if-eqz·v1,·:cond_c
  
493 ····.line·249513 ····.line·255
494 ····invoke-static·{v2},·Lcom/android/permissioncontroller/permission/ui/television/PermissionAppsFragment;->newInstance(Ljava/lang/String;)Lcom/android/permissioncontroller/permission/ui/television/PermissionAppsFragment;514 ····invoke-static·{v2},·Lcom/android/permissioncontroller/permission/ui/television/PermissionAppsFragment;->newInstance(Ljava/lang/String;)Lcom/android/permissioncontroller/permission/ui/television/PermissionAppsFragment;
  
495 ····move-result-object·v1515 ····move-result-object·v1
  
496 ····goto/16·:goto_6516 ····goto/16·:goto_6
  
497 ····.line·252517 ····.line·258
498 ····:cond_c518 ····:cond_c
499 ····invoke-static·{v4,·v7,·v8},·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionAppsFragment;->createArgs(Ljava/lang/String;J)Landroid/os/Bundle;519 ····invoke-static·{v4,·v7,·v8},·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionAppsFragment;->createArgs(Ljava/lang/String;J)Landroid/os/Bundle;
  
500 ····move-result-object·v1520 ····move-result-object·v1
  
501 ····.line·253521 ····.line·259
502 ····invoke-virtual·{v1,·v5,·v2},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V522 ····invoke-virtual·{v1,·v5,·v2},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
  
503 ····const·v2,·0x7f0a0211523 ····const·v2,·0x7f0a0211
  
504 ····.line·254524 ····.line·260
505 ····invoke-direct·{v0,·v1,·v2},·Lcom/android/permissioncontroller/permission/ui/ManagePermissionsActivity;->setNavGraph(Landroid/os/Bundle;I)V525 ····invoke-direct·{v0,·v1,·v2},·Lcom/android/permissioncontroller/permission/ui/ManagePermissionsActivity;->setNavGraph(Landroid/os/Bundle;I)V
  
506 ····return-void526 ····return-void
  
507 ····.line·159527 ····.line·165
508 ····:cond_d528 ····:cond_d
509 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;529 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;
  
510 ····move-result-object·v2530 ····move-result-object·v2
  
511 ····invoke-virtual·{v2,·v14},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;531 ····invoke-virtual·{v2,·v14},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
  
512 ····move-result-object·v2532 ····move-result-object·v2
  
513 ····if-nez·v2,·:cond_e533 ····if-nez·v2,·:cond_e
  
514 ····const-string·v2,·"Missing·mandatory·argument·EXTRA_PACKAGE_NAME"534 ····const-string·v2,·"Missing·mandatory·argument·EXTRA_PACKAGE_NAME"
  
515 ····.line·161535 ····.line·167
516 ····invoke-static·{v1,·v2},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I536 ····invoke-static·{v1,·v2},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
  
517 ····.line·162537 ····.line·168
518 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->finish()V538 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->finish()V
  
519 ····return-void539 ····return-void
  
520 ····.line·166540 ····.line·172
521 ····:cond_e541 ····:cond_e
522 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;542 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;
  
523 ····move-result-object·v5543 ····move-result-object·v5
  
524 ····invoke-virtual·{v5,·v4},·Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;544 ····invoke-virtual·{v5,·v4},·Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;
  
525 ····move-result-object·v4545 ····move-result-object·v4
  
526 ····check-cast·v4,·Landroid/os/UserHandle;546 ····check-cast·v4,·Landroid/os/UserHandle;
  
527 ····if-nez·v4,·:cond_f547 ····if-nez·v4,·:cond_f
  
528 ····.line·168548 ····.line·174
529 ····invoke-static·{},·Landroid/os/UserHandle;->myUserId()I549 ····invoke-static·{},·Landroid/os/UserHandle;->myUserId()I
  
530 ····move-result·v4550 ····move-result·v4
  
531 ····invoke-static·{v4},·Landroid/os/UserHandle;->of(I)Landroid/os/UserHandle;551 ····invoke-static·{v4},·Landroid/os/UserHandle;->of(I)Landroid/os/UserHandle;
  
532 ····move-result-object·v4552 ····move-result-object·v4
  
533 ····.line·172553 ····.line·178
534 ····:cond_f554 ····:cond_f
535 ····:try_start_1555 ····:try_start_1
536 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getPackageManager()Landroid/content/pm/PackageManager;556 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getPackageManager()Landroid/content/pm/PackageManager;
  
537 ····move-result-object·v5557 ····move-result-object·v5
  
538 ····invoke-virtual·{v5,·v2,·v3,·v4},·Landroid/content/pm/PackageManager;->getApplicationInfoAsUser(Ljava/lang/String;ILandroid/os/UserHandle;)Landroid/content/pm/ApplicationInfo;558 ····invoke-virtual·{v5,·v2,·v3,·v4},·Landroid/content/pm/PackageManager;->getApplicationInfoAsUser(Ljava/lang/String;ILandroid/os/UserHandle;)Landroid/content/pm/ApplicationInfo;
  
539 ····move-result-object·v5559 ····move-result-object·v5
  
540 ····iget·v12,·v5,·Landroid/content/pm/ApplicationInfo;->uid:I560 ····iget·v12,·v5,·Landroid/content/pm/ApplicationInfo;->uid:I
  
541 ····.line·174561 ····.line·180
542 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;562 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;
  
543 ····move-result-object·v5563 ····move-result-object·v5
  
544 ····const-string·v6,·"android.intent.action.AUTO_REVOKE_PERMISSIONS"564 ····const-string·v6,·"android.intent.action.AUTO_REVOKE_PERMISSIONS"
  
545 ····const-wide/16·v9,·0x0565 ····const-wide/16·v9,·0x0
Offset 605, 15 lines modifiedOffset 625, 15 lines modified
  
605 ····const-string·v10,·"·uid·"625 ····const-string·v10,·"·uid·"
  
606 ····const-string·v11,·"sessionId:·"626 ····const-string·v11,·"sessionId:·"
  
607 ····if-eqz·v9,·:cond_10627 ····if-eqz·v9,·:cond_10
  
608 ····.line·178628 ····.line·184
609 ····:try_start_2629 ····:try_start_2
610 ····new-instance·v7,·Ljava/lang/StringBuilder;630 ····new-instance·v7,·Ljava/lang/StringBuilder;
  
611 ····invoke-direct·{v7},·Ljava/lang/StringBuilder;-><init>()V631 ····invoke-direct·{v7},·Ljava/lang/StringBuilder;-><init>()V
  
612 ····invoke-virtual·{v7,·v11},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;632 ····invoke-virtual·{v7,·v11},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
Offset 641, 40 lines modifiedOffset 661, 40 lines modified
  
641 ····move-object·v13,·v2661 ····move-object·v13,·v2
  
642 ····const/4·v1,·0x1662 ····const/4·v1,·0x1
  
643 ····move·v14,·v1663 ····move·v14,·v1
  
644 ····.line·181664 ····.line·187
645 ····invoke-static/range·{v9·..·v14},·Lcom/android/permissioncontroller/PermissionControllerStatsLog;->write(IJILjava/lang/String;I)V665 ····invoke-static/range·{v9·..·v14},·Lcom/android/permissioncontroller/PermissionControllerStatsLog;->write(IJILjava/lang/String;I)V
646 ····:try_end_2666 ····:try_end_2
647 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_2·..·:try_end_2}·:catch_1667 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_2·..·:try_end_2}·:catch_1
  
648 ····:catch_1668 ····:catch_1
649 ····move-wide·v7,·v5669 ····move-wide·v7,·v5
  
650 ····goto·:goto_4670 ····goto·:goto_4
  
651 ····.line·185671 ····.line·191
652 ····:cond_10672 ····:cond_10
653 ····:try_start_3673 ····:try_start_3
654 ····sget-object·v5,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils;674 ····sget-object·v5,·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->INSTANCE:Lcom/android/permissioncontroller/permission/utils/KotlinUtils;
  
655 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getApplication()Landroid/app/Application;675 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getApplication()Landroid/app/Application;
  
656 ····move-result-object·v6676 ····move-result-object·v6
  
657 ····invoke-virtual·{v5,·v6,·v2,·v4},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->isROrAutoRevokeEnabled(Landroid/app/Application;Ljava/lang/String;Landroid/os/UserHandle;)Z677 ····invoke-virtual·{v5,·v6,·v2,·v4},·Lcom/android/permissioncontroller/permission/utils/KotlinUtils;->isROrAutoRevokeEnabled(Landroid/app/Application;Ljava/lang/String;Landroid/os/UserHandle;)Z
  
658 ····move-result·v5678 ····move-result·v5
  
659 ····if-eqz·v5,·:cond_11679 ····if-eqz·v5,·:cond_11
  
660 ····.line·187680 ····.line·193
661 ····new-instance·v5,·Ljava/lang/StringBuilder;681 ····new-instance·v5,·Ljava/lang/StringBuilder;
  
662 ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V682 ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V
  
663 ····invoke-virtual·{v5,·v11},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;683 ····invoke-virtual·{v5,·v11},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
664 ····invoke-virtual·{v5,·v7,·v8},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;684 ····invoke-virtual·{v5,·v7,·v8},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
Offset 701, 165 lines modifiedOffset 721, 165 lines modified
  
701 ····move-object·v13,·v2721 ····move-object·v13,·v2
  
702 ····const/4·v1,·0x2722 ····const/4·v1,·0x2
  
703 ····move·v14,·v1723 ····move·v14,·v1
  
704 ····.line·190724 ····.line·196
705 ····invoke-static/range·{v9·..·v14},·Lcom/android/permissioncontroller/PermissionControllerStatsLog;->write(IJILjava/lang/String;I)V725 ····invoke-static/range·{v9·..·v14},·Lcom/android/permissioncontroller/PermissionControllerStatsLog;->write(IJILjava/lang/String;I)V
706 ····:try_end_3726 ····:try_end_3
707 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_3·..·:try_end_3}·:catch_2727 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_3·..·:try_end_3}·:catch_2
  
708 ····.line·199728 ····.line·205
709 ····:catch_2729 ····:catch_2
710 ····:cond_11730 ····:cond_11
711 ····:goto_4731 ····:goto_4
712 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;732 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;
  
713 ····move-result-object·v1733 ····move-result-object·v1
  
714 ····const-string·v5,·"com.android.permissioncontroller.extra.ALL_PERMISSIONS"734 ····const-string·v5,·"com.android.permissioncontroller.extra.ALL_PERMISSIONS"
  
715 ····invoke-virtual·{v1,·v5,·v3},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z735 ····invoke-virtual·{v1,·v5,·v3},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
  
716 ····move-result·v1736 ····move-result·v1
  
717 ····.line·203737 ····.line·209
718 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isAuto(Landroid/content/Context;)Z738 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isAuto(Landroid/content/Context;)Z
  
719 ····move-result·v3739 ····move-result·v3
  
720 ····if-eqz·v3,·:cond_13740 ····if-eqz·v3,·:cond_13
  
721 ····if-eqz·v1,·:cond_12741 ····if-eqz·v1,·:cond_12
  
722 ····.line·205742 ····.line·211
723 ····invoke-static·{v2,·v4},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAllAppPermissionsFragment;->newInstance(Ljava/lang/String;Landroid/os/UserHandle;)Lcom/android/permissioncontroller/permission/ui/auto/AutoAllAppPermissionsFragment;743 ····invoke-static·{v2,·v4},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAllAppPermissionsFragment;->newInstance(Ljava/lang/String;Landroid/os/UserHandle;)Lcom/android/permissioncontroller/permission/ui/auto/AutoAllAppPermissionsFragment;
  
724 ····move-result-object·v1744 ····move-result-object·v1
  
725 ····goto/16·:goto_6745 ····goto/16·:goto_6
  
726 ····.line·208746 ····.line·214
727 ····:cond_12747 ····:cond_12
728 ····invoke-static·{v2,·v4},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionsFragment;->newInstance(Ljava/lang/String;Landroid/os/UserHandle;)Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionsFragment;748 ····invoke-static·{v2,·v4},·Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionsFragment;->newInstance(Ljava/lang/String;Landroid/os/UserHandle;)Lcom/android/permissioncontroller/permission/ui/auto/AutoAppPermissionsFragment;
  
729 ····move-result-object·v1749 ····move-result-object·v1
  
730 ····goto/16·:goto_6750 ····goto/16·:goto_6
  
731 ····.line·211751 ····.line·217
732 ····:cond_13752 ····:cond_13
733 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isWear(Landroid/content/Context;)Z753 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isWear(Landroid/content/Context;)Z
  
734 ····move-result·v1754 ····move-result·v1
  
735 ····if-eqz·v1,·:cond_14755 ····if-eqz·v1,·:cond_14
  
736 ····.line·212756 ····.line·218
737 ····invoke-static·{v2},·Lcom/android/permissioncontroller/permission/ui/wear/AppPermissionsFragmentWear;->newInstance(Ljava/lang/String;)Lcom/android/permissioncontroller/permission/ui/wear/AppPermissionsFragmentWear;757 ····invoke-static·{v2},·Lcom/android/permissioncontroller/permission/ui/wear/AppPermissionsFragmentWear;->newInstance(Ljava/lang/String;)Lcom/android/permissioncontroller/permission/ui/wear/AppPermissionsFragmentWear;
  
738 ····move-result-object·v1758 ····move-result-object·v1
  
739 ····goto/16·:goto_6759 ····goto/16·:goto_6
  
740 ····.line·213760 ····.line·219
741 ····:cond_14761 ····:cond_14
742 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isTelevision(Landroid/content/Context;)Z762 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isTelevision(Landroid/content/Context;)Z
  
743 ····move-result·v1763 ····move-result·v1
  
744 ····if-eqz·v1,·:cond_15764 ····if-eqz·v1,·:cond_15
  
745 ····.line·215765 ····.line·221
746 ····invoke-static·{v2,·v4},·Lcom/android/permissioncontroller/permission/ui/television/AppPermissionsFragment;->newInstance(Ljava/lang/String;Landroid/os/UserHandle;)Lcom/android/permissioncontroller/permission/ui/television/AppPermissionsFragment;766 ····invoke-static·{v2,·v4},·Lcom/android/permissioncontroller/permission/ui/television/AppPermissionsFragment;->newInstance(Ljava/lang/String;Landroid/os/UserHandle;)Lcom/android/permissioncontroller/permission/ui/television/AppPermissionsFragment;
  
747 ····move-result-object·v1767 ····move-result-object·v1
  
748 ····goto/16·:goto_6768 ····goto/16·:goto_6
  
749 ····.line·217769 ····.line·223
750 ····:cond_15770 ····:cond_15
751 ····invoke-static·{v2,·v4,·v7,·v8,·v15},·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->createArgs(Ljava/lang/String;Landroid/os/UserHandle;JZ)Landroid/os/Bundle;771 ····invoke-static·{v2,·v4,·v7,·v8,·v15},·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionGroupsFragment;->createArgs(Ljava/lang/String;Landroid/os/UserHandle;JZ)Landroid/os/Bundle;
  
752 ····move-result-object·v1772 ····move-result-object·v1
  
753 ····const·v2,·0x7f0a0064773 ····const·v2,·0x7f0a0064
  
754 ····.line·219774 ····.line·225
755 ····invoke-direct·{v0,·v1,·v2},·Lcom/android/permissioncontroller/permission/ui/ManagePermissionsActivity;->setNavGraph(Landroid/os/Bundle;I)V775 ····invoke-direct·{v0,·v1,·v2},·Lcom/android/permissioncontroller/permission/ui/ManagePermissionsActivity;->setNavGraph(Landroid/os/Bundle;I)V
  
756 ····return-void776 ····return-void
  
757 ····.line·138777 ····.line·145
758 ····:cond_16778 ····:cond_16
759 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isAuto(Landroid/content/Context;)Z779 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isAuto(Landroid/content/Context;)Z
  
760 ····move-result·v1780 ····move-result·v1
  
761 ····if-nez·v1,·:cond_18781 ····if-nez·v1,·:cond_18
  
762 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isTelevision(Landroid/content/Context;)Z782 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isTelevision(Landroid/content/Context;)Z
  
763 ····move-result·v1783 ····move-result·v1
  
764 ····if-nez·v1,·:cond_18784 ····if-nez·v1,·:cond_18
  
765 ····.line·139785 ····.line·146
766 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isWear(Landroid/content/Context;)Z786 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isWear(Landroid/content/Context;)Z
  
767 ····move-result·v1787 ····move-result·v1
  
768 ····if-eqz·v1,·:cond_17788 ····if-eqz·v1,·:cond_17
  
769 ····goto·:goto_5789 ····goto·:goto_5
  
770 ····.line·146790 ····.line·152
771 ····:cond_17791 ····:cond_17
772 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;792 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;
  
773 ····move-result-object·v1793 ····move-result-object·v1
  
774 ····invoke-virtual·{v1,·v14},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;794 ····invoke-virtual·{v1,·v14},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
  
775 ····move-result-object·v9795 ····move-result-object·v9
  
776 ····.line·147796 ····.line·153
777 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;797 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;
  
778 ····move-result-object·v1798 ····move-result-object·v1
  
779 ····invoke-virtual·{v1,·v5},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;799 ····invoke-virtual·{v1,·v5},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
  
780 ····move-result-object·v1800 ····move-result-object·v1
  
781 ····.line·148801 ····.line·154
782 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;802 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;
  
783 ····move-result-object·v2803 ····move-result-object·v2
  
784 ····invoke-virtual·{v2,·v10},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;804 ····invoke-virtual·{v2,·v10},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
  
785 ····move-result-object·v11805 ····move-result-object·v11
  
786 ····.line·149806 ····.line·155
787 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;807 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;
  
788 ····move-result-object·v2808 ····move-result-object·v2
  
789 ····invoke-virtual·{v2,·v4},·Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;809 ····invoke-virtual·{v2,·v4},·Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;
  
790 ····move-result-object·v2810 ····move-result-object·v2
  
791 ····move-object·v12,·v2811 ····move-object·v12,·v2
  
792 ····check-cast·v12,·Landroid/os/UserHandle;812 ····check-cast·v12,·Landroid/os/UserHandle;
  
793 ····.line·150813 ····.line·156
794 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;814 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;
  
795 ····move-result-object·v2815 ····move-result-object·v2
  
796 ····const-string·v3,·"com.android.permissioncontroller.extra.CALLER_NAME"816 ····const-string·v3,·"com.android.permissioncontroller.extra.CALLER_NAME"
  
797 ····invoke-virtual·{v2,·v3},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;817 ····invoke-virtual·{v2,·v3},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
Offset 868, 121 lines modifiedOffset 888, 120 lines modified
  
868 ····const/16·v16,·0x0888 ····const/16·v16,·0x0
  
869 ····move-object·v10,·v1889 ····move-object·v10,·v1
  
870 ····move-wide·v14,·v7890 ····move-wide·v14,·v7
  
871 ····.line·152891 ····.line·158
872 ····invoke-static/range·{v9·..·v16},·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionFragment;->createArgs(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/os/UserHandle;Ljava/lang/String;JLjava/lang/String;)Landroid/os/Bundle;892 ····invoke-static/range·{v9·..·v16},·Lcom/android/permissioncontroller/permission/ui/handheld/AppPermissionFragment;->createArgs(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/os/UserHandle;Ljava/lang/String;JLjava/lang/String;)Landroid/os/Bundle;
  
873 ····move-result-object·v1893 ····move-result-object·v1
  
874 ····const·v2,·0x7f0a0063894 ····const·v2,·0x7f0a0063
  
875 ····.line·154895 ····.line·160
876 ····invoke-direct·{v0,·v1,·v2},·Lcom/android/permissioncontroller/permission/ui/ManagePermissionsActivity;->setNavGraph(Landroid/os/Bundle;I)V896 ····invoke-direct·{v0,·v1,·v2},·Lcom/android/permissioncontroller/permission/ui/ManagePermissionsActivity;->setNavGraph(Landroid/os/Bundle;I)V
  
877 ····return-void897 ····return-void
  
878 ····.line·140898 ····.line·147
879 ····:cond_18899 ····:cond_18
880 ····:goto_5900 ····:goto_5
881 ····new-instance·v1,·Landroid/content/Intent;901 ····new-instance·v1,·Landroid/content/Intent;
  
882 ····const-class·v2,·Lcom/android/permissioncontroller/permission/ui/legacy/AppPermissionActivity;902 ····const-class·v2,·Lcom/android/permissioncontroller/permission/ui/legacy/AppPermissionActivity;
  
883 ····invoke-direct·{v1,·v0,·v2},·Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V903 ····invoke-direct·{v1,·v0,·v2},·Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
  
884 ····.line·141904 ····.line·148
885 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;905 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->getIntent()Landroid/content/Intent;
  
886 ····move-result-object·v2906 ····move-result-object·v2
  
887 ····invoke-virtual·{v2},·Landroid/content/Intent;->getExtras()Landroid/os/Bundle;907 ····invoke-virtual·{v2},·Landroid/content/Intent;->getExtras()Landroid/os/Bundle;
  
888 ····move-result-object·v2908 ····move-result-object·v2
  
889 ····invoke-virtual·{v1,·v2},·Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;909 ····invoke-virtual·{v1,·v2},·Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;
  
 910 ····const/4·v2,·0x5
890 ····.line·142 
891 ····invoke-virtual·{v0,·v1},·Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V 
  
892 ····.line·143911 ····.line·149
893 ····invoke-virtual/range·{p0·..·p0},·Landroid/app/Activity;->finish()V912 ····invoke-virtual·{v0,·v1,·v2},·Landroidx/activity/ComponentActivity;->startActivityForResult(Landroid/content/Intent;I)V
  
894 ····return-void913 ····return-void
  
895 ····.line·120914 ····.line·127
896 ····:cond_19915 ····:cond_19
897 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isAuto(Landroid/content/Context;)Z916 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isAuto(Landroid/content/Context;)Z
  
898 ····move-result·v1917 ····move-result·v1
  
899 ····if-eqz·v1,·:cond_1a918 ····if-eqz·v1,·:cond_1a
  
900 ····.line·121919 ····.line·128
901 ····invoke-static·{},·Lcom/android/permissioncontroller/permission/ui/auto/AutoManageStandardPermissionsFragment;->newInstance()Lcom/android/permissioncontroller/permission/ui/auto/AutoManageStandardPermissionsFragment;920 ····invoke-static·{},·Lcom/android/permissioncontroller/permission/ui/auto/AutoManageStandardPermissionsFragment;->newInstance()Lcom/android/permissioncontroller/permission/ui/auto/AutoManageStandardPermissionsFragment;
  
902 ····move-result-object·v1921 ····move-result-object·v1
  
903 ····goto·:goto_6922 ····goto·:goto_6
  
904 ····.line·122923 ····.line·129
905 ····:cond_1a924 ····:cond_1a
906 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isTelevision(Landroid/content/Context;)Z925 ····invoke-static/range·{p0·..·p0},·Lcom/android/permissioncontroller/DeviceUtils;->isTelevision(Landroid/content/Context;)Z
  
907 ····move-result·v1926 ····move-result·v1
  
908 ····if-eqz·v1,·:cond_1c927 ····if-eqz·v1,·:cond_1c
  
909 ····.line·125928 ····.line·132
910 ····invoke-static·{},·Lcom/android/permissioncontroller/permission/ui/television/ManagePermissionsFragment;->newInstance()Lcom/android/permissioncontroller/permission/ui/television/ManagePermissionsFragment;929 ····invoke-static·{},·Lcom/android/permissioncontroller/permission/ui/television/ManagePermissionsFragment;->newInstance()Lcom/android/permissioncontroller/permission/ui/television/ManagePermissionsFragment;
  
911 ····move-result-object·v1930 ····move-result-object·v1
  
912 ····:goto_6931 ····:goto_6
913 ····if-eqz·v1,·:cond_1b932 ····if-eqz·v1,·:cond_1b
  
914 ····.line·286933 ····.line·292
915 ····invoke-virtual/range·{p0·..·p0},·Landroidx/fragment/app/FragmentActivity;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;934 ····invoke-virtual/range·{p0·..·p0},·Landroidx/fragment/app/FragmentActivity;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;
  
916 ····move-result-object·v2935 ····move-result-object·v2
  
917 ····invoke-virtual·{v2},·Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;936 ····invoke-virtual·{v2},·Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;
  
918 ····move-result-object·v2937 ····move-result-object·v2
  
919 ····const·v3,·0x1020002938 ····const·v3,·0x1020002
  
920 ····invoke-virtual·{v2,·v3,·v1},·Landroidx/fragment/app/FragmentTransaction;->replace(ILandroidx/fragment/app/Fragment;)Landroidx/fragment/app/FragmentTransaction;939 ····invoke-virtual·{v2,·v3,·v1},·Landroidx/fragment/app/FragmentTransaction;->replace(ILandroidx/fragment/app/Fragment;)Landroidx/fragment/app/FragmentTransaction;
  
921 ····.line·287940 ····.line·293
922 ····invoke-virtual·{v2},·Landroidx/fragment/app/FragmentTransaction;->commit()I941 ····invoke-virtual·{v2},·Landroidx/fragment/app/FragmentTransaction;->commit()I
  
923 ····:cond_1b942 ····:cond_1b
924 ····return-void943 ····return-void
  
925 ····.line·127944 ····.line·134
926 ····:cond_1c945 ····:cond_1c
927 ····new-instance·v1,·Landroid/os/Bundle;946 ····new-instance·v1,·Landroid/os/Bundle;
  
928 ····invoke-direct·{v1},·Landroid/os/Bundle;-><init>()V947 ····invoke-direct·{v1},·Landroid/os/Bundle;-><init>()V
  
929 ····.line·128948 ····.line·135
930 ····invoke-virtual·{v1,·v4,·v7,·v8},·Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V949 ····invoke-virtual·{v1,·v4,·v7,·v8},·Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
  
931 ····const·v2,·0x7f0d00b7950 ····const·v2,·0x7f0d00b7
  
932 ····.line·129951 ····.line·136
933 ····invoke-virtual·{v0,·v2},·Landroidx/activity/ComponentActivity;->setContentView(I)V952 ····invoke-virtual·{v0,·v2},·Landroidx/activity/ComponentActivity;->setContentView(I)V
  
934 ····const·v2,·0x7f0a01e9953 ····const·v2,·0x7f0a01e9
  
935 ····.line·130954 ····.line·137
936 ····invoke-static·{v0,·v2},·Landroidx/navigation/Navigation;->findNavController(Landroid/app/Activity;I)Landroidx/navigation/NavController;955 ····invoke-static·{v0,·v2},·Landroidx/navigation/Navigation;->findNavController(Landroid/app/Activity;I)Landroidx/navigation/NavController;
  
937 ····move-result-object·v2956 ····move-result-object·v2
  
938 ····const/high16·v3,·0x7f0f0000957 ····const/high16·v3,·0x7f0f0000
  
939 ····invoke-virtual·{v2,·v3,·v1},·Landroidx/navigation/NavController;->setGraph(ILandroid/os/Bundle;)V958 ····invoke-virtual·{v2,·v3,·v1},·Landroidx/navigation/NavController;->setGraph(ILandroid/os/Bundle;)V
Offset 998, 46 lines modifiedOffset 1017, 46 lines modified
998 ········0x6ef24a0f·->·:sswitch_01017 ········0x6ef24a0f·->·:sswitch_0
999 ····.end·sparse-switch1018 ····.end·sparse-switch
1000 .end·method1019 .end·method
  
1001 .method·public·onOptionsItemSelected(Landroid/view/MenuItem;)Z1020 .method·public·onOptionsItemSelected(Landroid/view/MenuItem;)Z
1002 ····.locals·21021 ····.locals·2
  
1003 ····.line·3131022 ····.line·319
1004 ····invoke-static·{p0},·Lcom/android/permissioncontroller/DeviceUtils;->isAuto(Landroid/content/Context;)Z1023 ····invoke-static·{p0},·Lcom/android/permissioncontroller/DeviceUtils;->isAuto(Landroid/content/Context;)Z
  
1005 ····move-result·v01024 ····move-result·v0
  
1006 ····if-eqz·v0,·:cond_11025 ····if-eqz·v0,·:cond_1
  
1007 ····.line·3141026 ····.line·320
1008 ····invoke-interface·{p1},·Landroid/view/MenuItem;->getItemId()I1027 ····invoke-interface·{p1},·Landroid/view/MenuItem;->getItemId()I
  
1009 ····move-result·v01028 ····move-result·v0
  
1010 ····const·v1,·0x102002c1029 ····const·v1,·0x102002c
  
1011 ····if-eq·v0,·v1,·:cond_01030 ····if-eq·v0,·v1,·:cond_0
  
1012 ····.line·3191031 ····.line·325
1013 ····invoke-super·{p0,·p1},·Landroid/app/Activity;->onOptionsItemSelected(Landroid/view/MenuItem;)Z1032 ····invoke-super·{p0,·p1},·Landroid/app/Activity;->onOptionsItemSelected(Landroid/view/MenuItem;)Z
  
1014 ····move-result·p11033 ····move-result·p1
  
1015 ····return·p11034 ····return·p1
  
1016 ····.line·3161035 ····.line·322
1017 ····:cond_01036 ····:cond_0
1018 ····invoke-virtual·{p0},·Landroidx/activity/ComponentActivity;->onBackPressed()V1037 ····invoke-virtual·{p0},·Landroidx/activity/ComponentActivity;->onBackPressed()V
  
1019 ····const/4·p1,·0x11038 ····const/4·p1,·0x1
  
1020 ····return·p11039 ····return·p1
  
1021 ····.line·3221040 ····.line·328
1022 ····:cond_11041 ····:cond_1
1023 ····invoke-super·{p0,·p1},·Landroid/app/Activity;->onOptionsItemSelected(Landroid/view/MenuItem;)Z1042 ····invoke-super·{p0,·p1},·Landroid/app/Activity;->onOptionsItemSelected(Landroid/view/MenuItem;)Z
  
1024 ····move-result·p11043 ····move-result·p1
  
1025 ····return·p11044 ····return·p1
1026 .end·method1045 .end·method