Offset 140, 93 lines modifiedOffset 140, 93 lines modified
140 ················}140 ················}
141 ············}141 ············}
142 ············n·=·0;142 ············n·=·0;
143 ········}143 ········}
144 ········if·(!lightAppPermGroup.getForeground().isSystemFixed()·&&·!lightAppPermGroup.getBackground().isSystemFixed())·{144 ········if·(!lightAppPermGroup.getForeground().isSystemFixed()·&&·!lightAppPermGroup.getBackground().isSystemFixed())·{
145 ············if·(b)·{145 ············if·(b)·{
146 ················if·(n2·!=·0)·{146 ················if·(n2·!=·0)·{
147 ····················return·2131886235;147 ····················return·2131886242;
148 ················}148 ················}
149 ················if·(n·!=·0)·{149 ················if·(n·!=·0)·{
150 ····················return·2131886236;150 ····················return·2131886243;
151 ················}151 ················}
152 ················final·boolean·policyFullyFixed·=·lightAppPermGroup.isPolicyFullyFixed();152 ················final·boolean·policyFullyFixed·=·lightAppPermGroup.isPolicyFullyFixed();
153 ················final·int·n3·=·2131886417;153 ················final·int·n3·=·2131886432;
154 ················if·(policyFullyFixed)·{154 ················if·(policyFullyFixed)·{
155 ····················return·n3;155 ····················return·n3;
156 ················}156 ················}
157 ················if·(lightAppPermGroup.getBackground().isPolicyFixed()·&&·lightAppPermGroup.getBackground().isGranted())·{157 ················if·(lightAppPermGroup.getBackground().isPolicyFixed()·&&·lightAppPermGroup.getBackground().isGranted())·{
158 ····················return·2131886416;158 ····················return·2131886431;
159 ················}159 ················}
160 ················if·(lightAppPermGroup.getBackground().isPolicyFixed())·{160 ················if·(lightAppPermGroup.getBackground().isPolicyFixed())·{
161 ····················return·2131886414;161 ····················return·2131886429;
162 ················}162 ················}
163 ················if·(lightAppPermGroup.getForeground().isPolicyFixed())·{163 ················if·(lightAppPermGroup.getForeground().isPolicyFixed())·{
164 ····················return·n3;164 ····················return·n3;
165 ················}165 ················}
166 ············}166 ············}
167 ············else·{167 ············else·{
168 ················if·(n2·!=·0·||·n·!=·0)·{168 ················if·(n2·!=·0·||·n·!=·0)·{
169 ····················return·2131886422;169 ····················return·2131886437;
170 ················}170 ················}
171 ················final·boolean·policyFullyFixed2·=·lightAppPermGroup.isPolicyFullyFixed();171 ················final·boolean·policyFullyFixed2·=·lightAppPermGroup.isPolicyFullyFixed();
172 ················final·int·n4·=·2131886419;172 ················final·int·n4·=·2131886434;
173 ················if·(policyFullyFixed2)·{173 ················if·(policyFullyFixed2)·{
174 ····················return·n4;174 ····················return·n4;
175 ················}175 ················}
176 ················if·(lightAppPermGroup.getBackground().isPolicyFixed()·&&·lightAppPermGroup.getBackground().isGranted())·{176 ················if·(lightAppPermGroup.getBackground().isPolicyFixed()·&&·lightAppPermGroup.getBackground().isGranted())·{
177 ····················return·2131886418;177 ····················return·2131886433;
178 ················}178 ················}
179 ················if·(lightAppPermGroup.getBackground().isPolicyFixed())·{179 ················if·(lightAppPermGroup.getBackground().isPolicyFixed())·{
180 ····················return·2131886415;180 ····················return·2131886430;
181 ················}181 ················}
182 ················if·(lightAppPermGroup.getForeground().isPolicyFixed())·{182 ················if·(lightAppPermGroup.getForeground().isPolicyFixed())·{
183 ····················return·n4;183 ····················return·n4;
184 ················}184 ················}
185 ············}185 ············}
186 ············return·0;186 ············return·0;
187 ········}187 ········}
188 ········return·2131886420;188 ········return·2131886435;
189 ····}189 ····}
190 ····190 ····
191 ····private·final·int·getForegroundCapableDetailResId(final·Utils$ForegroundCapableType·utils$ForegroundCapableType)·{191 ····private·final·int·getForegroundCapableDetailResId(final·Utils$ForegroundCapableType·utils$ForegroundCapableType)·{
192 ········final·int·n·=·AppPermissionViewModel$WhenMappings.$EnumSwitchMapping$0[((Enum)utils$ForegroundCapableType).ordinal()];192 ········final·int·n·=·AppPermissionViewModel$WhenMappings.$EnumSwitchMapping$0[((Enum)utils$ForegroundCapableType).ordinal()];
193 ········if·(n·==·1)·{193 ········if·(n·==·1)·{
194 ············return·2131886243;194 ············return·2131886250;
195 ········}195 ········}
196 ········if·(n·==·2)·{196 ········if·(n·==·2)·{
197 ············return·2131886241;197 ············return·2131886248;
198 ········}198 ········}
199 ········if·(n·==·3)·{199 ········if·(n·==·3)·{
200 ············return·2131886244;200 ············return·2131886251;
201 ········}201 ········}
202 ········if·(n·!=·4)·{202 ········if·(n·!=·4)·{
203 ············return·0;203 ············return·0;
204 ········}204 ········}
205 ········return·2131886242;205 ········return·2131886249;
206 ····}206 ····}
207 ····207 ····
208 ····private·final·Pair·getIndividualPermissionDetailResId(final·LightAppPermGroup·lightAppPermGroup)·{208 ····private·final·Pair·getIndividualPermissionDetailResId(final·LightAppPermGroup·lightAppPermGroup)·{
209 ········final·Map·permissions·=·lightAppPermGroup.getPermissions();209 ········final·Map·permissions·=·lightAppPermGroup.getPermissions();
210 ········final·LinkedHashMap<Object,·LightPermission>·linkedHashMap·=·new·LinkedHashMap<Object,·LightPermission>();210 ········final·LinkedHashMap<Object,·LightPermission>·linkedHashMap·=·new·LinkedHashMap<Object,·LightPermission>();
211 ········for·(final·Map.Entry<K,·LightPermission>·entry·:·permissions.entrySet())·{211 ········for·(final·Map.Entry<K,·LightPermission>·entry·:·permissions.entrySet())·{
212 ············if·(((LightPermission)entry.getValue()).isGrantedIncludingAppOp()·^·true)·{212 ············if·(((LightPermission)entry.getValue()).isGrantedIncludingAppOp()·^·true)·{
213 ················linkedHashMap.put(entry.getKey(),·entry.getValue());213 ················linkedHashMap.put(entry.getKey(),·entry.getValue());
214 ············}214 ············}
215 ········}215 ········}
216 ········final·int·size·=·linkedHashMap.size();216 ········final·int·size·=·linkedHashMap.size();
217 ········Pair·pair;217 ········Pair·pair;
218 ········if·(size·==·0)·{218 ········if·(size·==·0)·{
219 ············pair·=·TuplesKt.to((Object)2131886409,·(Object)size);219 ············pair·=·TuplesKt.to((Object)2131886424,·(Object)size);
220 ········}220 ········}
221 ········else·if·(size·==·lightAppPermGroup.getPermissions().size())·{221 ········else·if·(size·==·lightAppPermGroup.getPermissions().size())·{
222 ············pair·=·TuplesKt.to((Object)2131886407,·(Object)size);222 ············pair·=·TuplesKt.to((Object)2131886422,·(Object)size);
223 ········}223 ········}
224 ········else·{224 ········else·{
225 ············pair·=·TuplesKt.to((Object)2131886408,·(Object)size);225 ············pair·=·TuplesKt.to((Object)2131886423,·(Object)size);
226 ········}226 ········}
227 ········return·pair;227 ········return·pair;
228 ····}228 ····}
229 ····229 ····
230 ····private·final·boolean·isForegroundGroupSpecialCase(final·String·s)·{230 ····private·final·boolean·isForegroundGroupSpecialCase(final·String·s)·{
231 ········return·s.equals("android.permission-group.CAMERA")·||·s.equals("android.permission-group.MICROPHONE");231 ········return·s.equals("android.permission-group.CAMERA")·||·s.equals("android.permission-group.MICROPHONE");
232 ····}232 ····}
Offset 381, 19 lines modifiedOffset 381, 19 lines modified
381 ····················b8·=·((b8·||·lightAppPermGroup.getBackground().isGrantedByDefault()·||·!lightAppPermGroup.getSupportsRuntimePerms()·||·lightAppPermGroup.getHasInstallToRuntimeSplit())·&&·b2);381 ····················b8·=·((b8·||·lightAppPermGroup.getBackground().isGrantedByDefault()·||·!lightAppPermGroup.getSupportsRuntimePerms()·||·lightAppPermGroup.getHasInstallToRuntimeSplit())·&&·b2);
382 ····················if·(grantedByDefault·||·lightAppPermGroup.getBackground().isGrantedByDefault())·{382 ····················if·(grantedByDefault·||·lightAppPermGroup.getBackground().isGrantedByDefault())·{
383 ························b3·=·b2;383 ························b3·=·b2;
384 ····················}384 ····················}
385 ····················grantedByDefault·=·b3;385 ····················grantedByDefault·=·b3;
386 ················}386 ················}
387 ················if·(b8·&&·!this.hasConfirmedRevoke·&&·grantedByDefault)·{387 ················if·(b8·&&·!this.hasConfirmedRevoke·&&·grantedByDefault)·{
388 ····················appPermissionViewModel$ConfirmDialogShowingFragment.showConfirmDialog(appPermissionViewModel$ChangeRequest,·2131886491,·n,·b);388 ····················appPermissionViewModel$ConfirmDialogShowingFragment.showConfirmDialog(appPermissionViewModel$ChangeRequest,·2131886540,·n,·b);
389 ····················return;389 ····················return;
390 ················}390 ················}
391 ················if·(b8·&&·!this.hasConfirmedRevoke)·{391 ················if·(b8·&&·!this.hasConfirmedRevoke)·{
392 ····················appPermissionViewModel$ConfirmDialogShowingFragment.showConfirmDialog(appPermissionViewModel$ChangeRequest,·2131886359,·n,·b);392 ····················appPermissionViewModel$ConfirmDialogShowingFragment.showConfirmDialog(appPermissionViewModel$ChangeRequest,·2131886368,·n,·b);
393 ····················return;393 ····················return;
394 ················}394 ················}
395 ················LightAppPermGroup·revokeForegroundRuntimePermissions$default;395 ················LightAppPermGroup·revokeForegroundRuntimePermissions$default;
396 ················if·(b7·&&·lightAppPermGroup.getHasBackgroundGroup()·&&·(granted2·||·lightAppPermGroup.getBackground().isUserFixed()·||·lightAppPermGroup.isOneTime()·!=·b))·{396 ················if·(b7·&&·lightAppPermGroup.getHasBackgroundGroup()·&&·(granted2·||·lightAppPermGroup.getBackground().isUserFixed()·||·lightAppPermGroup.isOneTime()·!=·b))·{
397 ····················final·LightAppPermGroup·revokeBackgroundRuntimePermissions$default·=·KotlinUtils.revokeBackgroundRuntimePermissions$default(KotlinUtils.INSTANCE,·this.app,·lightAppPermGroup,·false,·false,·(List)null,·28,·(Object)null);397 ····················final·LightAppPermGroup·revokeBackgroundRuntimePermissions$default·=·KotlinUtils.revokeBackgroundRuntimePermissions$default(KotlinUtils.INSTANCE,·this.app,·lightAppPermGroup,·false,·false,·(List)null,·28,·(Object)null);
398 ····················if·(granted2)·{398 ····················if·(granted2)·{
399 ························SafetyNetLogger.logPermissionToggled(revokeBackgroundRuntimePermissions$default,·b2);399 ························SafetyNetLogger.logPermissionToggled(revokeBackgroundRuntimePermissions$default,·b2);
Offset 474, 24 lines modifiedOffset 474, 24 lines modified
474 ········Intrinsics.throwNpe();474 ········Intrinsics.throwNpe();
475 ········throw·null;475 ········throw·null;
476 ····}476 ····}
477 ····477 ····
478 ····public·final·void·showAllPermissions(final·Fragment·fragment,·final·Bundle·bundle)·{478 ····public·final·void·showAllPermissions(final·Fragment·fragment,·final·Bundle·bundle)·{
479 ········Intrinsics.checkParameterIsNotNull((Object)fragment,·"fragment");479 ········Intrinsics.checkParameterIsNotNull((Object)fragment,·"fragment");
480 ········Intrinsics.checkParameterIsNotNull((Object)bundle,·"args");480 ········Intrinsics.checkParameterIsNotNull((Object)bundle,·"args");
481 ········KotlinUtilsKt.navigateSafe(FragmentKt.findNavController(fragment),·2131361894,·bundle);481 ········KotlinUtilsKt.navigateSafe(FragmentKt.findNavController(fragment),·2131361895,·bundle);
482 ····}482 ····}
483 ····483 ····
484 ····public·final·void·showBottomLinkPage(final·Fragment·fragment,·final·String·s,·final·Bundle·bundle)·{484 ····public·final·void·showBottomLinkPage(final·Fragment·fragment,·final·String·s,·final·Bundle·bundle)·{
485 ········Intrinsics.checkParameterIsNotNull((Object)fragment,·"fragment");485 ········Intrinsics.checkParameterIsNotNull((Object)fragment,·"fragment");
486 ········Intrinsics.checkParameterIsNotNull((Object)s,·"action");486 ········Intrinsics.checkParameterIsNotNull((Object)s,·"action");
487 ········Intrinsics.checkParameterIsNotNull((Object)bundle,·"args");487 ········Intrinsics.checkParameterIsNotNull((Object)bundle,·"args");
488 ········int·n;488 ········int·n;
489 ········if·(Intrinsics.areEqual((Object)s,·(Object)"android.intent.action.MANAGE_PERMISSION_APPS"))·{489 ········if·(Intrinsics.areEqual((Object)s,·(Object)"android.intent.action.MANAGE_PERMISSION_APPS"))·{
490 ············n·=·2131361895;490 ············n·=·2131361896;
491 ········}491 ········}
492 ········else·{492 ········else·{
493 ············n·=·2131361896;493 ············n·=·2131361897;
494 ········}494 ········}
495 ········KotlinUtilsKt.navigateSafe(FragmentKt.findNavController(fragment),·n,·bundle);495 ········KotlinUtilsKt.navigateSafe(FragmentKt.findNavController(fragment),·n,·bundle);
496 ····}496 ····}
497 }497 }