| | | |
Offset 19, 14 lines modified | Offset 19, 19 lines modified |
19 | .field·private·static·final·LOG_TAG:Ljava/lang/String; | 19 | .field·private·static·final·LOG_TAG:Ljava/lang/String; |
20 | ····.annotation·build·Lorg/jetbrains/annotations/NotNull; | 20 | ····.annotation·build·Lorg/jetbrains/annotations/NotNull; |
21 | ····.end·annotation | 21 | ····.end·annotation |
22 | .end·field | 22 | .end·field |
| |
| |
23 | #·instance·fields | 23 | #·instance·fields |
| 24 | .field·private·final·app:Lcom/android/permissioncontroller/PermissionControllerApplication; |
| 25 | ····.annotation·build·Lorg/jetbrains/annotations/NotNull; |
| 26 | ····.end·annotation |
| 27 | .end·field |
| |
24 | .field·private·final·autoRevokeLiveData:Lcom/android/permissioncontroller/permission/data/AutoRevokeStateLiveData; | 28 | .field·private·final·autoRevokeLiveData:Lcom/android/permissioncontroller/permission/data/AutoRevokeStateLiveData; |
25 | ····.annotation·build·Lorg/jetbrains/annotations/NotNull; | 29 | ····.annotation·build·Lorg/jetbrains/annotations/NotNull; |
26 | ····.end·annotation | 30 | ····.end·annotation |
27 | .end·field | 31 | .end·field |
| |
28 | .field·private·final·packageName:Ljava/lang/String; | 32 | .field·private·final·packageName:Ljava/lang/String; |
| |
Offset 59, 15 lines modified | Offset 64, 15 lines modified |
| |
59 | ····const/4·v1,·0x0 | 64 | ····const/4·v1,·0x0 |
| |
60 | ····invoke-direct·{v0,·v1},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V | 65 | ····invoke-direct·{v0,·v1},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V |
| |
61 | ····sput-object·v0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->Companion:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$Companion; | 66 | ····sput-object·v0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->Companion:Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$Companion; |
| |
62 | ····.line·67 | 67 | ····.line·71 |
63 | ····const-class·v0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel; | 68 | ····const-class·v0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel; |
| |
64 | ····invoke-virtual·{v0},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String; | 69 | ····invoke-virtual·{v0},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String; |
| |
65 | ····move-result-object·v0 | 70 | ····move-result-object·v0 |
| |
66 | ····const-string·v1,·"AppPermissionGroupsViewM\u2026el::class.java.simpleName" | 71 | ····const-string·v1,·"AppPermissionGroupsViewM\u2026el::class.java.simpleName" |
Offset 94, 88 lines modified | Offset 99, 120 lines modified |
| |
94 | ····invoke-static·{p1,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | 99 | ····invoke-static·{p1,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V |
| |
95 | ····const-string·v0,·"user" | 100 | ····const-string·v0,·"user" |
| |
96 | ····invoke-static·{p2,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | 101 | ····invoke-static·{p2,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V |
| |
97 | ····.line·64 | 102 | ····.line·68 |
98 | ····invoke-direct·{p0},·Landroidx/lifecycle/ViewModel;-><init>()V | 103 | ····invoke-direct·{p0},·Landroidx/lifecycle/ViewModel;-><init>()V |
| |
99 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->packageName:Ljava/lang/String; | 104 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->packageName:Ljava/lang/String; |
| |
100 | ····iput-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->user:Landroid/os/UserHandle; | 105 | ····iput-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->user:Landroid/os/UserHandle; |
| |
101 | ····iput-wide·p3,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->sessionId:J | 106 | ····iput-wide·p3,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->sessionId:J |
| |
102 | ····.line·86 | 107 | ····.line·74 |
103 | ····sget-object·p3,·Lcom/android/permissioncontroller/permission/data/AutoRevokeStateLiveData;->Companion:Lcom/android/permissioncontroller/permission/data/AutoRevokeStateLiveData$Companion; | 108 | ····invoke-static·{},·Lcom/android/permissioncontroller/PermissionControllerApplication;->get()Lcom/android/permissioncontroller/PermissionControllerApplication; |
| |
| 109 | ····move-result-object·p1 |
| |
| 110 | ····if-eqz·p1,·:cond_0 |
| |
| 111 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->app:Lcom/android/permissioncontroller/PermissionControllerApplication; |
| |
| 112 | ····.line·92 |
| 113 | ····sget-object·p1,·Lcom/android/permissioncontroller/permission/data/AutoRevokeStateLiveData;->Companion:Lcom/android/permissioncontroller/permission/data/AutoRevokeStateLiveData$Companion; |
| |
| 114 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->packageName:Ljava/lang/String; |
| |
104 | ····invoke-static·{p3,·p1,·p2},·Lcom/android/permissioncontroller/permission/data/DataRepositoryKt;->get(Lcom/android/permissioncontroller/permission/data/DataRepository;Ljava/lang/Object;Ljava/lang/Object;)Lcom/android/permissioncontroller/permission/data/DataRepository$InactiveTimekeeper; | 115 | ····iget-object·p3,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->user:Landroid/os/UserHandle; |
| |
| 116 | ····invoke-static·{p1,·p2,·p3},·Lcom/android/permissioncontroller/permission/data/DataRepositoryKt;->get(Lcom/android/permissioncontroller/permission/data/DataRepository;Ljava/lang/Object;Ljava/lang/Object;)Lcom/android/permissioncontroller/permission/data/DataRepository$InactiveTimekeeper; |
| |
105 | ····move-result-object·p1 | 117 | ····move-result-object·p1 |
| |
106 | ····check-cast·p1,·Lcom/android/permissioncontroller/permission/data/AutoRevokeStateLiveData; | 118 | ····check-cast·p1,·Lcom/android/permissioncontroller/permission/data/AutoRevokeStateLiveData; |
| |
107 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->autoRevokeLiveData:Lcom/android/permissioncontroller/permission/data/AutoRevokeStateLiveData; | 119 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->autoRevokeLiveData:Lcom/android/permissioncontroller/permission/data/AutoRevokeStateLiveData; |
| |
108 | ····.line·93 | 120 | ····.line·99 |
109 | ····new-instance·p1,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$packagePermGroupsLiveData$1; | 121 | ····new-instance·p1,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$packagePermGroupsLiveData$1; |
| |
110 | ····invoke-direct·{p1,·p0},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$packagePermGroupsLiveData$1;-><init>(Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;)V | 122 | ····invoke-direct·{p1,·p0},·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$packagePermGroupsLiveData$1;-><init>(Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;)V |
| |
111 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->packagePermGroupsLiveData:Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData; | 123 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->packagePermGroupsLiveData:Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData; |
| |
112 | ····return-void | 124 | ····return-void |
| |
| 125 | ····.line·74 |
| 126 | ····:cond_0 |
| 127 | ····invoke-static·{},·Lkotlin/jvm/internal/Intrinsics;->throwNpe()V |
| |
| 128 | ····const/4·p1,·0x0 |
| |
| 129 | ····throw·p1 |
113 | .end·method | 130 | .end·method |
| |
114 | .method·public·static·final·synthetic·access$getLOG_TAG$cp()Ljava/lang/String; | 131 | .method·public·static·final·synthetic·access$getLOG_TAG$cp()Ljava/lang/String; |
115 | ····.locals·1 | 132 | ····.locals·1 |
| |
116 | ····.line·60 | 133 | ····.line·64 |
117 | ····sget-object·v0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->LOG_TAG:Ljava/lang/String; | 134 | ····sget-object·v0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->LOG_TAG:Ljava/lang/String; |
| |
118 | ····return-object·v0 | 135 | ····return-object·v0 |
119 | .end·method | 136 | .end·method |
| |
120 | .method·public·static·final·synthetic·access$getPackageName$p(Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;)Ljava/lang/String; | 137 | .method·public·static·final·synthetic·access$getPackageName$p(Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;)Ljava/lang/String; |
121 | ····.locals·0 | 138 | ····.locals·0 |
| |
122 | ····.line·60 | 139 | ····.line·64 |
123 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->packageName:Ljava/lang/String; | 140 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->packageName:Ljava/lang/String; |
| |
124 | ····return-object·p0 | 141 | ····return-object·p0 |
125 | .end·method | 142 | .end·method |
| |
126 | .method·public·static·final·synthetic·access$getSessionId$p(Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;)J | 143 | .method·public·static·final·synthetic·access$getSessionId$p(Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;)J |
127 | ····.locals·2 | 144 | ····.locals·2 |
| |
128 | ····.line·60 | 145 | ····.line·64 |
129 | ····iget-wide·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->sessionId:J | 146 | ····iget-wide·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->sessionId:J |
| |
130 | ····return-wide·v0 | 147 | ····return-wide·v0 |
131 | .end·method | 148 | .end·method |
| |
132 | .method·public·static·final·synthetic·access$getUser$p(Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;)Landroid/os/UserHandle; | 149 | .method·public·static·final·synthetic·access$getUser$p(Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;)Landroid/os/UserHandle; |
133 | ····.locals·0 | 150 | ····.locals·0 |
| |
134 | ····.line·60 | 151 | ····.line·64 |
135 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->user:Landroid/os/UserHandle; | 152 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->user:Landroid/os/UserHandle; |
| |
136 | ····return-object·p0 | 153 | ····return-object·p0 |
137 | .end·method | 154 | .end·method |
| |
| |
138 | #·virtual·methods | 155 | #·virtual·methods |
| 156 | .method·public·final·getApp()Lcom/android/permissioncontroller/PermissionControllerApplication; |
| 157 | ····.locals·1 |
| 158 | ····.annotation·build·Lorg/jetbrains/annotations/NotNull; |
| 159 | ····.end·annotation |
| |
| 160 | ····.line·74 |
| 161 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->app:Lcom/android/permissioncontroller/PermissionControllerApplication; |
| |
| 162 | ····return-object·v0 |
| 163 | .end·method |
| |
139 | .method·public·final·getAutoRevokeLiveData()Lcom/android/permissioncontroller/permission/data/AutoRevokeStateLiveData; | 164 | .method·public·final·getAutoRevokeLiveData()Lcom/android/permissioncontroller/permission/data/AutoRevokeStateLiveData; |
140 | ····.locals·1 | 165 | ····.locals·1 |
141 | ····.annotation·build·Lorg/jetbrains/annotations/NotNull; | 166 | ····.annotation·build·Lorg/jetbrains/annotations/NotNull; |
142 | ····.end·annotation | 167 | ····.end·annotation |
| |
143 | ····.line·86 | 168 | ····.line·92 |
144 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->autoRevokeLiveData:Lcom/android/permissioncontroller/permission/data/AutoRevokeStateLiveData; | 169 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->autoRevokeLiveData:Lcom/android/permissioncontroller/permission/data/AutoRevokeStateLiveData; |
| |
145 | ····return-object·v0 | 170 | ····return-object·v0 |
146 | .end·method | 171 | .end·method |
| |
147 | .method·public·final·getPackagePermGroupsLiveData()Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData; | 172 | .method·public·final·getPackagePermGroupsLiveData()Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData; |
148 | ····.locals·1 | 173 | ····.locals·1 |
Offset 190, 24 lines modified | Offset 227, 24 lines modified |
190 | ············">;>;>;" | 227 | ············">;>;>;" |
191 | ········} | 228 | ········} |
192 | ····.end·annotation | 229 | ····.end·annotation |
| |
193 | ····.annotation·build·Lorg/jetbrains/annotations/NotNull; | 230 | ····.annotation·build·Lorg/jetbrains/annotations/NotNull; |
194 | ····.end·annotation | 231 | ····.end·annotation |
| |
195 | ····.line·93 | 232 | ····.line·99 |
196 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->packagePermGroupsLiveData:Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData; | 233 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel;->packagePermGroupsLiveData:Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData; |
| |
197 | ····return-object·v0 | 234 | ····return-object·v0 |
198 | .end·method | 235 | .end·method |
| |
199 | .method·public·final·setAutoRevoke(Z)V | 236 | .method·public·final·setAutoRevoke(Z)V |
200 | ····.locals·6 | 237 | ····.locals·6 |
| |
201 | ····.line·178 | 238 | ····.line·184 |
202 | ····sget-object·v0,·Lkotlinx/coroutines/GlobalScope;->INSTANCE:Lkotlinx/coroutines/GlobalScope; | 239 | ····sget-object·v0,·Lkotlinx/coroutines/GlobalScope;->INSTANCE:Lkotlinx/coroutines/GlobalScope; |
| |
203 | ····invoke-static·{},·Lcom/android/permissioncontroller/permission/utils/AndroidUtilsKt;->getIPC()Lkotlinx/coroutines/ExecutorCoroutineDispatcher; | 240 | ····invoke-static·{},·Lcom/android/permissioncontroller/permission/utils/AndroidUtilsKt;->getIPC()Lkotlinx/coroutines/ExecutorCoroutineDispatcher; |
| |
204 | ····move-result-object·v1 | 241 | ····move-result-object·v1 |
| |
205 | ····new-instance·v3,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1; | 242 | ····new-instance·v3,·Lcom/android/permissioncontroller/permission/ui/model/AppPermissionGroupsViewModel$setAutoRevoke$1; |
Offset 240, 20 lines modified | Offset 277, 20 lines modified |
| |
240 | ····invoke-static·{p1,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | 277 | ····invoke-static·{p1,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V |
| |
241 | ····const-string·v0,·"args" | 278 | ····const-string·v0,·"args" |
| |
242 | ····invoke-static·{p2,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | 279 | ····invoke-static·{p2,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V |
| |
243 | ····.line·210 | 280 | ····.line·215 |
244 | ····invoke-static·{p1},·Landroidx/navigation/fragment/FragmentKt;->findNavController(Landroidx/fragment/app/Fragment;)Landroidx/navigation/NavController; | 281 | ····invoke-static·{p1},·Landroidx/navigation/fragment/FragmentKt;->findNavController(Landroidx/fragment/app/Fragment;)Landroidx/navigation/NavController; |
| |
245 | ····move-result-object·p1 | 282 | ····move-result-object·p1 |
| |
246 | ····const·v0,·0x7f0a020a | 283 | ····const·v0,·0x7f0a0212 |
| |
247 | ····invoke-static·{p1,·v0,·p2},·Lcom/android/permissioncontroller/permission/utils/KotlinUtilsKt;->navigateSafe(Landroidx/navigation/NavController;ILandroid/os/Bundle;)V | 284 | ····invoke-static·{p1,·v0,·p2},·Lcom/android/permissioncontroller/permission/utils/KotlinUtilsKt;->navigateSafe(Landroidx/navigation/NavController;ILandroid/os/Bundle;)V |
| |
248 | ····return-void | 285 | ····return-void |
249 | .end·method | 286 | .end·method |
| |
250 | .method·public·final·showExtraPerms(Landroidx/fragment/app/Fragment;Landroid/os/Bundle;)V | 287 | .method·public·final·showExtraPerms(Landroidx/fragment/app/Fragment;Landroid/os/Bundle;)V |
Offset 271, 18 lines modified | Offset 308, 18 lines modified |
| |
271 | ····invoke-static·{p1,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | 308 | ····invoke-static·{p1,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V |
| |
272 | ····const-string·v0,·"args" | 309 | ····const-string·v0,·"args" |
| |
273 | ····invoke-static·{p2,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | 310 | ····invoke-static·{p2,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V |
| |
274 | ····.line·206 | 311 | ····.line·211 |
275 | ····invoke-static·{p1},·Landroidx/navigation/fragment/FragmentKt;->findNavController(Landroidx/fragment/app/Fragment;)Landroidx/navigation/NavController; | 312 | ····invoke-static·{p1},·Landroidx/navigation/fragment/FragmentKt;->findNavController(Landroidx/fragment/app/Fragment;)Landroidx/navigation/NavController; |
| |
276 | ····move-result-object·p1 | 313 | ····move-result-object·p1 |
| |
277 | ····const·v0,·0x7f0a020c | 314 | ····const·v0,·0x7f0a0214 |
| |
278 | ····invoke-static·{p1,·v0,·p2},·Lcom/android/permissioncontroller/permission/utils/KotlinUtilsKt;->navigateSafe(Landroidx/navigation/NavController;ILandroid/os/Bundle;)V | 315 | ····invoke-static·{p1,·v0,·p2},·Lcom/android/permissioncontroller/permission/utils/KotlinUtilsKt;->navigateSafe(Landroidx/navigation/NavController;ILandroid/os/Bundle;)V |
| |
279 | ····return-void | 316 | ····return-void |
280 | .end·method | 317 | .end·method |