Offset 98, 48 lines modifiedOffset 98, 48 lines modified
98 ········List<GrantPermissionsViewModel$RequestInfo>·value·=·new·ArrayList<GrantPermissionsViewModel$RequestInfo>();98 ········List<GrantPermissionsViewModel$RequestInfo>·value·=·new·ArrayList<GrantPermissionsViewModel$RequestInfo>();
99 ········Iterator<Map.Entry<Pair,·V>>·iterator·=·GrantPermissionsViewModel.access$getGroupStates$p(this.this$0).entrySet().iterator();99 ········Iterator<Map.Entry<Pair,·V>>·iterator·=·GrantPermissionsViewModel.access$getGroupStates$p(this.this$0).entrySet().iterator();
100 ····Label_1115_Outer:100 ····Label_1115_Outer:
101 ········while·(iterator.hasNext())·{101 ········while·(iterator.hasNext())·{
102 ············final·Map.Entry<Pair,·V>·entry·=·(Map.Entry<Pair,·V>)iterator.next();102 ············final·Map.Entry<Pair,·V>·entry·=·(Map.Entry<Pair,·V>)iterator.next();
103 ············final·Pair·pair·=·(Pair)entry.getKey();103 ············final·Pair·pair·=·(Pair)entry.getKey();
104 ············final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState·=·(GrantPermissionsViewModel$GroupState)entry.getValue();104 ············final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState·=·(GrantPermissionsViewModel$GroupState)entry.getValue();
105 ············final·LightPermGroupInfo·permGroupInfo·=·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController().getPermGroupInfo();105 ············final·LightPermGroupInfo·permGroupInfo·=·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController().getPermGroupInfo();
106 ············final·String·s·=·(String)pair.component1();106 ············final·String·s·=·(String)pair.component1();
107 ············final·boolean·booleanValue·=·(boolean)pair.component2();107 ············final·boolean·booleanValue·=·(boolean)pair.component2();
108 ············if·(grantPermissionsViewModel$GroupState.getState$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController()·!=·0)·{108 ············if·(grantPermissionsViewModel$GroupState.getState$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController()·!=·0)·{
109 ················continue·Label_1115_Outer;109 ················continue·Label_1115_Outer;
110 ············}110 ············}
111 ············final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState2·=·(GrantPermissionsViewModel$GroupState)GrantPermissionsViewModel.access$getGroupStates$p(this.this$0).get(TuplesKt.to((Object)s,·(Object)Boolean.FALSE));111 ············final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState2·=·(GrantPermissionsViewModel$GroupState)GrantPermissionsViewModel.access$getGroupStates$p(this.this$0).get(TuplesKt.to((Object)s,·(Object)Boolean.FALSE));
112 ············final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState3·=·(GrantPermissionsViewModel$GroupState)GrantPermissionsViewModel.access$getGroupStates$p(this.this$0).get(TuplesKt.to((Object)s,·(Object)Boolean.TRUE));112 ············final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState3·=·(GrantPermissionsViewModel$GroupState)GrantPermissionsViewModel.access$getGroupStates$p(this.this$0).get(TuplesKt.to((Object)s,·(Object)Boolean.TRUE));
113 ············LightAppPermGroup·group$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController;113 ············LightAppPermGroup·group$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController;
114 ············if·(grantPermissionsViewModel$GroupState2·==·null)·{114 ············if·(grantPermissionsViewModel$GroupState2·==·null)·{
115 ················group$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController·=·null;115 ················group$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController·=·null;
116 ············}116 ············}
117 ············else·{117 ············else·{
118 ················group$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController·=·grantPermissionsViewModel$GroupState2.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController();118 ················group$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController·=·grantPermissionsViewModel$GroupState2.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController();
119 ············}119 ············}
120 ············boolean·b;120 ············boolean·b;
121 ············boolean·b2;121 ············boolean·b2;
122 ············if·(group$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController·!=·null)·{122 ············if·(group$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController·!=·null)·{
123 ················final·LightAppPermGroup·group$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController2·=·grantPermissionsViewModel$GroupState2.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController();123 ················final·LightAppPermGroup·group$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController2·=·grantPermissionsViewModel$GroupState2.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController();
124 ················final·Iterator·iterator2·=·grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController().iterator();124 ················final·Iterator·iterator2·=·grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController().iterator();
125 ················b·=·false;125 ················b·=·false;
126 ················b2·=·false;126 ················b2·=·false;
127 ················while·(iterator2.hasNext())·{127 ················while·(iterator2.hasNext())·{
128 ····················final·String·s2·=·(String)iterator2.next();128 ····················final·String·s2·=·(String)iterator2.next();
129 ····················final·LightPermission·lightPermission·=·(LightPermission)group$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController2.getPermissions().get(s2);129 ····················final·LightPermission·lightPermission·=·(LightPermission)group$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController2.getPermissions().get(s2);
130 ····················Object·value2;130 ····················Object·value2;
131 ····················if·(lightPermission·==·null)·{131 ····················if·(lightPermission·==·null)·{
132 ························value2·=·null;132 ························value2·=·null;
133 ····················}133 ····················}
134 ····················else·{134 ····················else·{
135 ························value2·=·lightPermission.isGrantedIncludingAppOp();135 ························value2·=·lightPermission.isGrantedIncludingAppOp();
136 ····················}136 ····················}
137 ····················if·(Intrinsics.areEqual(value2,·(Object)Boolean.FALSE))·{137 ····················if·(Intrinsics.areEqual(value2,·(Object)Boolean.FALSE))·{
138 ························final·LightPermission·lightPermission2·=·(LightPermission)group$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController2.getPermissions().get(s2);138 ························final·LightPermission·lightPermission2·=·(LightPermission)group$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController2.getPermissions().get(s2);
139 ························Object·value3;139 ························Object·value3;
140 ························if·(lightPermission2·==·null)·{140 ························if·(lightPermission2·==·null)·{
141 ····························value3·=·null;141 ····························value3·=·null;
142 ························}142 ························}
143 ························else·{143 ························else·{
144 ····························value3·=·lightPermission2.isUserSet();144 ····························value3·=·lightPermission2.isUserSet();
145 ························}145 ························}
Offset 152, 36 lines modifiedOffset 152, 36 lines modified
152 ····················}152 ····················}
153 ················}153 ················}
154 ············}154 ············}
155 ············else·{155 ············else·{
156 ················b·=·false;156 ················b·=·false;
157 ················b2·=·false;157 ················b2·=·false;
158 ············}158 ············}
159 ············LightAppPermGroup·group$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController3;159 ············LightAppPermGroup·group$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController3;
160 ············if·(grantPermissionsViewModel$GroupState3·==·null)·{160 ············if·(grantPermissionsViewModel$GroupState3·==·null)·{
161 ················group$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController3·=·null;161 ················group$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController3·=·null;
162 ············}162 ············}
163 ············else·{163 ············else·{
164 ················group$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController3·=·grantPermissionsViewModel$GroupState3.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController();164 ················group$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController3·=·grantPermissionsViewModel$GroupState3.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController();
165 ············}165 ············}
166 ············Object·value4·=·null;166 ············Object·value4·=·null;
167 ············Label_0494:·{167 ············Label_0494:·{
168 ················if·(group$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController3·!=·null)·{168 ················if·(group$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController3·!=·null)·{
169 ····················final·LightAppPermGroup$AppPermSubGroup·background·=·group$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController3.getBackground();169 ····················final·LightAppPermGroup$AppPermSubGroup·background·=·group$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController3.getBackground();
170 ····················if·(background·!=·null)·{170 ····················if·(background·!=·null)·{
171 ························value4·=·background.isGranted();171 ························value4·=·background.isGranted();
172 ························break·Label_0494;172 ························break·Label_0494;
173 ····················}173 ····················}
174 ················}174 ················}
175 ················value4·=·null;175 ················value4·=·null;
176 ············}176 ············}
177 ············boolean·userSet;177 ············boolean·userSet;
178 ············boolean·b3;178 ············boolean·b3;
179 ············if·(Intrinsics.areEqual(value4,·(Object)Boolean.FALSE))·{179 ············if·(Intrinsics.areEqual(value4,·(Object)Boolean.FALSE))·{
180 ················userSet·=·grantPermissionsViewModel$GroupState3.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController().getBackground().isUserSet();180 ················userSet·=·grantPermissionsViewModel$GroupState3.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController().getBackground().isUserSet();
181 ················b3·=·true;181 ················b3·=·true;
182 ············}182 ············}
183 ············else·{183 ············else·{
184 ················userSet·=·false;184 ················userSet·=·false;
185 ················b3·=·false;185 ················b3·=·false;
186 ············}186 ············}
187 ············final·int·initialCapacity·=·11;187 ············final·int·initialCapacity·=·11;
Offset 191, 41 lines modifiedOffset 191, 41 lines modified
191 ············}191 ············}
192 ············final·Boolean·true·=·Boolean.TRUE;192 ············final·Boolean·true·=·Boolean.TRUE;
193 ············list.set(0,·true);193 ············list.set(0,·true);
194 ············list.set(3,·true);194 ············list.set(3,·true);
195 ············list.set(5,·Utils.supportsOneTimeGrant(s));195 ············list.set(5,·Utils.supportsOneTimeGrant(s));
196 ············GrantPermissionsViewModel$Companion$RequestMessage·grantPermissionsViewModel$Companion$RequestMessage·=·GrantPermissionsViewModel$Companion$RequestMessage.FG_MESSAGE;196 ············GrantPermissionsViewModel$Companion$RequestMessage·grantPermissionsViewModel$Companion$RequestMessage·=·GrantPermissionsViewModel$Companion$RequestMessage.FG_MESSAGE;
197 ············final·GrantPermissionsViewModel$Companion$RequestMessage·no_MESSAGE·=·GrantPermissionsViewModel$Companion$RequestMessage.NO_MESSAGE;197 ············final·GrantPermissionsViewModel$Companion$RequestMessage·no_MESSAGE·=·GrantPermissionsViewModel$Companion$RequestMessage.NO_MESSAGE;
198 ············final·int·targetSdkVersion·=·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController().getPackageInfo().getTargetSdkVersion();198 ············final·int·targetSdkVersion·=·grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController().getPackageInfo().getTargetSdkVersion();
199 ············final·Iterator<Map.Entry<Pair,·V>>·iterator3·=·iterator;199 ············final·Iterator<Map.Entry<Pair,·V>>·iterator3·=·iterator;
200 ············while·(true)·{200 ············while·(true)·{
201 ················GrantPermissionsViewModel$Companion$RequestMessage·grantPermissionsViewModel$Companion$RequestMessage2·=·null;201 ················GrantPermissionsViewModel$Companion$RequestMessage·grantPermissionsViewModel$Companion$RequestMessage2·=·null;
202 ················Label_1522:·{202 ················Label_1522:·{
203 ····················Label_1311:·{203 ····················Label_1311:·{
204 ························Label_1305:·{204 ························Label_1305:·{
205 ····························if·(targetSdkVersion·>=·30)·{205 ····························if·(targetSdkVersion·>=·30)·{
206 ································if·(!booleanValue·&&·!grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController().getHasPermWithBackgroundMode())·{206 ································if·(!booleanValue·&&·!grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController().getHasPermWithBackgroundMode())·{
207 ····································list.set(3,·b2·^·true);207 ····································list.set(3,·b2·^·true);
208 ····································list.set(4,·b2);208 ····································list.set(4,·b2);
209 ····································break·Label_1311;209 ····································break·Label_1311;
210 ································}210 ································}
211 ································if·(b)·{211 ································if·(b)·{
212 ····································if·(!b3)·{212 ····································if·(!b3)·{
213 ········································list.set(0,·Boolean.FALSE);213 ········································list.set(0,·Boolean.FALSE);
214 ········································list.set(2,·true);214 ········································list.set(2,·true);
215 ········································list.set(3,·b2·^·true);215 ········································list.set(3,·b2·^·true);
216 ········································list.set(4,·b2);216 ········································list.set(4,·b2);
217 ········································break·Label_1311;217 ········································break·Label_1311;
218 ····································}218 ····································}
219 ····································if·(!grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController().getPermGroupName().equals("android.permission-group.CAMERA")·&&·!grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController().getPermGroupName().equals("android.permission-group.MICROPHONE"))·{219 ····································if·(!grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController().getPermGroupName().equals("android.permission-group.CAMERA")·&&·!grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController().getPermGroupName().equals("android.permission-group.MICROPHONE"))·{
220 ········································Log.e(this.LOG_TAG,·"For·R+·apps,·background·permissions·must·be·requested·after·foreground·permissions·are·already·granted");220 ········································Log.e(this.LOG_TAG,·"For·R+·apps,·background·permissions·must·be·requested·after·foreground·permissions·are·already·granted");
221 ········································this.setValue((Object)null);221 ········································this.setValue((Object)null);
222 ········································return;222 ········································return;
223 ····································}223 ····································}
224 ····································if·(grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController().getPackageInfo().getTargetSdkVersion()·>=·31)·{224 ····································if·(grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController().getPackageInfo().getTargetSdkVersion()·>=·31)·{
225 ········································Log.e(this.LOG_TAG,·"For·S·apps,·background·permissions·must·be·requested·after·foreground·permissions·are·already·granted");225 ········································Log.e(this.LOG_TAG,·"For·S·apps,·background·permissions·must·be·requested·after·foreground·permissions·are·already·granted");
226 ········································this.setValue((Object)null);226 ········································this.setValue((Object)null);
227 ········································return;227 ········································return;
228 ····································}228 ····································}
229 ····································list.set(0,·Boolean.FALSE);229 ····································list.set(0,·Boolean.FALSE);
230 ····································list.set(2,·true);230 ····································list.set(2,·true);
231 ····································list.set(3,·b2·^·true);231 ····································list.set(3,·b2·^·true);
Offset 240, 15 lines modifiedOffset 240, 15 lines modified
240 ····································if·(!b3)·{240 ····································if·(!b3)·{
241 ········································this.setValue((Object)null);241 ········································this.setValue((Object)null);
242 ········································return;242 ········································return;
243 ····································}243 ····································}
244 ····································value.add(new·GrantPermissionsViewModel$RequestInfo(permGroupInfo,·(List)null,·(List)null,·(GrantPermissionsViewModel$Companion$RequestMessage)null,·(GrantPermissionsViewModel$Companion$RequestMessage)null,·true,·30,·(DefaultConstructorMarker)null));244 ····································value.add(new·GrantPermissionsViewModel$RequestInfo(permGroupInfo,·(List)null,·(List)null,·(GrantPermissionsViewModel$Companion$RequestMessage)null,·(GrantPermissionsViewModel$Companion$RequestMessage)null,·true,·30,·(DefaultConstructorMarker)null));
245 ································}245 ································}
246 ····························}246 ····························}
247 ····························else·if·(!booleanValue·&&·!grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController().getHasPermWithBackgroundMode())·{247 ····························else·if·(!booleanValue·&&·!grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController().getHasPermWithBackgroundMode())·{
248 ································if·(!b·&&·!b3)·{248 ································if·(!b·&&·!b3)·{
249 ····································this.setValue((Object)null);249 ····································this.setValue((Object)null);
250 ····································return;250 ····································return;
251 ································}251 ································}
252 ································list.set(3,·b2·^·true);252 ································list.set(3,·b2·^·true);
253 ································list.set(4,·b2);253 ································list.set(4,·b2);
254 ································break·Label_1311;254 ································break·Label_1311;
Offset 265, 25 lines modifiedOffset 265, 25 lines modified
265 ································break·Label_1311;265 ································break·Label_1311;
266 ····························}266 ····························}
267 ····························else·{267 ····························else·{
268 ································if·(!b3)·{268 ································if·(!b3)·{
269 ····································this.setValue((Object)null);269 ····································this.setValue((Object)null);
270 ····································return;270 ····································return;
271 ································}271 ································}
272 ································if·(!grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController().getForeground().isGranted())·{272 ································if·(!grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController().getForeground().isGranted())·{
273 ····································Log.e(this.LOG_TAG,·"Background·permissions·can't·be·requested·solely·before·foreground·permissions·are·granted.");273 ····································Log.e(this.LOG_TAG,·"Background·permissions·can't·be·requested·solely·before·foreground·permissions·are·granted.");
274 ····································this.setValue((Object)null);274 ····································this.setValue((Object)null);
275 ····································return;275 ····································return;
276 ································}276 ································}
277 ································grantPermissionsViewModel$Companion$RequestMessage·=·GrantPermissionsViewModel$Companion$RequestMessage.UPGRADE_MESSAGE;277 ································grantPermissionsViewModel$Companion$RequestMessage·=·GrantPermissionsViewModel$Companion$RequestMessage.UPGRADE_MESSAGE;
278 ································final·Boolean·false·=·Boolean.FALSE;278 ································final·Boolean·false·=·Boolean.FALSE;
279 ································list.set(0,·false);279 ································list.set(0,·false);
280 ································list.set(3,·false);280 ································list.set(3,·false);
281 ································list.set(5,·false);281 ································list.set(5,·false);
282 ································if·(grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController().isOneTime())·{282 ································if·(grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController().isOneTime())·{
283 ····································list.set(8,·userSet·^·true);283 ····································list.set(8,·userSet·^·true);
284 ····································list.set(9,·userSet);284 ····································list.set(9,·userSet);
285 ····································break·Label_1305;285 ····································break·Label_1305;
286 ································}286 ································}
287 ································list.set(6,·userSet·^·true);287 ································list.set(6,·userSet·^·true);
288 ································list.set(7,·userSet);288 ································list.set(7,·userSet);
289 ································break·Label_1305;289 ································break·Label_1305;
Offset 301, 25 lines modifiedOffset 301, 25 lines modified
301 ················final·ArrayList·list2·=·new·ArrayList<Boolean>(initialCapacity2);301 ················final·ArrayList·list2·=·new·ArrayList<Boolean>(initialCapacity2);
302 ················for·(int·j·=·0;·j·<·initialCapacity2;·++j)·{302 ················for·(int·j·=·0;·j·<·initialCapacity2;·++j)·{
303 ····················list2.add(Boolean.FALSE);303 ····················list2.add(Boolean.FALSE);
304 ················}304 ················}
305 ················GrantPermissionsViewModel$Companion$RequestMessage·grantPermissionsViewModel$Companion$RequestMessage4·=·null;305 ················GrantPermissionsViewModel$Companion$RequestMessage·grantPermissionsViewModel$Companion$RequestMessage4·=·null;
306 ················Label_2225:·{306 ················Label_2225:·{
307 ····················Label_2221:·{307 ····················Label_2221:·{
308 ························if·(Intrinsics.areEqual((Object)grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController().getPermGroupName(),·(Object)"android.permission-group.LOCATION")·&&·UtilsKt.isLocationAccuracyEnabled()·&&·b)·{308 ························if·(Intrinsics.areEqual((Object)grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController().getPermGroupName(),·(Object)"android.permission-group.LOCATION")·&&·UtilsKt.isLocationAccuracyEnabled()·&&·b)·{
309 ····························final·Boolean·true2·=·Boolean.TRUE;309 ····························final·Boolean·true2·=·Boolean.TRUE;
310 ····························list2.set(0,·true2);310 ····························list2.set(0,·true2);
311 ····························final·String·s3·=·"android.permission.ACCESS_COARSE_LOCATION";311 ····························final·String·s3·=·"android.permission.ACCESS_COARSE_LOCATION";
312 ····························GrantPermissionsViewModel$Companion$RequestMessage·grantPermissionsViewModel$Companion$RequestMessage3·=·null;312 ····························GrantPermissionsViewModel$Companion$RequestMessage·grantPermissionsViewModel$Companion$RequestMessage3·=·null;
313 ····························Label_2214:·{313 ····························Label_2214:·{
314 ································if·(grantPermissionsViewModel$GroupState2·!=·null)·{314 ································if·(grantPermissionsViewModel$GroupState2·!=·null)·{
315 ····································final·List·affectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController·=·grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController();315 ····································final·List·affectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController·=·grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController();
316 ····································final·String·s4·=·"android.permission.ACCESS_FINE_LOCATION";316 ····································final·String·s4·=·"android.permission.ACCESS_FINE_LOCATION";
317 ····································if·(affectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController.contains(s4))·{317 ····································if·(affectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController.contains(s4))·{
318 ········································final·LightPermission·lightPermission3·=·(LightPermission)grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController().getAllPermissions().get(s3);318 ········································final·LightPermission·lightPermission3·=·(LightPermission)grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController().getAllPermissions().get(s3);
319 ········································Object·value5;319 ········································Object·value5;
320 ········································if·(lightPermission3·==·null)·{320 ········································if·(lightPermission3·==·null)·{
321 ············································value5·=·null;321 ············································value5·=·null;
322 ········································}322 ········································}
323 ········································else·{323 ········································else·{
324 ············································value5·=·lightPermission3.isGrantedIncludingAppOp();324 ············································value5·=·lightPermission3.isGrantedIncludingAppOp();
325 ········································}325 ········································}
Offset 340, 15 lines modifiedOffset 340, 15 lines modified
340 ················································value6·=·lightPermission3.isOneTime();340 ················································value6·=·lightPermission3.isOneTime();
341 ············································}341 ············································}
342 ············································final·Boolean·false2·=·Boolean.FALSE;342 ············································final·Boolean·false2·=·Boolean.FALSE;
343 ············································if·(Intrinsics.areEqual(value6,·(Object)false2)·&&·!lightPermission3.isUserSet()·&&·!lightPermission3.isUserFixed())·{343 ············································if·(Intrinsics.areEqual(value6,·(Object)false2)·&&·!lightPermission3.isUserSet()·&&·!lightPermission3.isUserFixed())·{
344 ················································GrantPermissionsViewModel.access$setFirstTimeRequestingFineAndCoarse$p(this.this$0,·true);344 ················································GrantPermissionsViewModel.access$setFirstTimeRequestingFineAndCoarse$p(this.this$0,·true);
345 ············································}345 ············································}
346 ············································list2.set(3,·true2);346 ············································list2.set(3,·true2);
347 ············································final·LightPermission·lightPermission4·=·(LightPermission)grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController().getAllPermissions().get(s4);347 ············································final·LightPermission·lightPermission4·=·(LightPermission)grantPermissionsViewModel$GroupState.getGroup$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController().getAllPermissions().get(s4);
348 ············································Object·value7;348 ············································Object·value7;
349 ············································if·(lightPermission3·==·null)·{349 ············································if·(lightPermission3·==·null)·{
350 ················································value7·=·null;350 ················································value7·=·null;
351 ············································}351 ············································}
352 ············································else·{352 ············································else·{
353 ················································value7·=·lightPermission3.isSelectedLocationAccuracy();353 ················································value7·=·lightPermission3.isSelectedLocationAccuracy();
354 ············································}354 ············································}
Offset 382, 15 lines modifiedOffset 382, 15 lines modified
382 ················································break·Label_2221;382 ················································break·Label_2221;
383 ············································}383 ············································}
384 ············································list2.set(1,·true2);384 ············································list2.set(1,·true2);
385 ············································break·Label_2221;385 ············································break·Label_2221;
386 ········································}386 ········································}
387 ····································}387 ····································}
388 ································}388 ································}
389 ································if·(grantPermissionsViewModel$GroupState2·==·null·||·!grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController().contains(s3))·{389 ································if·(grantPermissionsViewModel$GroupState2·==·null·||·!grantPermissionsViewModel$GroupState2.getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController().contains(s3))·{
390 ····································break·Label_2221;390 ····································break·Label_2221;
391 ································}391 ································}
392 ································list2.set(5,·true2);392 ································list2.set(5,·true2);
393 ································grantPermissionsViewModel$Companion$RequestMessage3·=·GrantPermissionsViewModel$Companion$RequestMessage.FG_COARSE_LOCATION_MESSAGE;393 ································grantPermissionsViewModel$Companion$RequestMessage3·=·GrantPermissionsViewModel$Companion$RequestMessage.FG_COARSE_LOCATION_MESSAGE;
394 ····························}394 ····························}
395 ····························grantPermissionsViewModel$Companion$RequestMessage4·=·grantPermissionsViewModel$Companion$RequestMessage3;395 ····························grantPermissionsViewModel$Companion$RequestMessage4·=·grantPermissionsViewModel$Companion$RequestMessage3;
396 ····························break·Label_2225;396 ····························break·Label_2225;
Offset 422, 22 lines modifiedOffset 422, 22 lines modified
422 ········}422 ········}
423 ········this.setValue((Object)value);423 ········this.setValue((Object)value);
424 ····}424 ····}
425 ····425 ····
426 ····protected·void·onUpdate()·{426 ····protected·void·onUpdate()·{
427 ········final·Map·appPermGroupLiveDatas·=·this.appPermGroupLiveDatas;427 ········final·Map·appPermGroupLiveDatas·=·this.appPermGroupLiveDatas;
428 ········final·boolean·empty·=·appPermGroupLiveDatas.isEmpty();428 ········final·boolean·empty·=·appPermGroupLiveDatas.isEmpty();
429 ········final·int·state$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController·=·1;429 ········final·int·state$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController·=·1;
430 ········int·n·=·0;430 ········int·n·=·0;
431 ········Label_0085:·{431 ········Label_0085:·{
432 ············if·(!empty)·{432 ············if·(!empty)·{
433 ················final·Iterator<Map.Entry<K,·LightAppPermGroupLiveData>>·iterator·=·appPermGroupLiveDatas.entrySet().iterator();433 ················final·Iterator<Map.Entry<K,·LightAppPermGroupLiveData>>·iterator·=·appPermGroupLiveDatas.entrySet().iterator();
434 ················while·(iterator.hasNext())·{434 ················while·(iterator.hasNext())·{
435 ····················if·(((SmartUpdateMediatorLiveData)((Map.Entry<K,·LightAppPermGroupLiveData>)iterator.next()).getValue()).isStale())·{435 ····················if·(((SmartUpdateMediatorLiveData)((Map.Entry<K,·LightAppPermGroupLiveData>)iterator.next()).getValue()).isStale())·{
436 ························n·=·state$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController;436 ························n·=·state$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController;
437 ························break·Label_0085;437 ························break·Label_0085;
438 ····················}438 ····················}
439 ················}439 ················}
440 ············}440 ············}
441 ············n·=·0;441 ············n·=·0;
442 ········}442 ········}
443 ········if·(n·!=·0)·{443 ········if·(n·!=·0)·{
Offset 454, 22 lines modifiedOffset 454, 22 lines modified
454 ················final·Map·access$getGroupStates$p·=·GrantPermissionsViewModel.access$getGroupStates$p(this.this$0);454 ················final·Map·access$getGroupStates$p·=·GrantPermissionsViewModel.access$getGroupStates$p(this.this$0);
455 ················final·LinkedHashMap<Pair,·Object>·linkedHashMap·=·new·LinkedHashMap<Pair,·Object>();455 ················final·LinkedHashMap<Pair,·Object>·linkedHashMap·=·new·LinkedHashMap<Pair,·Object>();
456 ················for·(final·Map.Entry<Pair,·V>·entry2·:·access$getGroupStates$p.entrySet())·{456 ················for·(final·Map.Entry<Pair,·V>·entry2·:·access$getGroupStates$p.entrySet())·{
457 ····················if·(Intrinsics.areEqual(((Pair)entry2.getKey()).getFirst(),·(Object)str))·{457 ····················if·(Intrinsics.areEqual(((Pair)entry2.getKey()).getFirst(),·(Object)str))·{
458 ························linkedHashMap.put(entry2.getKey(),·entry2.getValue());458 ························linkedHashMap.put(entry2.getKey(),·entry2.getValue());
459 ····················}459 ····················}
460 ················}460 ················}
461 ················if·(((linkedHashMap.isEmpty()·?·1·:·0)·^·state$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController)·!=·0x0)·{461 ················if·(((linkedHashMap.isEmpty()·?·1·:·0)·^·state$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController)·!=·0x0)·{
462 ····················for·(final·Map.Entry<Pair,·V>·entry3·:·linkedHashMap.entrySet())·{462 ····················for·(final·Map.Entry<Pair,·V>·entry3·:·linkedHashMap.entrySet())·{
463 ························final·Pair·pair·=·(Pair)entry3.getKey();463 ························final·Pair·pair·=·(Pair)entry3.getKey();
464 ························final·List·affectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController·=·((GrantPermissionsViewModel$GroupState)entry3.getValue()).getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController();464 ························final·List·affectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController·=·((GrantPermissionsViewModel$GroupState)entry3.getValue()).getAffectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController();
465 ························boolean·b·=·false;465 ························boolean·b·=·false;
466 ························Label_0571:·{466 ························Label_0571:·{
467 ····························if·(!(affectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController·instanceof·Collection)·||·!((List<String>)affectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController).isEmpty())·{467 ····························if·(!(affectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController·instanceof·Collection)·||·!((List<String>)affectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController).isEmpty())·{
468 ································final·Iterator<Object>·iterator5·=·((List<String>)affectedPermissions$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController).iterator();468 ································final·Iterator<Object>·iterator5·=·((List<String>)affectedPermissions$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController).iterator();
469 ································while·(iterator5.hasNext())·{469 ································while·(iterator5.hasNext())·{
470 ····································final·LightPermission·lightPermission·=·(LightPermission)lightAppPermGroup.getPermissions().get(iterator5.next());470 ····································final·LightPermission·lightPermission·=·(LightPermission)lightAppPermGroup.getPermissions().get(iterator5.next());
471 ····································Object·value;471 ····································Object·value;
472 ····································if·(lightPermission·==·null)·{472 ····································if·(lightPermission·==·null)·{
473 ········································value·=·null;473 ········································value·=·null;
474 ····································}474 ····································}
475 ····································else·{475 ····································else·{
Offset 477, 25 lines modifiedOffset 477, 25 lines modified
477 ····································}477 ····································}
478 ····································if·(!Intrinsics.areEqual(value,·(Object)Boolean.TRUE))·{478 ····································if·(!Intrinsics.areEqual(value,·(Object)Boolean.TRUE))·{
479 ········································b·=·false;479 ········································b·=·false;
480 ········································break·Label_0571;480 ········································break·Label_0571;
481 ····································}481 ····································}
482 ································}482 ································}
483 ····························}483 ····························}
484 ····························b·=·(state$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController·!=·0);484 ····························b·=·(state$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController·!=·0);
485 ························}485 ························}
486 ························if·(b)·{486 ························if·(b)·{
487 ····························final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState·=·(GrantPermissionsViewModel$GroupState)GrantPermissionsViewModel.access$getGroupStates$p(this.this$0).get(pair);487 ····························final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState·=·(GrantPermissionsViewModel$GroupState)GrantPermissionsViewModel.access$getGroupStates$p(this.this$0).get(pair);
488 ····························Intrinsics.checkNotNull((Object)grantPermissionsViewModel$GroupState);488 ····························Intrinsics.checkNotNull((Object)grantPermissionsViewModel$GroupState);
489 ····························grantPermissionsViewModel$GroupState.setState$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(state$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController);489 ····························grantPermissionsViewModel$GroupState.setState$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(state$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController);
490 ························}490 ························}
491 ····················}491 ····················}
492 ················}492 ················}
493 ················else·{493 ················else·{
494 ····················n2·=·state$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController;494 ····················n2·=·state$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController;
495 ················}495 ················}
496 ············}496 ············}
497 ············else·{497 ············else·{
498 ················if·(lightAppPermGroup·==·null)·{498 ················if·(lightAppPermGroup·==·null)·{
499 ····················final·String·log_TAG·=·this.LOG_TAG;499 ····················final·String·log_TAG·=·this.LOG_TAG;
500 ····················final·StringBuilder·sb·=·new·StringBuilder();500 ····················final·StringBuilder·sb·=·new·StringBuilder();
501 ····················sb.append("Group·");501 ····················sb.append("Group·");
Offset 504, 21 lines modifiedOffset 504, 21 lines modified
504 ····················sb.append(str);504 ····················sb.append(str);
505 ····················sb.append("·invalid");505 ····················sb.append("·invalid");
506 ····················Log.e(log_TAG,·sb.toString());506 ····················Log.e(log_TAG,·sb.toString());
507 ················}507 ················}
508 ················final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState2·=·(GrantPermissionsViewModel$GroupState)GrantPermissionsViewModel.access$getGroupStates$p(this.this$0).get(TuplesKt.to((Object)str,·(Object)Boolean.TRUE));508 ················final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState2·=·(GrantPermissionsViewModel$GroupState)GrantPermissionsViewModel.access$getGroupStates$p(this.this$0).get(TuplesKt.to((Object)str,·(Object)Boolean.TRUE));
509 ················final·int·n3·=·3;509 ················final·int·n3·=·3;
510 ················if·(grantPermissionsViewModel$GroupState2·!=·null)·{510 ················if·(grantPermissionsViewModel$GroupState2·!=·null)·{
511 ····················grantPermissionsViewModel$GroupState2.setState$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(n3);511 ····················grantPermissionsViewModel$GroupState2.setState$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(n3);
512 ················}512 ················}
513 ················final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState3·=·(GrantPermissionsViewModel$GroupState)GrantPermissionsViewModel.access$getGroupStates$p(this.this$0).get(TuplesKt.to((Object)str,·(Object)Boolean.FALSE));513 ················final·GrantPermissionsViewModel$GroupState·grantPermissionsViewModel$GroupState3·=·(GrantPermissionsViewModel$GroupState)GrantPermissionsViewModel.access$getGroupStates$p(this.this$0).get(TuplesKt.to((Object)str,·(Object)Boolean.FALSE));
514 ················if·(grantPermissionsViewModel$GroupState3·==·null)·{514 ················if·(grantPermissionsViewModel$GroupState3·==·null)·{
515 ····················continue;515 ····················continue;
516 ················}516 ················}
517 ················grantPermissionsViewModel$GroupState3.setState$packages__modules__Permission__PermissionController__android_common_GooglePermissionController_apex30__PermissionController(n3);517 ················grantPermissionsViewModel$GroupState3.setState$packages__modules__Permission__PermissionController__android_common_apex30__PermissionController(n3);
518 ············}518 ············}
519 ········}519 ········}
520 ········if·(n2·!=·0)·{520 ········if·(n2·!=·0)·{
521 ············final·GrantPermissionsViewModel·this$0·=·this.this$0;521 ············final·GrantPermissionsViewModel·this$0·=·this.this$0;
522 ············final·Map·appPermGroupLiveDatas2·=·this.appPermGroupLiveDatas;522 ············final·Map·appPermGroupLiveDatas2·=·this.appPermGroupLiveDatas;
523 ············final·ArrayList<LightAppPermGroup>·list·=·new·ArrayList<LightAppPermGroup>();523 ············final·ArrayList<LightAppPermGroup>·list·=·new·ArrayList<LightAppPermGroup>();
524 ············final·Iterator<Map.Entry<K,·LightAppPermGroupLiveData>>·iterator6·=·appPermGroupLiveDatas2.entrySet().iterator();524 ············final·Iterator<Map.Entry<K,·LightAppPermGroupLiveData>>·iterator6·=·appPermGroupLiveDatas2.entrySet().iterator();