Offset 155, 46 lines modifiedOffset 155, 46 lines modified
155 ············list2.add(e4);155 ············list2.add(e4);
156 ········}156 ········}
157 ········final·ArraySet·one_TIME_PERMISSION_GROUPS·=·new·ArraySet();157 ········final·ArraySet·one_TIME_PERMISSION_GROUPS·=·new·ArraySet();
158 ········(ONE_TIME_PERMISSION_GROUPS·=·one_TIME_PERMISSION_GROUPS).add((Object)e1);158 ········(ONE_TIME_PERMISSION_GROUPS·=·one_TIME_PERMISSION_GROUPS).add((Object)e1);
159 ········one_TIME_PERMISSION_GROUPS.add((Object)e2);159 ········one_TIME_PERMISSION_GROUPS.add((Object)e2);
160 ········one_TIME_PERMISSION_GROUPS.add((Object)e3);160 ········one_TIME_PERMISSION_GROUPS.add((Object)e3);
161 ········final·ArrayMap·perm_GROUP_REQUEST_RES·=·new·ArrayMap();161 ········final·ArrayMap·perm_GROUP_REQUEST_RES·=·new·ArrayMap();
162 ········(PERM_GROUP_REQUEST_RES·=·perm_GROUP_REQUEST_RES).put((Object)s,·(Object)2131886479);162 ········(PERM_GROUP_REQUEST_RES·=·perm_GROUP_REQUEST_RES).put((Object)s,·(Object)2131886477);
163 ········perm_GROUP_REQUEST_RES.put((Object)e1,·(Object)2131886482);163 ········perm_GROUP_REQUEST_RES.put((Object)e1,·(Object)2131886480);
164 ········perm_GROUP_REQUEST_RES.put((Object)s5,·(Object)2131886484);164 ········perm_GROUP_REQUEST_RES.put((Object)s5,·(Object)2131886482);
165 ········perm_GROUP_REQUEST_RES.put((Object)s2,·(Object)2131886474);165 ········perm_GROUP_REQUEST_RES.put((Object)s2,·(Object)2131886472);
166 ········perm_GROUP_REQUEST_RES.put((Object)s3,·(Object)2131886487);166 ········perm_GROUP_REQUEST_RES.put((Object)s3,·(Object)2131886485);
167 ········perm_GROUP_REQUEST_RES.put((Object)s4,·(Object)2131886488);167 ········perm_GROUP_REQUEST_RES.put((Object)s4,·(Object)2131886486);
168 ········perm_GROUP_REQUEST_RES.put((Object)e3,·(Object)2131886483);168 ········perm_GROUP_REQUEST_RES.put((Object)e3,·(Object)2131886481);
169 ········perm_GROUP_REQUEST_RES.put((Object)s8,·(Object)2131886473);169 ········perm_GROUP_REQUEST_RES.put((Object)s8,·(Object)2131886471);
170 ········perm_GROUP_REQUEST_RES.put((Object)e2,·(Object)2131886476);170 ········perm_GROUP_REQUEST_RES.put((Object)e2,·(Object)2131886474);
171 ········perm_GROUP_REQUEST_RES.put((Object)s6,·(Object)2131886475);171 ········perm_GROUP_REQUEST_RES.put((Object)s6,·(Object)2131886473);
172 ········perm_GROUP_REQUEST_RES.put((Object)s7,·(Object)2131886485);172 ········perm_GROUP_REQUEST_RES.put((Object)s7,·(Object)2131886483);
173 ········perm_GROUP_REQUEST_RES.put((Object)s9,·(Object)2131886486);173 ········perm_GROUP_REQUEST_RES.put((Object)s9,·(Object)2131886484);
174 ········final·ArrayMap·perm_GROUP_REQUEST_DETAIL_RES·=·new·ArrayMap();174 ········final·ArrayMap·perm_GROUP_REQUEST_DETAIL_RES·=·new·ArrayMap();
175 ········(PERM_GROUP_REQUEST_DETAIL_RES·=·perm_GROUP_REQUEST_DETAIL_RES).put((Object)e1,·(Object)2131886491);175 ········(PERM_GROUP_REQUEST_DETAIL_RES·=·perm_GROUP_REQUEST_DETAIL_RES).put((Object)e1,·(Object)2131886489);
176 ········perm_GROUP_REQUEST_DETAIL_RES.put((Object)e3,·(Object)2131886492);176 ········perm_GROUP_REQUEST_DETAIL_RES.put((Object)e3,·(Object)2131886490);
177 ········perm_GROUP_REQUEST_DETAIL_RES.put((Object)e2,·(Object)2131886490);177 ········perm_GROUP_REQUEST_DETAIL_RES.put((Object)e2,·(Object)2131886488);
178 ········final·ArrayMap·perm_GROUP_BACKGROUND_REQUEST_RES·=·new·ArrayMap();178 ········final·ArrayMap·perm_GROUP_BACKGROUND_REQUEST_RES·=·new·ArrayMap();
179 ········(PERM_GROUP_BACKGROUND_REQUEST_RES·=·perm_GROUP_BACKGROUND_REQUEST_RES).put((Object)e1,·(Object)2131886468);179 ········(PERM_GROUP_BACKGROUND_REQUEST_RES·=·perm_GROUP_BACKGROUND_REQUEST_RES).put((Object)e1,·(Object)2131886466);
180 ········perm_GROUP_BACKGROUND_REQUEST_RES.put((Object)e3,·(Object)2131886469);180 ········perm_GROUP_BACKGROUND_REQUEST_RES.put((Object)e3,·(Object)2131886467);
181 ········perm_GROUP_BACKGROUND_REQUEST_RES.put((Object)e2,·(Object)2131886467);181 ········perm_GROUP_BACKGROUND_REQUEST_RES.put((Object)e2,·(Object)2131886465);
182 ········final·ArrayMap·perm_GROUP_BACKGROUND_REQUEST_DETAIL_RES·=·new·ArrayMap();182 ········final·ArrayMap·perm_GROUP_BACKGROUND_REQUEST_DETAIL_RES·=·new·ArrayMap();
183 ········(PERM_GROUP_BACKGROUND_REQUEST_DETAIL_RES·=·perm_GROUP_BACKGROUND_REQUEST_DETAIL_RES).put((Object)e1,·(Object)2131886471);183 ········(PERM_GROUP_BACKGROUND_REQUEST_DETAIL_RES·=·perm_GROUP_BACKGROUND_REQUEST_DETAIL_RES).put((Object)e1,·(Object)2131886469);
184 ········perm_GROUP_BACKGROUND_REQUEST_DETAIL_RES.put((Object)e3,·(Object)2131886472);184 ········perm_GROUP_BACKGROUND_REQUEST_DETAIL_RES.put((Object)e3,·(Object)2131886470);
185 ········perm_GROUP_BACKGROUND_REQUEST_DETAIL_RES.put((Object)e2,·(Object)2131886470);185 ········perm_GROUP_BACKGROUND_REQUEST_DETAIL_RES.put((Object)e2,·(Object)2131886468);
186 ········final·ArrayMap·perm_GROUP_UPGRADE_REQUEST_RES·=·new·ArrayMap();186 ········final·ArrayMap·perm_GROUP_UPGRADE_REQUEST_RES·=·new·ArrayMap();
187 ········(PERM_GROUP_UPGRADE_REQUEST_RES·=·perm_GROUP_UPGRADE_REQUEST_RES).put((Object)e1,·(Object)2131886494);187 ········(PERM_GROUP_UPGRADE_REQUEST_RES·=·perm_GROUP_UPGRADE_REQUEST_RES).put((Object)e1,·(Object)2131886492);
188 ········perm_GROUP_UPGRADE_REQUEST_RES.put((Object)e3,·(Object)2131886495);188 ········perm_GROUP_UPGRADE_REQUEST_RES.put((Object)e3,·(Object)2131886493);
189 ········perm_GROUP_UPGRADE_REQUEST_RES.put((Object)e2,·(Object)2131886493);189 ········perm_GROUP_UPGRADE_REQUEST_RES.put((Object)e2,·(Object)2131886491);
190 ········final·ArrayMap·perm_GROUP_UPGRADE_REQUEST_DETAIL_RES·=·new·ArrayMap();190 ········final·ArrayMap·perm_GROUP_UPGRADE_REQUEST_DETAIL_RES·=·new·ArrayMap();
191 ········(PERM_GROUP_UPGRADE_REQUEST_DETAIL_RES·=·perm_GROUP_UPGRADE_REQUEST_DETAIL_RES).put((Object)e1,·(Object)2131886497);191 ········(PERM_GROUP_UPGRADE_REQUEST_DETAIL_RES·=·perm_GROUP_UPGRADE_REQUEST_DETAIL_RES).put((Object)e1,·(Object)2131886495);
192 ········perm_GROUP_UPGRADE_REQUEST_DETAIL_RES.put((Object)e3,·(Object)2131886498);192 ········perm_GROUP_UPGRADE_REQUEST_DETAIL_RES.put((Object)e3,·(Object)2131886496);
193 ········perm_GROUP_UPGRADE_REQUEST_DETAIL_RES.put((Object)e2,·(Object)2131886496);193 ········perm_GROUP_UPGRADE_REQUEST_DETAIL_RES.put((Object)e2,·(Object)2131886494);
194 ········Utils.sUserContexts·=·new·ArrayMap();194 ········Utils.sUserContexts·=·new·ArrayMap();
195 ····}195 ····}
196 ····196 ····
197 ····public·static·Drawable·applyTint(final·Context·context,·final·int·n,·final·int·n2)·{197 ····public·static·Drawable·applyTint(final·Context·context,·final·int·n,·final·int·n2)·{
198 ········return·applyTint(context,·context.getDrawable(n),·n2);198 ········return·applyTint(context,·context.getDrawable(n),·n2);
199 ····}199 ····}
200 ····200 ····
Offset 493, 51 lines modifiedOffset 493, 51 lines modified
493 ················break;493 ················break;
494 ············}494 ············}
495 ········}495 ········}
496 ········switch·(n2)·{496 ········switch·(n2)·{
497 ············default:·{497 ············default:·{
498 ················final·Object[]·array·=·new·Object[n];498 ················final·Object[]·array·=·new·Object[n];
499 ················array[0]·=·charSequence;499 ················array[0]·=·charSequence;
500 ················return·context.getString(2131886510,·array);500 ················return·context.getString(2131886508,·array);
501 ············}501 ············}
502 ············case·11:·{502 ············case·11:·{
503 ················return·context.getString(2131886516);503 ················return·context.getString(2131886514);
504 ············}504 ············}
505 ············case·10:·{505 ············case·10:·{
506 ················return·context.getString(2131886513);506 ················return·context.getString(2131886511);
507 ············}507 ············}
508 ············case·9:·{508 ············case·9:·{
509 ················return·context.getString(2131886512);509 ················return·context.getString(2131886510);
510 ············}510 ············}
511 ············case·8:·{511 ············case·8:·{
512 ················return·context.getString(2131886517);512 ················return·context.getString(2131886515);
513 ············}513 ············}
514 ············case·7:·{514 ············case·7:·{
515 ················return·context.getString(2131886511);515 ················return·context.getString(2131886509);
516 ············}516 ············}
517 ············case·6:·{517 ············case·6:·{
518 ················return·context.getString(2131886515);518 ················return·context.getString(2131886513);
519 ············}519 ············}
520 ············case·5:·{520 ············case·5:·{
521 ················return·context.getString(2131886505);521 ················return·context.getString(2131886503);
522 ············}522 ············}
523 ············case·4:·{523 ············case·4:·{
524 ················return·context.getString(2131886508);524 ················return·context.getString(2131886506);
525 ············}525 ············}
526 ············case·3:·{526 ············case·3:·{
527 ················return·context.getString(2131886507);527 ················return·context.getString(2131886505);
528 ············}528 ············}
529 ············case·2:·{529 ············case·2:·{
530 ················return·context.getString(2131886506);530 ················return·context.getString(2131886504);
531 ············}531 ············}
532 ············case·1:·{532 ············case·1:·{
533 ················return·context.getString(2131886514);533 ················return·context.getString(2131886512);
534 ············}534 ············}
535 ············case·0:·{535 ············case·0:·{
536 ················return·context.getString(2131886509);536 ················return·context.getString(2131886507);
537 ············}537 ············}
538 ········}538 ········}
539 ····}539 ····}
540 ····540 ····
541 ····public·static·List·getPermissionInfosForGroup(final·PackageManager·packageManager,·final·String·s)·{541 ····public·static·List·getPermissionInfosForGroup(final·PackageManager·packageManager,·final·String·s)·{
542 ········final·List·queryPermissionsByGroup·=·packageManager.queryPermissionsByGroup(s,·0);542 ········final·List·queryPermissionsByGroup·=·packageManager.queryPermissionsByGroup(s,·0);
543 ········queryPermissionsByGroup.addAll(getPlatformPermissionsOfGroup(packageManager,·s));543 ········queryPermissionsByGroup.addAll(getPlatformPermissionsOfGroup(packageManager,·s));
Offset 638, 29 lines modifiedOffset 638, 29 lines modified
638 ············b·=·(((isNonIsolatedStorage(context,·s)·?·1·:·0)·^·n2)·!=·0x0);638 ············b·=·(((isNonIsolatedStorage(context,·s)·?·1·:·0)·^·n2)·!=·0x0);
639 ········}639 ········}
640 ········catch·(PackageManager$NameNotFoundException·ex)·{640 ········catch·(PackageManager$NameNotFoundException·ex)·{
641 ············b·=·false;641 ············b·=·false;
642 ········}642 ········}
643 ········if·(string.equals("android.permission-group.STORAGE")·&&·b)·{643 ········if·(string.equals("android.permission-group.STORAGE")·&&·b)·{
644 ············final·Locale·value·=·context.getResources().getConfiguration().getLocales().get(0);644 ············final·Locale·value·=·context.getResources().getConfiguration().getLocales().get(0);
645 ············string·=·context.getString(2131886489);645 ············string·=·context.getString(2131886487);
646 ············final·Object[]·args·=·new·Object[n2];646 ············final·Object[]·args·=·new·Object[n2];
647 ············args[0]·=·loadGroupDescription;647 ············args[0]·=·loadGroupDescription;
648 ············return·(CharSequence)Html.fromHtml(String.format(value,·string,·args),·0);648 ············return·(CharSequence)Html.fromHtml(String.format(value,·string,·args),·0);
649 ········}649 ········}
650 ········if·(n·!=·0)·{650 ········if·(n·!=·0)·{
651 ············final·Resources·resources·=·context.getResources();651 ············final·Resources·resources·=·context.getResources();
652 ············final·Object[]·array·=·new·Object[n2];652 ············final·Object[]·array·=·new·Object[n2];
653 ············array[0]·=·loadGroupDescription;653 ············array[0]·=·loadGroupDescription;
654 ············return·(CharSequence)Html.fromHtml(resources.getString(n,·array),·0);654 ············return·(CharSequence)Html.fromHtml(resources.getString(n,·array),·0);
655 ········}655 ········}
656 ········final·Object[]·array2·=·{·loadGroupDescription,·null·};656 ········final·Object[]·array2·=·{·loadGroupDescription,·null·};
657 ········loadGroupDescription·=·loadGroupDescription(context,·string,·context.getPackageManager());657 ········loadGroupDescription·=·loadGroupDescription(context,·string,·context.getPackageManager());
658 ········array2[n2]·=·loadGroupDescription;658 ········array2[n2]·=·loadGroupDescription;
659 ········return·(CharSequence)Html.fromHtml(context.getString(2131886571,·array2),·0);659 ········return·(CharSequence)Html.fromHtml(context.getString(2131886570,·array2),·0);
660 ····}660 ····}
661 ····661 ····
662 ····public·static·List·getRuntimePlatformPermissionNames()·{662 ····public·static·List·getRuntimePlatformPermissionNames()·{
663 ········return·new·ArrayList(Utils.PLATFORM_PERMISSIONS.keySet());663 ········return·new·ArrayList(Utils.PLATFORM_PERMISSIONS.keySet());
664 ····}664 ····}
665 ····665 ····
666 ····public·static·CharSequence·getSettingsLabelForNotifications(final·PackageManager·packageManager)·{666 ····public·static·CharSequence·getSettingsLabelForNotifications(final·PackageManager·packageManager)·{
Offset 875, 15 lines modifiedOffset 875, 15 lines modified
875 ····}875 ····}
876 ····876 ····
877 ····public·static·void·prepareSearchMenuItem(final·Menu·menu,·final·Context·context)·{877 ····public·static·void·prepareSearchMenuItem(final·Menu·menu,·final·Context·context)·{
878 ········final·Intent·intent·=·new·Intent("android.settings.APP_SEARCH_SETTINGS");878 ········final·Intent·intent·=·new·Intent("android.settings.APP_SEARCH_SETTINGS");
879 ········if·(context.getPackageManager().resolveActivity(intent,·0)·==·null)·{879 ········if·(context.getPackageManager().resolveActivity(intent,·0)·==·null)·{
880 ············return;880 ············return;
881 ········}881 ········}
882 ········final·MenuItem·add·=·menu.add(0,·0,·0,·2131886638);882 ········final·MenuItem·add·=·menu.add(0,·0,·0,·2131886637);
883 ········add.setIcon(2131230925);883 ········add.setIcon(2131230925);
884 ········add.setShowAsAction(2);884 ········add.setShowAsAction(2);
885 ········add.setOnMenuItemClickListener((MenuItem$OnMenuItemClickListener)new·Utils$$ExternalSyntheticLambda0(context,·intent));885 ········add.setOnMenuItemClickListener((MenuItem$OnMenuItemClickListener)new·Utils$$ExternalSyntheticLambda0(context,·intent));
886 ····}886 ····}
887 ····887 ····
888 ····public·static·boolean·shouldShowPermission(final·Context·context,·final·AppPermissionGroup·appPermissionGroup)·{888 ····public·static·boolean·shouldShowPermission(final·Context·context,·final·AppPermissionGroup·appPermissionGroup)·{
889 ········return·appPermissionGroup.isGrantingAllowed()·&&·(!appPermissionGroup.getDeclaringPackage().equals("android")·||·isModernPermissionGroup(appPermissionGroup.getName()));889 ········return·appPermissionGroup.isGrantingAllowed()·&&·(!appPermissionGroup.getDeclaringPackage().equals("android")·||·isModernPermissionGroup(appPermissionGroup.getName()));