Offset 95, 15 lines modifiedOffset 95, 15 lines modified
95 ········final·PreferenceCategory·preferenceCategory·=·new·PreferenceCategory(context);95 ········final·PreferenceCategory·preferenceCategory·=·new·PreferenceCategory(context);
96 ········((Preference)preferenceCategory).setKey("_AUTO_REVOKE_KEY");96 ········((Preference)preferenceCategory).setKey("_AUTO_REVOKE_KEY");
97 ········((PreferenceGroup)preferenceScreen).addPreference((Preference)preferenceCategory);97 ········((PreferenceGroup)preferenceScreen).addPreference((Preference)preferenceCategory);
98 ········final·SwitchPreference·switchPreference·=·new·SwitchPreference(context);98 ········final·SwitchPreference·switchPreference·=·new·SwitchPreference(context);
99 ········((Preference)switchPreference).setOnPreferenceClickListener((Preference$OnPreferenceClickListener)new·AppPermissionGroupsFragment$$ExternalSyntheticLambda4(this,·switchPreference));99 ········((Preference)switchPreference).setOnPreferenceClickListener((Preference$OnPreferenceClickListener)new·AppPermissionGroupsFragment$$ExternalSyntheticLambda4(this,·switchPreference));
100 ········int·title;100 ········int·title;
101 ········if·(HibernationPolicyKt.isHibernationEnabled())·{101 ········if·(HibernationPolicyKt.isHibernationEnabled())·{
102 ············title·=·2131886669;102 ············title·=·2131886668;
103 ········}103 ········}
104 ········else·{104 ········else·{
105 ············title·=·2131886199;105 ············title·=·2131886199;
106 ········}106 ········}
107 ········((Preference)switchPreference).setTitle(title);107 ········((Preference)switchPreference).setTitle(title);
108 ········((Preference)switchPreference).setKey("_AUTO_REVOKE_SWITCH_KEY");108 ········((Preference)switchPreference).setKey("_AUTO_REVOKE_SWITCH_KEY");
109 ········((PreferenceGroup)preferenceCategory).addPreference((Preference)switchPreference);109 ········((PreferenceGroup)preferenceCategory).addPreference((Preference)switchPreference);
Offset 113, 15 lines modifiedOffset 113, 15 lines modified
113 ········}113 ········}
114 ········else·{114 ········else·{
115 ············o·=·new·Preference(context);115 ············o·=·new·Preference(context);
116 ········}116 ········}
117 ········((Preference)o).setIcon(Utils.applyTint((Context)((Fragment)this).getActivity(),·2131230910,·16843817));117 ········((Preference)o).setIcon(Utils.applyTint((Context)((Fragment)this).getActivity(),·2131230910,·16843817));
118 ········((Preference)o).setKey("_AUTO_REVOKE_SUMMARY_KEY");118 ········((Preference)o).setKey("_AUTO_REVOKE_SUMMARY_KEY");
119 ········if·(HibernationPolicyKt.isHibernationEnabled())·{119 ········if·(HibernationPolicyKt.isHibernationEnabled())·{
120 ············((Preference)preferenceCategory).setTitle(2131886668);120 ············((Preference)preferenceCategory).setTitle(2131886667);
121 ········}121 ········}
122 ········((PreferenceGroup)preferenceCategory).addPreference((Preference)o);122 ········((PreferenceGroup)preferenceCategory).addPreference((Preference)o);
123 ····}123 ····}
124 ····124 ····
125 ····private·static·void·bindUi(final·SettingsWithLargeHeader·settingsWithLargeHeader,·final·String·s,·final·UserHandle·userHandle)·{125 ····private·static·void·bindUi(final·SettingsWithLargeHeader·settingsWithLargeHeader,·final·String·s,·final·UserHandle·userHandle)·{
126 ········final·FragmentActivity·activity·=·((Fragment)settingsWithLargeHeader).getActivity();126 ········final·FragmentActivity·activity·=·((Fragment)settingsWithLargeHeader).getActivity();
127 ········final·boolean·booleanExtra·=·((Activity)activity).getIntent().getBooleanExtra("hideInfoButton",·false);127 ········final·boolean·booleanExtra·=·((Activity)activity).getIntent().getBooleanExtra("hideInfoButton",·false);
Offset 184, 24 lines modifiedOffset 184, 24 lines modified
184 ····}184 ····}
185 ····185 ····
186 ····private·void·logAppPermissionGroupsFragmentView()·{186 ····private·void·logAppPermissionGroupsFragmentView()·{
187 ········final·Context·context·=·((PreferenceFragmentCompat)this).getPreferenceManager().getContext();187 ········final·Context·context·=·((PreferenceFragmentCompat)this).getPreferenceManager().getContext();
188 ········if·(context·==·null)·{188 ········if·(context·==·null)·{
189 ············return;189 ············return;
190 ········}190 ········}
191 ········final·String·string·=·context.getString(2131886535);191 ········final·String·string·=·context.getString(2131886533);
192 ········final·long·long1·=·((Fragment)this).getArguments().getLong("com.android.permissioncontroller.extra.SESSION_ID",·0L);192 ········final·long·long1·=·((Fragment)this).getArguments().getLong("com.android.permissioncontroller.extra.SESSION_ID",·0L);
193 ········final·long·nextLong·=·new·Random().nextLong();193 ········final·long·nextLong·=·new·Random().nextLong();
194 ········final·PreferenceCategory·preferenceCategory·=·(PreferenceCategory)((PreferenceFragmentCompat)this).findPreference((CharSequence)Category.ALLOWED.getCategoryName());194 ········final·PreferenceCategory·preferenceCategory·=·(PreferenceCategory)((PreferenceFragmentCompat)this).findPreference((CharSequence)Category.ALLOWED.getCategoryName());
195 ········final·int·preferenceCount·=·((PreferenceGroup)preferenceCategory).getPreferenceCount();195 ········final·int·preferenceCount·=·((PreferenceGroup)preferenceCategory).getPreferenceCount();
196 ········int·i·=·0;196 ········int·i·=·0;
197 ········int·n;197 ········int·n;
198 ········for·(int·j·=·0;·j·<·preferenceCount;·j·=·n·+·1)·{198 ········for·(int·j·=·0;·j·<·preferenceCount;·j·=·n·+·1)·{
199 ············final·Preference·preference·=·((PreferenceGroup)preferenceCategory).getPreference(j);199 ············final·Preference·preference·=·((PreferenceGroup)preferenceCategory).getPreference(j);
200 ············if·(preference.getTitle().equals(((Fragment)this).getString(2131886435)))·{200 ············if·(preference.getTitle().equals(((Fragment)this).getString(2131886433)))·{
201 ················n·=·j;201 ················n·=·j;
202 ············}202 ············}
203 ············else·{203 ············else·{
204 ················int·n2;204 ················int·n2;
205 ················if·(preference.getSummary()·!=·null·&&·string.contentEquals(preference.getSummary()))·{205 ················if·(preference.getSummary()·!=·null·&&·string.contentEquals(preference.getSummary()))·{
206 ····················n2·=·2;206 ····················n2·=·2;
207 ················}207 ················}
Offset 211, 15 lines modifiedOffset 211, 15 lines modified
211 ················final·String·key·=·preference.getKey();211 ················final·String·key·=·preference.getKey();
212 ················n·=·j;212 ················n·=·j;
213 ················this.logAppPermissionsFragmentViewEntry(long1,·nextLong,·key,·n2);213 ················this.logAppPermissionsFragmentViewEntry(long1,·nextLong,·key,·n2);
214 ············}214 ············}
215 ········}215 ········}
216 ········for·(PreferenceCategory·preferenceCategory2·=·(PreferenceCategory)((PreferenceFragmentCompat)this).findPreference((CharSequence)Category.DENIED.getCategoryName());·i·<·((PreferenceGroup)preferenceCategory2).getPreferenceCount();·++i)·{216 ········for·(PreferenceCategory·preferenceCategory2·=·(PreferenceCategory)((PreferenceFragmentCompat)this).findPreference((CharSequence)Category.DENIED.getCategoryName());·i·<·((PreferenceGroup)preferenceCategory2).getPreferenceCount();·++i)·{
217 ············final·Preference·preference2·=·((PreferenceGroup)preferenceCategory2).getPreference(i);217 ············final·Preference·preference2·=·((PreferenceGroup)preferenceCategory2).getPreference(i);
218 ············if·(!preference2.getTitle().equals(((Fragment)this).getString(2131886436)))·{218 ············if·(!preference2.getTitle().equals(((Fragment)this).getString(2131886434)))·{
219 ················this.logAppPermissionsFragmentViewEntry(long1,·nextLong,·preference2.getKey(),·3);219 ················this.logAppPermissionsFragmentViewEntry(long1,·nextLong,·preference2.getKey(),·3);
220 ············}220 ············}
221 ········}221 ········}
222 ····}222 ····}
223 ····223 ····
224 ····private·void·logAppPermissionsFragmentViewEntry(final·long·lng,·final·long·lng2,·final·String·str,·final·int·i)·{224 ····private·void·logAppPermissionsFragmentViewEntry(final·long·lng,·final·long·lng2,·final·String·str,·final·int·i)·{
225 ········final·Integer·packageUid·=·KotlinUtils.INSTANCE.getPackageUid(((Activity)((Fragment)this).getActivity()).getApplication(),·this.mPackageName,·this.mUser);225 ········final·Integer·packageUid·=·KotlinUtils.INSTANCE.getPackageUid(((Activity)((Fragment)this).getActivity()).getApplication(),·this.mPackageName,·this.mUser);
Offset 391, 15 lines modifiedOffset 391, 15 lines modified
391 ································array2[0]·=·permissionLastAccessSummaryTimestamp.getFirst();391 ································array2[0]·=·permissionLastAccessSummaryTimestamp.getFirst();
392 ································((Preference)permissionControlPreference3).setSummary((CharSequence)((Fragment)this).getString(n9,·array2));392 ································((Preference)permissionControlPreference3).setSummary((CharSequence)((Fragment)this).getString(n9,·array2));
393 ····························}393 ····························}
394 ························}394 ························}
395 ························else·if·(n2·!=·n7)·{395 ························else·if·(n2·!=·n7)·{
396 ····························if·(n2·!=·n6)·{396 ····························if·(n2·!=·n6)·{
397 ································if·(n2·!=·n5)·{397 ································if·(n2·!=·n5)·{
398 ····································((Preference)permissionControlPreference3).setSummary(2131886532);398 ····································((Preference)permissionControlPreference3).setSummary(2131886530);
399 ································}399 ································}
400 ································else·{400 ································else·{
401 ····································((Preference)permissionControlPreference3).setSummary(2131886173);401 ····································((Preference)permissionControlPreference3).setSummary(2131886173);
402 ································}402 ································}
403 ····························}403 ····························}
404 ····························else·{404 ····························else·{
405 ································final·int·n10·=·2131886169;405 ································final·int·n10·=·2131886169;
Offset 414, 15 lines modifiedOffset 414, 15 lines modified
414 ····························array4[0]·=·permissionLastAccessSummaryTimestamp.getFirst();414 ····························array4[0]·=·permissionLastAccessSummaryTimestamp.getFirst();
415 ····························((Preference)permissionControlPreference3).setSummary((CharSequence)((Fragment)this).getString(n11,·array4));415 ····························((Preference)permissionControlPreference3).setSummary((CharSequence)((Fragment)this).getString(n11,·array4));
416 ························}416 ························}
417 ····················}417 ····················}
418 ····················else·if·(n2·!=·n7)·{418 ····················else·if·(n2·!=·n7)·{
419 ························if·(n2·!=·n6)·{419 ························if·(n2·!=·n6)·{
420 ····························if·(n2·!=·n5)·{420 ····························if·(n2·!=·n5)·{
421 ································((Preference)permissionControlPreference3).setSummary(2131886534);421 ································((Preference)permissionControlPreference3).setSummary(2131886532);
422 ····························}422 ····························}
423 ····························else·{423 ····························else·{
424 ································((Preference)permissionControlPreference3).setSummary(2131886175);424 ································((Preference)permissionControlPreference3).setSummary(2131886175);
425 ····························}425 ····························}
426 ························}426 ························}
427 ························else·{427 ························else·{
428 ····························final·int·n12·=·2131886171;428 ····························final·int·n12·=·2131886171;
Offset 437, 15 lines modifiedOffset 437, 15 lines modified
437 ························array6[0]·=·permissionLastAccessSummaryTimestamp.getFirst();437 ························array6[0]·=·permissionLastAccessSummaryTimestamp.getFirst();
438 ························((Preference)permissionControlPreference3).setSummary((CharSequence)((Fragment)this).getString(n13,·array6));438 ························((Preference)permissionControlPreference3).setSummary((CharSequence)((Fragment)this).getString(n13,·array6));
439 ····················}439 ····················}
440 ················}440 ················}
441 ················else·if·(n2·!=·n7)·{441 ················else·if·(n2·!=·n7)·{
442 ····················if·(n2·!=·n6)·{442 ····················if·(n2·!=·n6)·{
443 ························if·(n2·!=·n5)·{443 ························if·(n2·!=·n5)·{
444 ····························((Preference)permissionControlPreference3).setSummary(2131886533);444 ····························((Preference)permissionControlPreference3).setSummary(2131886531);
445 ························}445 ························}
446 ························else·{446 ························else·{
447 ····························((Preference)permissionControlPreference3).setSummary(2131886174);447 ····························((Preference)permissionControlPreference3).setSummary(2131886174);
448 ························}448 ························}
449 ····················}449 ····················}
450 ····················else·{450 ····················else·{
451 ························final·int·n14·=·2131886170;451 ························final·int·n14·=·2131886170;
Offset 487, 18 lines modifiedOffset 487, 18 lines modified
487 ············}487 ············}
488 ············final·int·n16·=·n;488 ············final·int·n16·=·n;
489 ············final·PreferenceCategory·preferenceCategory2·=·(PreferenceCategory)preference;489 ············final·PreferenceCategory·preferenceCategory2·=·(PreferenceCategory)preference;
490 ············final·Map<K,·Long>·map4·=·(Map<K,·Long>)o;490 ············final·Map<K,·Long>·map4·=·(Map<K,·Long>)o;
491 ············final·Category·category3·=·category;491 ············final·Category·category3·=·category;
492 ············int·n17;492 ············int·n17;
493 ············if·(((Enum)category).equals(Category.DENIED))·{493 ············if·(((Enum)category).equals(Category.DENIED))·{
494 ················n17·=·2131886436;494 ················n17·=·2131886434;
495 ············}495 ············}
496 ············else·{496 ············else·{
497 ················n17·=·2131886435;497 ················n17·=·2131886433;
498 ············}498 ············}
499 ············if·(n16·>·0)·{499 ············if·(n16·>·0)·{
500 ················((PreferenceGroup)preferenceCategory2).addPreference(this.setUpCustomPermissionsScreen(context,·n16,·category3.getCategoryName()));500 ················((PreferenceGroup)preferenceCategory2).addPreference(this.setUpCustomPermissionsScreen(context,·n16,·category3.getCategoryName()));
501 ············}501 ············}
502 ············if·(((PreferenceGroup)preferenceCategory2).getPreferenceCount()·==·0)·{502 ············if·(((PreferenceGroup)preferenceCategory2).getPreferenceCount()·==·0)·{
503 ················this.setNoPermissionPreference(preferenceCategory2,·n17,·context);503 ················this.setNoPermissionPreference(preferenceCategory2,·n17,·context);
504 ············}504 ············}