Offset 23, 34 lines modifiedOffset 23, 32 lines modified
23 ········">;>;",23 ········">;>;",
24 ········"Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver$PackageBroadcastListener;",24 ········"Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver$PackageBroadcastListener;",
25 ········"Lcom/android/permissioncontroller/permission/data/HasIntentAction;"25 ········"Lcom/android/permissioncontroller/permission/data/HasIntentAction;"
26 ····}26 ····}
27 .end·annotation27 .end·annotation
  
28 .annotation·system·Ldalvik/annotation/SourceDebugExtension;28 .annotation·system·Ldalvik/annotation/SourceDebugExtension;
29 ····value·=·"SMAP\nBroadcastReceiverLiveData.kt\nKotlin\n*S·Kotlin\n*F\n+·1·BroadcastReceiverLiveData.kt\ncom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData\n+·2·_Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,140:1\n1365#2,9:141\n1591#2,2:150\n1374#2:152\n*E\n*S·KotlinDebug\n*F\n+·1·BroadcastReceiverLiveData.kt\ncom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData\n*L\n76#1,9:141\n76#1,2:150\n76#1:152\n*E\n"29 ····value·=·"SMAP\nBroadcastReceiverLiveData.kt\nKotlin\n*S·Kotlin\n*F\n+·1·BroadcastReceiverLiveData.kt\ncom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData\n+·2·_Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,100:1\n1365#2,9:101\n1591#2,2:110\n1374#2:112\n*E\n*S·KotlinDebug\n*F\n+·1·BroadcastReceiverLiveData.kt\ncom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData\n*L\n59#1,9:101\n59#1,2:110\n59#1:112\n*E\n"
30 .end·annotation30 .end·annotation
  
  
31 #·static·fields31 #·static·fields
32 .field·public·static·final·Companion:Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData$Companion;32 .field·public·static·final·Companion:Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData$Companion;
  
  
33 #·instance·fields33 #·instance·fields
34 .field·private·final·app:Landroid/app/Application;34 .field·private·final·DEBUG:Z
  
35 .field·private·final·enabledDeviceAdminsLiveDataLiveData:Lcom/android/permissioncontroller/permission/data/EnabledDeviceAdminsLiveData;35 .field·private·final·app:Landroid/app/Application;
  
36 .field·private·final·intentAction:Ljava/lang/String;36 .field·private·final·intentAction:Ljava/lang/String;
37 ····.annotation·build·Lorg/jetbrains/annotations/NotNull;37 ····.annotation·build·Lorg/jetbrains/annotations/NotNull;
38 ····.end·annotation38 ····.end·annotation
39 .end·field39 .end·field
  
40 .field·private·final·name:Ljava/lang/String; 
  
41 .field·private·final·permission:Ljava/lang/String;40 .field·private·final·permission:Ljava/lang/String;
  
42 .field·private·final·user:Landroid/os/UserHandle;41 .field·private·final·user:Landroid/os/UserHandle;
  
  
43 #·direct·methods42 #·direct·methods
44 .method·static·constructor·<clinit>()V43 .method·static·constructor·<clinit>()V
Offset 98, 163 lines modifiedOffset 96, 43 lines modified
  
