| | | |
Offset 284, 36 lines modified | Offset 284, 36 lines modified |
284 | ················final·int·n; | 284 | ················final·int·n; |
285 | ················final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState·=·new·GrantPermissionsViewModel$GroupState(groupWithPerm2,·contains,·(List)null,·0,·n,·(DefaultConstructorMarker)null); | 285 | ················final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState·=·new·GrantPermissionsViewModel$GroupState(groupWithPerm2,·contains,·(List)null,·0,·n,·(DefaultConstructorMarker)null); |
286 | ················n·=·12; | 286 | ················n·=·12; |
287 | ················value·=·grantPermissionsViewModel$GroupState; | 287 | ················value·=·grantPermissionsViewModel$GroupState; |
288 | ················linkedHashMap.put(to,·grantPermissionsViewModel$GroupState); | 288 | ················linkedHashMap.put(to,·grantPermissionsViewModel$GroupState); |
289 | ············} | 289 | ············} |
290 | ············final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState2·=·(GrantPermissionsViewModel$GroupState)value; | 290 | ············final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState2·=·(GrantPermissionsViewModel$GroupState)value; |
291 | ············int·state$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController·=·grantPermissionsViewModel$GroupState2.getState$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(); | 291 | ············int·state$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController·=·grantPermissionsViewModel$GroupState2.getState$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(); |
292 | ············final·Bundle·storedState·=·this.storedState; | 292 | ············final·Bundle·storedState·=·this.storedState; |
293 | ············if·(storedState·!=·null·&&·state$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController·!=·0)·{ | 293 | ············if·(storedState·!=·null·&&·state$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController·!=·0)·{ |
294 | ················state$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController·=·storedState.getInt(this.getInstanceStateKey(groupWithPerm2.getPermGroupName(),·contains),·0); | 294 | ················state$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController·=·storedState.getInt(this.getInstanceStateKey(groupWithPerm2.getPermGroupName(),·contains),·0); |
295 | ············} | 295 | ············} |
296 | ············final·ArrayList<String>·list4·=·new·ArrayList<String>(); | 296 | ············final·ArrayList<String>·list4·=·new·ArrayList<String>(); |
297 | ············for·(final·String·next2·:·list3)·{ | 297 | ············for·(final·String·next2·:·list3)·{ |
298 | ················if·(groupWithPerm2.getPermissions().containsKey(next2))·{ | 298 | ················if·(groupWithPerm2.getPermissions().containsKey(next2))·{ |
299 | ····················list4.add(next2); | 299 | ····················list4.add(next2); |
300 | ················} | 300 | ················} |
301 | ············} | 301 | ············} |
302 | ············final·int·groupState·=·this.getGroupState(s2,·groupWithPerm2,·list4); | 302 | ············final·int·groupState·=·this.getGroupState(s2,·groupWithPerm2,·list4); |
303 | ············if·(groupState·!=·0)·{ | 303 | ············if·(groupState·!=·0)·{ |
304 | ················state$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController·=·groupState; | 304 | ················state$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController·=·groupState; |
305 | ············} | 305 | ············} |
306 | ············if·(this.permGroupsToSkip.contains(groupWithPerm2.getPermGroupName()))·{ | 306 | ············if·(this.permGroupsToSkip.contains(groupWithPerm2.getPermGroupName()))·{ |
307 | ················state$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController·=·3; | 307 | ················state$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController·=·3; |
308 | ············} | 308 | ············} |
309 | ············if·(state$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController·!=·0)·{ | 309 | ············if·(state$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController·!=·0)·{ |
310 | ················grantPermissionsViewModel$GroupState2.setState$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(state$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController); | 310 | ················grantPermissionsViewModel$GroupState2.setState$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(state$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController); |
311 | ············} | 311 | ············} |
312 | ············grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController().add(s2); | 312 | ············grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController().add(s2); |
313 | ············list2·=·list; | 313 | ············list2·=·list; |
314 | ········} | 314 | ········} |
315 | ········return·linkedHashMap; | 315 | ········return·linkedHashMap; |
316 | ····} | 316 | ····} |
317 | ···· | 317 | ···· |
318 | ····private·final·int·getStateFromPolicy(final·String·s,·final·LightAppPermGroup·lightAppPermGroup)·{ | 318 | ····private·final·int·getStateFromPolicy(final·String·s,·final·LightAppPermGroup·lightAppPermGroup)·{ |
319 | ········final·boolean·contains·=·lightAppPermGroup.getBackgroundPermNames().contains(s); | 319 | ········final·boolean·contains·=·lightAppPermGroup.getBackgroundPermNames().contains(s); |
Offset 418, 104 lines modified | Offset 418, 104 lines modified |
418 | ············final·boolean·b·=·true; | 418 | ············final·boolean·b·=·true; |
419 | ············final·int·n3·=·13; | 419 | ············final·int·n3·=·13; |
420 | ············if·(n·!=·(b·?·1·:·0))·{ | 420 | ············if·(n·!=·(b·?·1·:·0))·{ |
421 | ················if·(n·!=·2)·{ | 421 | ················if·(n·!=·2)·{ |
422 | ····················if·(n·==·3)·{ | 422 | ····················if·(n·==·3)·{ |
423 | ························n·=·14; | 423 | ························n·=·14; |
424 | ························if·(grantPermissionsViewModel$GroupState·!=·null)·{ | 424 | ························if·(grantPermissionsViewModel$GroupState·!=·null)·{ |
425 | ····························this.reportRequestResult(grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·n); | 425 | ····························this.reportRequestResult(grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·n); |
426 | ························} | 426 | ························} |
427 | ························if·(grantPermissionsViewModel$GroupState2·!=·null)·{ | 427 | ························if·(grantPermissionsViewModel$GroupState2·!=·null)·{ |
428 | ····························this.reportRequestResult(grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·n); | 428 | ····························this.reportRequestResult(grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·n); |
429 | ························} | 429 | ························} |
430 | ····················} | 430 | ····················} |
431 | ················} | 431 | ················} |
432 | ················else·{ | 432 | ················else·{ |
433 | ····················if·(grantPermissionsViewModel$GroupState·!=·null)·{ | 433 | ····················if·(grantPermissionsViewModel$GroupState·!=·null)·{ |
434 | ························this.reportRequestResult(grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·n3); | 434 | ························this.reportRequestResult(grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·n3); |
435 | ····················} | 435 | ····················} |
436 | ····················if·(grantPermissionsViewModel$GroupState2·!=·null)·{ | 436 | ····················if·(grantPermissionsViewModel$GroupState2·!=·null)·{ |
437 | ························this.reportRequestResult(grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·n3); | 437 | ························this.reportRequestResult(grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·n3); |
438 | ····················} | 438 | ····················} |
439 | ················} | 439 | ················} |
440 | ············} | 440 | ············} |
441 | ············else·{ | 441 | ············else·{ |
442 | ················if·(grantPermissionsViewModel$GroupState·!=·null)·{ | 442 | ················if·(grantPermissionsViewModel$GroupState·!=·null)·{ |
443 | ····················this.reportRequestResult(grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·n2); | 443 | ····················this.reportRequestResult(grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·n2); |
444 | ················} | 444 | ················} |
445 | ················if·(grantPermissionsViewModel$GroupState2·!=·null)·{ | 445 | ················if·(grantPermissionsViewModel$GroupState2·!=·null)·{ |
446 | ····················this.reportRequestResult(grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·n3); | 446 | ····················this.reportRequestResult(grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·n3); |
447 | ················} | 447 | ················} |
448 | ············} | 448 | ············} |
449 | ········} | 449 | ········} |
450 | ········else·{ | 450 | ········else·{ |
451 | ············if·(grantPermissionsViewModel$GroupState·!=·null)·{ | 451 | ············if·(grantPermissionsViewModel$GroupState·!=·null)·{ |
452 | ················this.reportRequestResult(grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·n2); | 452 | ················this.reportRequestResult(grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·n2); |
453 | ············} | 453 | ············} |
454 | ············if·(grantPermissionsViewModel$GroupState2·!=·null)·{ | 454 | ············if·(grantPermissionsViewModel$GroupState2·!=·null)·{ |
455 | ················this.reportRequestResult(grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·n2); | 455 | ················this.reportRequestResult(grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·n2); |
456 | ············} | 456 | ············} |
457 | ········} | 457 | ········} |
458 | ····} | 458 | ····} |
459 | ···· | 459 | ···· |
460 | ····private·final·void·onPermissionGrantResultSingleState(final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState,·final·List·list,·final·boolean·b,·final·boolean·b2,·final·boolean·b3)·{ | 460 | ····private·final·void·onPermissionGrantResultSingleState(final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState,·final·List·list,·final·boolean·b,·final·boolean·b2,·final·boolean·b3)·{ |
461 | ········if·(grantPermissionsViewModel$GroupState.getState$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController()·!=·0)·{ | 461 | ········if·(grantPermissionsViewModel$GroupState.getState$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController()·!=·0)·{ |
462 | ············return; | 462 | ············return; |
463 | ········} | 463 | ········} |
464 | ········int·n; | 464 | ········int·n; |
465 | ········if·(b)·{ | 465 | ········if·(b)·{ |
466 | ············if·(b2)·{ | 466 | ············if·(b2)·{ |
467 | ················n·=·10; | 467 | ················n·=·10; |
468 | ············} | 468 | ············} |
469 | ············else·{ | 469 | ············else·{ |
470 | ················n·=·4; | 470 | ················n·=·4; |
471 | ············} | 471 | ············} |
472 | ············final·boolean·background$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController·=·grantPermissionsViewModel$GroupState.isBackground$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(); | 472 | ············final·boolean·background$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController·=·grantPermissionsViewModel$GroupState.isBackground$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(); |
473 | ············final·int·state$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController·=·1; | 473 | ············final·int·state$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController·=·1; |
474 | ············if·(background$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController)·{ | 474 | ············if·(background$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController)·{ |
475 | ················KotlinUtils.INSTANCE.grantBackgroundRuntimePermissions(this.app,·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController()); | 475 | ················KotlinUtils.INSTANCE.grantBackgroundRuntimePermissions(this.app,·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController()); |
476 | ············} | 476 | ············} |
477 | ············else·{ | 477 | ············else·{ |
478 | ················final·String·s·=·"android.permission.ACCESS_FINE_LOCATION"; | 478 | ················final·String·s·=·"android.permission.ACCESS_FINE_LOCATION"; |
479 | ················if·(list·==·null)·{ | 479 | ················if·(list·==·null)·{ |
480 | ····················final·KotlinUtils·instance·=·KotlinUtils.INSTANCE; | 480 | ····················final·KotlinUtils·instance·=·KotlinUtils.INSTANCE; |
481 | ····················instance.grantForegroundRuntimePermissions(this.app,·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·b2); | 481 | ····················instance.grantForegroundRuntimePermissions(this.app,·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·b2); |
482 | ····················if·(grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController().contains(s))·{ | 482 | ····················if·(grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController().contains(s))·{ |
483 | ························instance.setFlagsWhenLocationAccuracyChanged(this.app,·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·(boolean)(state$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController·!=·0)); | 483 | ························instance.setFlagsWhenLocationAccuracyChanged(this.app,·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·(boolean)(state$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController·!=·0)); |
484 | ····················} | 484 | ····················} |
485 | ················} | 485 | ················} |
486 | ················else·{ | 486 | ················else·{ |
487 | ····················final·KotlinUtils·instance2·=·KotlinUtils.INSTANCE; | 487 | ····················final·KotlinUtils·instance2·=·KotlinUtils.INSTANCE; |
488 | ····················final·LightAppPermGroup·grantForegroundRuntimePermissions·=·instance2.grantForegroundRuntimePermissions(this.app,·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·list,·b2); | 488 | ····················final·LightAppPermGroup·grantForegroundRuntimePermissions·=·instance2.grantForegroundRuntimePermissions(this.app,·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·list,·b2); |
489 | ····················if·(!b2·||·grantForegroundRuntimePermissions.isOneTime())·{ | 489 | ····················if·(!b2·||·grantForegroundRuntimePermissions.isOneTime())·{ |
490 | ························instance2.setFlagsWhenLocationAccuracyChanged(this.app,·grantForegroundRuntimePermissions,·list.contains((Object)s)); | 490 | ························instance2.setFlagsWhenLocationAccuracyChanged(this.app,·grantForegroundRuntimePermissions,·list.contains((Object)s)); |
491 | ····················} | 491 | ····················} |
492 | ················} | 492 | ················} |
493 | ············} | 493 | ············} |
494 | ············grantPermissionsViewModel$GroupState.setState$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(state$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController); | 494 | ············grantPermissionsViewModel$GroupState.setState$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(state$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController); |
495 | ········} | 495 | ········} |
496 | ········else·{ | 496 | ········else·{ |
497 | ············if·(grantPermissionsViewModel$GroupState.isBackground$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController())·{ | 497 | ············if·(grantPermissionsViewModel$GroupState.isBackground$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController())·{ |
498 | ················KotlinUtils.revokeBackgroundRuntimePermissions$default(KotlinUtils.INSTANCE,·this.app,·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·b3,·false,·grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·8,·(Object)null); | 498 | ················KotlinUtils.revokeBackgroundRuntimePermissions$default(KotlinUtils.INSTANCE,·this.app,·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·b3,·false,·grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·8,·(Object)null); |
499 | ············} | 499 | ············} |
500 | ············else·if·(list·==·null)·{ | 500 | ············else·if·(list·==·null)·{ |
501 | ················KotlinUtils.INSTANCE.revokeForegroundRuntimePermissions(this.app,·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·b3,·b2,·grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController()); | 501 | ················KotlinUtils.INSTANCE.revokeForegroundRuntimePermissions(this.app,·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·b3,·b2,·grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController()); |
502 | ············} | 502 | ············} |
503 | ············else·{ | 503 | ············else·{ |
504 | ················KotlinUtils.INSTANCE.revokeForegroundRuntimePermissions(this.app,·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·b3,·b2,·list); | 504 | ················KotlinUtils.INSTANCE.revokeForegroundRuntimePermissions(this.app,·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·b3,·b2,·list); |
505 | ············} | 505 | ············} |
506 | ············if·(b3)·{ | 506 | ············if·(b3)·{ |
507 | ················n·=·7; | 507 | ················n·=·7; |
508 | ············} | 508 | ············} |
509 | ············else·{ | 509 | ············else·{ |
510 | ················n·=·6; | 510 | ················n·=·6; |
511 | ············} | 511 | ············} |
512 | ············grantPermissionsViewModel$GroupState.setState$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(2); | 512 | ············grantPermissionsViewModel$GroupState.setState$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(2); |
513 | ········} | 513 | ········} |
514 | ········this.reportRequestResult(grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·n); | 514 | ········this.reportRequestResult(grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·n); |
515 | ········this.requestInfosLiveData.update(); | 515 | ········this.requestInfosLiveData.update(); |
516 | ····} | 516 | ····} |
517 | ···· | 517 | ···· |
518 | ····private·final·void·reportRequestResult(final·String·str,·final·int·i)·{ | 518 | ····private·final·void·reportRequestResult(final·String·str,·final·int·i)·{ |
519 | ········final·boolean·b·=·this.requestedPermissions.contains(str)·^·true; | 519 | ········final·boolean·b·=·this.requestedPermissions.contains(str)·^·true; |
520 | ········final·String·log_TAG·=·this.LOG_TAG; | 520 | ········final·String·log_TAG·=·this.LOG_TAG; |
521 | ········final·StringBuilder·sb·=·new·StringBuilder(); | 521 | ········final·StringBuilder·sb·=·new·StringBuilder(); |
Offset 649, 15 lines modified | Offset 649, 15 lines modified |
649 | ········if·(this.groupStates.isEmpty())·{ | 649 | ········if·(this.groupStates.isEmpty())·{ |
650 | ············return; | 650 | ············return; |
651 | ········} | 651 | ········} |
652 | ········final·Map·groupStates·=·this.groupStates; | 652 | ········final·Map·groupStates·=·this.groupStates; |
653 | ········final·ArrayList·list·=·new·ArrayList<LightAppPermGroup>(groupStates.size()); | 653 | ········final·ArrayList·list·=·new·ArrayList<LightAppPermGroup>(groupStates.size()); |
654 | ········final·Iterator<Map.Entry<K,·GrantPermissionsViewModel$GroupState>>·iterator·=·groupStates.entrySet().iterator(); | 654 | ········final·Iterator<Map.Entry<K,·GrantPermissionsViewModel$GroupState>>·iterator·=·groupStates.entrySet().iterator(); |
655 | ········while·(iterator.hasNext())·{ | 655 | ········while·(iterator.hasNext())·{ |
656 | ············list.add(((GrantPermissionsViewModel$GroupState)((Map.Entry<K,·GrantPermissionsViewModel$GroupState>)iterator.next()).getValue()).getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController()); | 656 | ············list.add(((GrantPermissionsViewModel$GroupState)((Map.Entry<K,·GrantPermissionsViewModel$GroupState>)iterator.next()).getValue()).getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController()); |
657 | ········} | 657 | ········} |
658 | ········final·String·packageName·=·this.packageName; | 658 | ········final·String·packageName·=·this.packageName; |
659 | ········final·LightPackageInfo·packageInfo·=·this.packageInfo; | 659 | ········final·LightPackageInfo·packageInfo·=·this.packageInfo; |
660 | ········if·(packageInfo·!=·null)·{ | 660 | ········if·(packageInfo·!=·null)·{ |
661 | ············SafetyNetLogger.logPermissionsRequested(packageName,·packageInfo.getUid(),·(List)list); | 661 | ············SafetyNetLogger.logPermissionsRequested(packageName,·packageInfo.getUid(),·(List)list); |
662 | ············return; | 662 | ············return; |
663 | ········} | 663 | ········} |
Offset 720, 26 lines modified | Offset 720, 26 lines modified |
720 | ····················this.onPermissionGrantResultSingleState(grantPermissionsViewModel$GroupState2,·list,·true,·false,·false); | 720 | ····················this.onPermissionGrantResultSingleState(grantPermissionsViewModel$GroupState2,·list,·true,·false,·false); |
721 | ················} | 721 | ················} |
722 | ············} | 722 | ············} |
723 | ············return; | 723 | ············return; |
724 | ········} | 724 | ········} |
725 | ········final·int·n2·=·11; | 725 | ········final·int·n2·=·11; |
726 | ········if·(grantPermissionsViewModel$GroupState·!=·null)·{ | 726 | ········if·(grantPermissionsViewModel$GroupState·!=·null)·{ |
727 | ············this.reportRequestResult(grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·n2); | 727 | ············this.reportRequestResult(grantPermissionsViewModel$GroupState.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·n2); |
728 | ········} | 728 | ········} |
729 | ········if·(grantPermissionsViewModel$GroupState2·!=·null)·{ | 729 | ········if·(grantPermissionsViewModel$GroupState2·!=·null)·{ |
730 | ············this.reportRequestResult(grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(),·n2); | 730 | ············this.reportRequestResult(grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(),·n2); |
731 | ········} | 731 | ········} |
732 | ····} | 732 | ····} |
733 | ···· | 733 | ···· |
734 | ····public·final·void·saveInstanceState(final·Bundle·bundle)·{ | 734 | ····public·final·void·saveInstanceState(final·Bundle·bundle)·{ |
735 | ········Intrinsics.checkNotNullParameter((Object)bundle,·"outState"); | 735 | ········Intrinsics.checkNotNullParameter((Object)bundle,·"outState"); |
736 | ········for·(final·Map.Entry<Pair,·V>·entry·:·this.groupStates.entrySet())·{ | 736 | ········for·(final·Map.Entry<Pair,·V>·entry·:·this.groupStates.entrySet())·{ |
737 | ············final·Pair·pair·=·(Pair)entry.getKey(); | 737 | ············final·Pair·pair·=·(Pair)entry.getKey(); |
738 | ············bundle.putInt(this.getInstanceStateKey((String)pair.component1(),·(boolean)pair.component2()),·((GrantPermissionsViewModel$GroupState)entry.getValue()).getState$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController()); | 738 | ············bundle.putInt(this.getInstanceStateKey((String)pair.component1(),·(boolean)pair.component2()),·((GrantPermissionsViewModel$GroupState)entry.getValue()).getState$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController()); |
739 | ········} | 739 | ········} |
740 | ····} | 740 | ····} |
741 | ···· | 741 | ···· |
742 | ····public·final·void·sendDirectlyToSettings(final·Activity·activity,·final·String·s)·{ | 742 | ····public·final·void·sendDirectlyToSettings(final·Activity·activity,·final·String·s)·{ |
743 | ········Intrinsics.checkNotNullParameter((Object)activity,·"activity"); | 743 | ········Intrinsics.checkNotNullParameter((Object)activity,·"activity"); |
744 | ········Intrinsics.checkNotNullParameter((Object)s,·"groupName"); | 744 | ········Intrinsics.checkNotNullParameter((Object)s,·"groupName"); |
745 | ········if·(this.activityResultCallback·==·null)·{ | 745 | ········if·(this.activityResultCallback·==·null)·{ |