98 ····invoke-static·{p3,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V96 ····invoke-static·{p3,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
  
99 ····const-string·v0,·"user"97 ····const-string·v0,·"user"
  
100 ····invoke-static·{p4,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V98 ····invoke-static·{p4,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
  
101 ····.line·4399 ····.line·41
102 ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/data/SmartAsyncMediatorLiveData;-><init>()V100 ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/data/SmartAsyncMediatorLiveData;-><init>()V
  
103 ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->app:Landroid/app/Application;101 ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->app:Landroid/app/Application;
  
104 ····iput-object·p2,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->intentAction:Ljava/lang/String;102 ····iput-object·p2,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->intentAction:Ljava/lang/String;
  
105 ····iput-object·p3,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->permission:Ljava/lang/String;103 ····iput-object·p3,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->permission:Ljava/lang/String;
  
106 ····iput-object·p4,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->user:Landroid/os/UserHandle;104 ····iput-object·p4,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->user:Landroid/os/UserHandle;
  
107 ····.line·47 
108 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->getIntentAction()Ljava/lang/String; 
  
109 ····move-result-object·p1 
  
110 ····const-string·p2,·"." 
  
111 ····const/4·p3,·0x0 
  
112 ····const/4·p4,·0x2 
  
113 ····invoke-static·{p1,·p2,·p3,·p4,·p3},·Lkotlin/text/StringsKt;->substringAfterLast$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String; 
  
114 ····move-result-object·p1 
  
115 ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->name:Ljava/lang/String; 
  
116 ····.line·49 
117 ····sget-object·p1,·Lcom/android/permissioncontroller/permission/data/EnabledDeviceAdminsLiveData;->Companion:Lcom/android/permissioncontroller/permission/data/EnabledDeviceAdminsLiveData$Companion; 
  
118 ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->user:Landroid/os/UserHandle; 
  
119 ····invoke-virtual·{p1,·p2},·Lcom/android/permissioncontroller/permission/data/DataRepository;->get(Ljava/lang/Object;)Lcom/android/permissioncontroller/permission/data/DataRepository$InactiveTimekeeper; 
  
120 ····move-result-object·p1 
  
121 ····check-cast·p1,·Lcom/android/permissioncontroller/permission/data/EnabledDeviceAdminsLiveData; 
  
122 ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->enabledDeviceAdminsLiveDataLiveData:Lcom/android/permissioncontroller/permission/data/EnabledDeviceAdminsLiveData; 
  
123 ····.line·52 
124 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->getIntentAction()Ljava/lang/String; 
  
125 ····move-result-object·p1 
  
126 ····const-string·p2,·"android.app.action.DEVICE_ADMIN_ENABLED" 
  
127 ····invoke-static·{p1,·p2},·Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z 
  
128 ····move-result·p1 
  
129 ····if-eqz·p1,·:cond_0 
  
130 ····.line·53 
131 ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->enabledDeviceAdminsLiveDataLiveData:Lcom/android/permissioncontroller/permission/data/EnabledDeviceAdminsLiveData; 
  
132 ····new-instance·p2,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData$1; 
  
133 ····invoke-direct·{p2,·p0},·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData$1;-><init>(Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;)V 
  
134 ····invoke-virtual·{p0,·p1,·p2},·Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData;->addSource(Landroidx/lifecycle/LiveData;Landroidx/lifecycle/Observer;)V 
  
135 ····:cond_0 
136 ····return-void105 ····return-void
137 .end·method106 .end·method
  
138 .method·private·final·isReceiverEnabled(Ljava/lang/String;)Z 
139 ····.locals·3 
  
140 ····if-nez·p1,·:cond_0 
  
141 ····const/4·p1,·0x0 
  
142 ····return·p1 
  
143 ····.line·103 
144 ····:cond_0 
145 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->getIntentAction()Ljava/lang/String; 
  
146 ····move-result-object·v0 
  
147 ····invoke-virtual·{v0},·Ljava/lang/String;->hashCode()I 
  
148 ····move-result·v1 
  
149 ····const·v2,·-0x280c8d2c 
  
150 ····if-eq·v1,·v2,·:cond_1 
  
151 ····goto·:goto_0 
  
152 ····:cond_1 
153 ····const-string·v1,·"android.app.action.DEVICE_ADMIN_ENABLED" 
  
154 ····.line·104 
155 ····invoke-virtual·{v0,·v1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z 
  
156 ····move-result·v0 
  
157 ····if-eqz·v0,·:cond_3 
  
158 ····.line·105 
159 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->enabledDeviceAdminsLiveDataLiveData:Lcom/android/permissioncontroller/permission/data/EnabledDeviceAdminsLiveData; 
  
160 ····invoke-virtual·{v0},·Landroidx/lifecycle/LiveData;->getValue()Ljava/lang/Object; 
  
161 ····move-result-object·v0 
  
162 ····check-cast·v0,·Ljava/util/List; 
  
163 ····if-eqz·v0,·:cond_2 
  
164 ····invoke-interface·{v0,·p1},·Ljava/util/List;->contains(Ljava/lang/Object;)Z 
  
165 ····move-result·p1 
  
166 ····goto·:goto_1 
  
167 ····:cond_2 
168 ····invoke-static·{},·Lkotlin/jvm/internal/Intrinsics;->throwNpe()V 
  
169 ····const/4·p1,·0x0 
  
170 ····throw·p1 
  
171 ····:cond_3 
172 ····:goto_0 
173 ····const/4·p1,·0x1 
  
174 ····:goto_1 
175 ····return·p1 
176 .end·method 
  
  
177 #·virtual·methods107 #·virtual·methods
178 .method·public·getIntentAction()Ljava/lang/String;108 .method·public·getIntentAction()Ljava/lang/String;
179 ····.locals·1109 ····.locals·1
180 ····.annotation·build·Lorg/jetbrains/annotations/NotNull;110 ····.annotation·build·Lorg/jetbrains/annotations/NotNull;
181 ····.end·annotation111 ····.end·annotation
  
182 ····.line·40112 ····.line·38
183 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->intentAction:Ljava/lang/String;113 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->intentAction:Ljava/lang/String;
  
184 ····return-object·v0114 ····return-object·v0
185 .end·method115 .end·method
  
186 .method·public·loadDataAndPostValue(Lkotlinx/coroutines/Job;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;116 .method·public·loadDataAndPostValue(Lkotlinx/coroutines/Job;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
187 ····.locals·9117 ····.locals·8
188 ····.param·p1····#·Lkotlinx/coroutines/Job;118 ····.param·p1····#·Lkotlinx/coroutines/Job;
189 ········.annotation·build·Lorg/jetbrains/annotations/NotNull;119 ········.annotation·build·Lorg/jetbrains/annotations/NotNull;
190 ········.end·annotation120 ········.end·annotation
191 ····.end·param121 ····.end·param
192 ····.param·p2····#·Lkotlin/coroutines/Continuation;122 ····.param·p2····#·Lkotlin/coroutines/Continuation;
193 ········.annotation·build·Lorg/jetbrains/annotations/NotNull;123 ········.annotation·build·Lorg/jetbrains/annotations/NotNull;
194 ········.end·annotation124 ········.end·annotation
Offset 270, 55 lines modifiedOffset 148, 28 lines modified
270 ············"Ljava/lang/Object;"148 ············"Ljava/lang/Object;"
271 ········}149 ········}
272 ····.end·annotation150 ····.end·annotation
  
273 ····.annotation·build·Lorg/jetbrains/annotations/Nullable;151 ····.annotation·build·Lorg/jetbrains/annotations/Nullable;
274 ····.end·annotation152 ····.end·annotation
  
275 ····.line·64153 ····.line·51
276 ····invoke-interface·{p1},·Lkotlinx/coroutines/Job;->isCancelled()Z154 ····invoke-interface·{p1},·Lkotlinx/coroutines/Job;->isCancelled()Z
  
277 ····move-result·p1155 ····move-result·p1
  
278 ····if-eqz·p1,·:cond_0156 ····if-eqz·p1,·:cond_0
  
279 ····.line·65157 ····.line·52
280 ····sget-object·p1,·Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;158 ····sget-object·p1,·Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
  
281 ····return-object·p1159 ····return-object·p1
  
282 ····.line·68160 ····.line·55
283 ····:cond_0161 ····:cond_0
284 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->getIntentAction()Ljava/lang/String; 
  
285 ····move-result-object·p1 
  
286 ····const-string·p2,·"android.app.action.DEVICE_ADMIN_ENABLED" 
  
287 ····invoke-static·{p1,·p2},·Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z 
  
288 ····move-result·p1 
  
289 ····if-eqz·p1,·:cond_1 
  
290 ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->enabledDeviceAdminsLiveDataLiveData:Lcom/android/permissioncontroller/permission/data/EnabledDeviceAdminsLiveData; 
  
291 ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData;->isInitialized()Z 
  
292 ····move-result·p1 
  
293 ····if-nez·p1,·:cond_1 
  
294 ····.line·69 
295 ····sget-object·p1,·Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; 
  
296 ····return-object·p1 
  
297 ····.line·72 
298 ····:cond_1 
299 ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->app:Landroid/app/Application;162 ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->app:Landroid/app/Application;
  
300 ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->user:Landroid/os/UserHandle;163 ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->user:Landroid/os/UserHandle;
  
301 ····invoke-static·{p1,·p2},·Lcom/android/permissioncontroller/permission/utils/Utils;->getUserContext(Landroid/app/Application;Landroid/os/UserHandle;)Landroid/content/Context;164 ····invoke-static·{p1,·p2},·Lcom/android/permissioncontroller/permission/utils/Utils;->getUserContext(Landroid/app/Application;Landroid/os/UserHandle;)Landroid/content/Context;
  
302 ····move-result-object·p1165 ····move-result-object·p1
Offset 327, 26 lines modifiedOffset 178, 26 lines modified
  
327 ····invoke-static·{p1,·p2},·Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V178 ····invoke-static·{p1,·p2},·Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
  
328 ····invoke-virtual·{p1},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;179 ····invoke-virtual·{p1},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
  
329 ····move-result-object·p1180 ····move-result-object·p1
  
330 ····.line·74181 ····.line·57
331 ····new-instance·p2,·Landroid/content/Intent;182 ····new-instance·p2,·Landroid/content/Intent;
  
332 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->getIntentAction()Ljava/lang/String;183 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->getIntentAction()Ljava/lang/String;
  
333 ····move-result-object·v0184 ····move-result-object·v0
  
334 ····invoke-direct·{p2,·v0},·Landroid/content/Intent;-><init>(Ljava/lang/String;)V185 ····invoke-direct·{p2,·v0},·Landroid/content/Intent;-><init>(Ljava/lang/String;)V
  
335 ····const/16·v0,·0x82186 ····const/16·v0,·0x82
  
336 ····.line·73187 ····.line·56
337 ····invoke-virtual·{p1,·p2,·v0},·Landroid/content/pm/PackageManager;->queryBroadcastReceivers(Landroid/content/Intent;I)Ljava/util/List;188 ····invoke-virtual·{p1,·p2,·v0},·Landroid/content/pm/PackageManager;->queryBroadcastReceivers(Landroid/content/Intent;I)Ljava/util/List;
  
338 ····move-result-object·p1189 ····move-result-object·p1
  
339 ····const-string·p2,·"getUserContext(app,·user\u2026ageManager.GET_META_DATA)"190 ····const-string·p2,·"getUserContext(app,·user\u2026ageManager.GET_META_DATA)"
  
340 ····invoke-static·{p1,·p2},·Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V191 ····invoke-static·{p1,·p2},·Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
Offset 357, 175 lines modifiedOffset 208, 119 lines modified
357 ····invoke-direct·{p2},·Ljava/util/ArrayList;-><init>()V208 ····invoke-direct·{p2},·Ljava/util/ArrayList;-><init>()V
  
358 ····.line·1591209 ····.line·1591
359 ····invoke-interface·{p1},·Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;210 ····invoke-interface·{p1},·Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
  
360 ····move-result-object·p1211 ····move-result-object·p1
  
361 ····:cond_2212 ····:cond_1
362 ····:goto_0213 ····:goto_0
363 ····invoke-interface·{p1},·Ljava/util/Iterator;->hasNext()Z214 ····invoke-interface·{p1},·Ljava/util/Iterator;->hasNext()Z
  
364 ····move-result·v0215 ····move-result·v0
  
365 ····const/4·v1,·0x0216 ····const/4·v1,·0x0
  
366 ····if-eqz·v0,·:cond_7217 ····if-eqz·v0,·:cond_5
  
367 ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object;218 ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
368 ····move-result-object·v0219 ····move-result-object·v0
  
369 ····.line·1373220 ····.line·1373
370 ····check-cast·v0,·Landroid/content/pm/ResolveInfo;221 ····check-cast·v0,·Landroid/content/pm/ResolveInfo;
  
371 ····if-eqz·v0,·:cond_3222 ····if-eqz·v0,·:cond_2
  
372 ····.line·77223 ····.line·60
373 ····iget-object·v2,·v0,·Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;224 ····iget-object·v2,·v0,·Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
  
374 ····if-eqz·v2,·:cond_3225 ····if-eqz·v2,·:cond_2
  
375 ····iget-object·v2,·v2,·Landroid/content/pm/ActivityInfo;->permission:Ljava/lang/String;226 ····iget-object·v2,·v2,·Landroid/content/pm/ActivityInfo;->permission:Ljava/lang/String;
  
376 ····goto·:goto_1227 ····goto·:goto_1
  
377 ····:cond_3228 ····:cond_2
378 ····move-object·v2,·v1229 ····move-object·v2,·v1
  
379 ····:goto_1230 ····:goto_1
380 ····iget-object·v3,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->permission:Ljava/lang/String;231 ····iget-object·v3,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->permission:Ljava/lang/String;
  
381 ····invoke-static·{v2,·v3},·Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z232 ····invoke-static·{v2,·v3},·Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
  
382 ····move-result·v2233 ····move-result·v2
  
383 ····xor-int/lit8·v2,·v2,·0x1234 ····xor-int/lit8·v2,·v2,·0x1
  
384 ····if-eqz·v2,·:cond_4235 ····if-eqz·v2,·:cond_3
  
385 ····goto·:goto_3236 ····goto·:goto_2
  
386 ····:cond_4237 ····:cond_3
387 ····if-eqz·v0,·:cond_5238 ····if-eqz·v0,·:cond_4
  
388 ····.line·80239 ····.line·63
389 ····iget-object·v0,·v0,·Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;240 ····iget-object·v0,·v0,·Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
  
390 ····if-eqz·v0,·:cond_5241 ····if-eqz·v0,·:cond_4
  
391 ····iget-object·v0,·v0,·Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String;242 ····iget-object·v1,·v0,·Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String;
  
392 ····goto·:goto_2 
  
393 ····:cond_5243 ····:cond_4
394 ····move-object·v0,·v1 
  
395 ····.line·81 
396 ····:goto_2244 ····:goto_2
397 ····invoke-direct·{p0,·v0},·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->isReceiverEnabled(Ljava/lang/String;)Z 
  
398 ····move-result·v2 
  
399 ····if-nez·v2,·:cond_6245 ····if-eqz·v1,·:cond_1
  
400 ····.line·83 
401 ····sget-object·v3,·Lcom/android/permissioncontroller/DumpableLog;->INSTANCE:Lcom/android/permissioncontroller/DumpableLog; 
  
402 ····.line·84 
403 ····new-instance·v2,·Ljava/lang/StringBuilder; 
  
404 ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V 
  
405 ····const-string·v4,·"Not·exempting·" 
  
406 ····invoke-virtual·{v2,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
407 ····invoke-virtual·{v2,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
408 ····const-string·v0,·"·-·not·an·active·" 
  
409 ····invoke-virtual·{v2,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
410 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->name:Ljava/lang/String; 
  
411 ····invoke-virtual·{v2,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
412 ····const/16·v0,·0x20 
  
413 ····invoke-virtual·{v2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; 
  
414 ····const-string·v0,·"for·u" 
  
415 ····invoke-virtual·{v2,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
416 ····.line·85246 ····.line·1373
 247 ····invoke-interface·{p2,·v1},·Ljava/util/Collection;->add(Ljava/lang/Object;)Z
417 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->user:Landroid/os/UserHandle; 
  
418 ····invoke-virtual·{v0},·Landroid/os/UserHandle;->getIdentifier()I 
  
419 ····move-result·v0 
  
420 ····invoke-virtual·{v2,·v0},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; 
  
421 ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; 
  
422 ····move-result-object·v5 
  
423 ····const/4·v6,·0x0 
  
424 ····const/4·v7,·0x4 
  
425 ····const/4·v8,·0x0248 ····goto·:goto_0
  
426 ····const-string·v4,·"BroadcastReceiverLiveData"249 ····.line·64
 250 ····:cond_5
 251 ····invoke-static·{p2},·Lkotlin/collections/CollectionsKt;->toSet(Ljava/lang/Iterable;)Ljava/util/Set;
  
 252 ····move-result-object·p1
427 ····.line·83 
428 ····invoke-static/range·{v3·..·v8},·Lcom/android/permissioncontroller/DumpableLog;->i$default(Lcom/android/permissioncontroller/DumpableLog;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V 
  
429 ····goto·:goto_3253 ····.line·65
 254 ····iget-boolean·p2,·p0,·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->DEBUG:Z
  
 255 ····if-eqz·p2,·:cond_6
430 ····:cond_6 
431 ····move-object·v1,·v0 
  
432 ····:goto_3 
433 ····if-eqz·v1,·:cond_2256 ····.line·66
 257 ····sget-object·v2,·Lcom/android/permissioncontroller/DumpableLog;->INSTANCE:Lcom/android/permissioncontroller/DumpableLog;
  
 258 ····sget-object·p2,·Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData;->Companion:Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData$Companion;
434 ····.line·1373 
435 ····invoke-interface·{p2,·v1},·Ljava/util/Collection;->add(Ljava/lang/Object;)Z 
  
436 ····goto·:goto_0259 ····invoke-virtual·{p2},·Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData$Companion;->getLOG_TAG()Ljava/lang/String;
  
 260 ····move-result-object·v3
437 ····.line·90 
438 ····:cond_7 
439 ····invoke-static·{p2},·Lkotlin/collections/CollectionsKt;->toSet(Ljava/lang/Iterable;)Ljava/util/Set; 
  
440 ····move-result-object·p1261 ····const-string·p2,·"LOG_TAG"
  
 262 ····invoke-static·{v3,·p2},·Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
441 ····.line·92 
442 ····sget-object·v2,·Lcom/android/permissioncontroller/DumpableLog;->INSTANCE:Lcom/android/permissioncontroller/DumpableLog; 
  
443 ····.line·93263 ····.line·67
444 ····new-instance·p2,·Ljava/lang/StringBuilder;264 ····new-instance·p2,·Ljava/lang/StringBuilder;
  
445 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V265 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V
  
446 ····const-string·v0,·"Detected·"266 ····const-string·v0,·"Detected·"
  
447 ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;267 ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
448 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->getIntentAction()Ljava/lang/String;268 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/data/BroadcastReceiverLiveData;->getIntentAction()Ljava/lang/String;
  
449 ····move-result-object·v0269 ····move-result-object·v0
  
450 ····const/4·v3,·0x2270 ····const/4·v4,·0x2
  
451 ····const-string·v4,·"."271 ····const-string·v5,·"."
  
452 ····invoke-static·{v0,·v4,·v1,·v3,·v1},·Lkotlin/text/StringsKt;->substringAfterLast$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;272 ····invoke-static·{v0,·v5,·v1,·v4,·v1},·Lkotlin/text/StringsKt;->substringAfterLast$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
  
453 ····move-result-object·v0273 ····move-result-object·v0
  
454 ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;274 ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
455 ····const-string·v0,·"s:·"275 ····const-string·v0,·"s:·"
  
Offset 539, 52 lines modifiedOffset 334, 51 lines modified
  
539 ····const/4·v5,·0x0334 ····const/4·v5,·0x0
  
540 ····const/4·v6,·0x4335 ····const/4·v6,·0x4
  
541 ····const/4·v7,·0x0336 ····const/4·v7,·0x0
  
542 ····const-string·v3,·"BroadcastReceiverLiveData" 
  
543 ····.line·92337 ····.line·66
544 ····invoke-static/range·{v2·..·v7},·Lcom/android/permissioncontroller/DumpableLog;->i$default(Lcom/android/permissioncontroller/DumpableLog;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V338 ····invoke-static/range·{v2·..·v7},·Lcom/android/permissioncontroller/DumpableLog;->i$default(Lcom/android/permissioncontroller/DumpableLog;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
  
545 ····.line·96339 ····.line·70
 340 ····:cond_6
546 ····invoke-virtual·{p0,·p1},·Landroidx/lifecycle/MutableLiveData;->postValue(Ljava/lang/Object;)V341 ····invoke-virtual·{p0,·p1},·Landroidx/lifecycle/MutableLiveData;->postValue(Ljava/lang/Object;)V
  
547 ····.line·97342 ····.line·71
548 ····sget-object·p1,·Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;343 ····sget-object·p1,·Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
  
549 ····return-object·p1344 ····return-object·p1
550 .end·method345 .end·method
  
551 .method·protected·onActive()V346 .method·protected·onActive()V
552 ····.locals·1347 ····.locals·1
  
553 ····.line·112348 ····.line·74
554 ····invoke-super·{p0},·Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData;->onActive()V349 ····invoke-super·{p0},·Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData;->onActive()V
  
555 ····.line·114350 ····.line·76
556 ····sget-object·v0,·Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver;->INSTANCE:Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver;351 ····sget-object·v0,·Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver;->INSTANCE:Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver;
  
557 ····invoke-virtual·{v0,·p0},·Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver;->addAllCallback(Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver$PackageBroadcastListener;)V352 ····invoke-virtual·{v0,·p0},·Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver;->addAllCallback(Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver$PackageBroadcastListener;)V
  
558 ····.line·116353 ····.line·78
559 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/data/SmartAsyncMediatorLiveData;->updateAsync()V354 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/data/SmartAsyncMediatorLiveData;->updateAsync()V
  
560 ····return-void355 ····return-void
561 .end·method356 .end·method
  
562 .method·protected·onInactive()V357 .method·protected·onInactive()V
563 ····.locals·1358 ····.locals·1
  
564 ····.line·120359 ····.line·82
565 ····invoke-super·{p0},·Lcom/android/permissioncontroller/permission/data/SmartAsyncMediatorLiveData;->onInactive()V360 ····invoke-super·{p0},·Lcom/android/permissioncontroller/permission/data/SmartAsyncMediatorLiveData;->onInactive()V
  
566 ····.line·122361 ····.line·84
567 ····sget-object·v0,·Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver;->INSTANCE:Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver;362 ····sget-object·v0,·Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver;->INSTANCE:Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver;
  
568 ····invoke-virtual·{v0,·p0},·Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver;->removeAllCallback(Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver$PackageBroadcastListener;)V363 ····invoke-virtual·{v0,·p0},·Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver;->removeAllCallback(Lcom/android/permissioncontroller/permission/data/PackageBroadcastReceiver$PackageBroadcastListener;)V
  
569 ····return-void364 ····return-void
570 .end·method365 .end·method
  
Offset 595, 12 lines modifiedOffset 389, 12 lines modified
595 ········.end·annotation389 ········.end·annotation
596 ····.end·param390 ····.end·param
  
597 ····const-string·v0,·"packageName"391 ····const-string·v0,·"packageName"
  
598 ····invoke-static·{p1,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V392 ····invoke-static·{p1,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
  
599 ····.line·60393 ····.line·47
600 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/data/SmartAsyncMediatorLiveData;->updateAsync()V394 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/data/SmartAsyncMediatorLiveData;->updateAsync()V
  
601 ····return-void395 ····return-void
602 .end·method396 .end·method