| | | |
Offset 57, 24 lines modified | Offset 57, 24 lines modified |
| |
57 | ····move-object·v1,·p1 | 57 | ····move-object·v1,·p1 |
| |
58 | ····move-object·v2,·p2 | 58 | ····move-object·v2,·p2 |
| |
59 | ····move-object·v3,·p3 | 59 | ····move-object·v3,·p3 |
| |
60 | ····.line·69 | 60 | ····.line·74 |
61 | ····invoke-direct/range·{v0·..·v5},·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;-><init>(Landroid/content/Context;Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;Ljava/lang/String;J)V | 61 | ····invoke-direct/range·{v0·..·v5},·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;-><init>(Landroid/content/Context;Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;Ljava/lang/String;J)V |
| |
62 | ····return-void | 62 | ····return-void |
63 | .end·method | 63 | .end·method |
| |
64 | .method·public·constructor·<init>(Landroid/content/Context;Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;Ljava/lang/String;J)V | 64 | .method·public·constructor·<init>(Landroid/content/Context;Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;Ljava/lang/String;J)V |
65 | ····.locals·11 | 65 | ····.locals·11 |
| |
66 | ····.line·74 | 66 | ····.line·79 |
67 | ····invoke-virtual·{p2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getApp()Landroid/content/pm/PackageInfo; | 67 | ····invoke-virtual·{p2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getApp()Landroid/content/pm/PackageInfo; |
| |
68 | ····move-result-object·v0 | 68 | ····move-result-object·v0 |
| |
69 | ····iget-object·v3,·v0,·Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String; | 69 | ····iget-object·v3,·v0,·Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String; |
| |
70 | ····invoke-virtual·{p2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getName()Ljava/lang/String; | 70 | ····invoke-virtual·{p2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getName()Ljava/lang/String; |
Offset 101, 225 lines modified | Offset 101, 225 lines modified |
| |
101 | ····return-void | 101 | ····return-void |
102 | .end·method | 102 | .end·method |
| |
103 | .method·public·constructor·<init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Landroid/os/UserHandle;Ljava/lang/String;JLjava/lang/String;Z)V | 103 | .method·public·constructor·<init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Landroid/os/UserHandle;Ljava/lang/String;JLjava/lang/String;Z)V |
104 | ····.locals·1 | 104 | ····.locals·1 |
| |
105 | ····.line·81 | 105 | ····.line·86 |
106 | ····invoke-direct·{p0,·p1},·Landroidx/preference/Preference;-><init>(Landroid/content/Context;)V | 106 | ····invoke-direct·{p0,·p1},·Landroidx/preference/Preference;-><init>(Landroid/content/Context;)V |
| |
107 | ····.line·82 | 107 | ····.line·87 |
108 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; | 108 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; |
| |
109 | ····const/4·p1,·0x0 | 109 | ····const/4·p1,·0x0 |
| |
110 | ····.line·83 | 110 | ····.line·88 |
111 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mWidgetIcon:Landroid/graphics/drawable/Drawable; | 111 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mWidgetIcon:Landroid/graphics/drawable/Drawable; |
| |
112 | ····const/4·v0,·0x0 | 112 | ····const/4·v0,·0x0 |
| |
113 | ····.line·84 | 113 | ····.line·89 |
114 | ····iput-boolean·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mUseSmallerIcon:Z | 114 | ····iput-boolean·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mUseSmallerIcon:Z |
| |
115 | ····.line·85 | 115 | ····.line·90 |
116 | ····iput-boolean·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mEllipsizeEnd:Z | 116 | ····iput-boolean·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mEllipsizeEnd:Z |
| |
117 | ····.line·86 | 117 | ····.line·91 |
118 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mTitleIcons:Ljava/util/List; | 118 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mTitleIcons:Ljava/util/List; |
| |
119 | ····.line·87 | 119 | ····.line·92 |
120 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mSummaryIcons:Ljava/util/List; | 120 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mSummaryIcons:Ljava/util/List; |
| |
121 | ····.line·88 | 121 | ····.line·93 |
122 | ····iput-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPackageName:Ljava/lang/String; | 122 | ····iput-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPackageName:Ljava/lang/String; |
| |
123 | ····.line·89 | 123 | ····.line·94 |
124 | ····iput-object·p5,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mCaller:Ljava/lang/String; | 124 | ····iput-object·p5,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mCaller:Ljava/lang/String; |
| |
125 | ····.line·90 | 125 | ····.line·95 |
126 | ····iput-object·p3,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPermGroupName:Ljava/lang/String; | 126 | ····iput-object·p3,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPermGroupName:Ljava/lang/String; |
| |
127 | ····.line·91 | 127 | ····.line·96 |
128 | ····iput-wide·p6,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mSessionId:J | 128 | ····iput-wide·p6,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mSessionId:J |
| |
129 | ····.line·92 | 129 | ····.line·97 |
130 | ····iput-object·p4,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mUser:Landroid/os/UserHandle; | 130 | ····iput-object·p4,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mUser:Landroid/os/UserHandle; |
| |
131 | ····.line·93 | 131 | ····.line·98 |
132 | ····iput-object·p8,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mGranted:Ljava/lang/String; | 132 | ····iput-object·p8,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mGranted:Ljava/lang/String; |
| |
133 | ····.line·94 | 133 | ····.line·99 |
134 | ····iput-boolean·p9,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mHasNavGraph:Z | 134 | ····iput-boolean·p9,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mHasNavGraph:Z |
| |
135 | ····return-void | 135 | ····return-void |
136 | .end·method | 136 | .end·method |
| |
137 | .method·private·synthetic·lambda$onBindViewHolder$0(Landroidx/preference/PreferenceViewHolder;Landroidx/preference/Preference;)Z | 137 | .method·private·synthetic·lambda$onBindViewHolder$0(Landroidx/preference/PreferenceViewHolder;Landroidx/preference/Preference;)Z |
138 | ····.locals·6 | 138 | ····.locals·6 |
| |
139 | ····.line·158 | 139 | ····.line·225 |
140 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; | 140 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; |
| |
141 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPermGroupName:Ljava/lang/String; | 141 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPermGroupName:Ljava/lang/String; |
| |
142 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPackageName:Ljava/lang/String; | 142 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPackageName:Ljava/lang/String; |
| |
143 | ····invoke-static·{p2,·v0,·v1},·Lcom/android/permissioncontroller/permission/utils/LocationUtils;->isLocationGroupAndProvider(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Z | 143 | ····invoke-static·{p2,·v0,·v1},·Lcom/android/permissioncontroller/permission/utils/LocationUtils;->isLocationGroupAndProvider(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Z |
| |
144 | ····move-result·p2 | 144 | ····move-result·p2 |
| |
145 | ····const-string·v0,·"android.intent.extra.PACKAGE_NAME" | 145 | ····const-string·v0,·"android.intent.extra.PACKAGE_NAME" |
| |
146 | ····if-eqz·p2,·:cond_0 | 146 | ····if-eqz·p2,·:cond_0 |
| |
147 | ····.line·160 | 147 | ····.line·227 |
148 | ····new-instance·p1,·Landroid/content/Intent; | 148 | ····new-instance·p1,·Landroid/content/Intent; |
| |
149 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; | 149 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; |
| |
150 | ····const-class·v1,·Lcom/android/permissioncontroller/permission/ui/LocationProviderInterceptDialog; | 150 | ····const-class·v1,·Lcom/android/permissioncontroller/permission/ui/LocationProviderInterceptDialog; |
| |
151 | ····invoke-direct·{p1,·p2,·v1},·Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V | 151 | ····invoke-direct·{p1,·p2,·v1},·Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V |
| |
152 | ····.line·161 | 152 | ····.line·228 |
153 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPackageName:Ljava/lang/String; | 153 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPackageName:Ljava/lang/String; |
| |
154 | ····invoke-virtual·{p1,·v0,·p2},·Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; | 154 | ····invoke-virtual·{p1,·v0,·p2},·Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; |
| |
155 | ····.line·162 | 155 | ····.line·229 |
156 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; | 156 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; |
| |
157 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mUser:Landroid/os/UserHandle; | 157 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mUser:Landroid/os/UserHandle; |
| |
158 | ····invoke-virtual·{p2,·p1,·v0},·Landroid/content/Context;->startActivityAsUser(Landroid/content/Intent;Landroid/os/UserHandle;)V | 158 | ····invoke-virtual·{p2,·p1,·v0},·Landroid/content/Context;->startActivityAsUser(Landroid/content/Intent;Landroid/os/UserHandle;)V |
| |
159 | ····goto/16·:goto_0 | 159 | ····goto/16·:goto_0 |
| |
160 | ····.line·163 | 160 | ····.line·230 |
161 | ····:cond_0 | 161 | ····:cond_0 |
162 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; | 162 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; |
| |
163 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPermGroupName:Ljava/lang/String; | 163 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPermGroupName:Ljava/lang/String; |
| |
164 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPackageName:Ljava/lang/String; | 164 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPackageName:Ljava/lang/String; |
| |
165 | ····invoke-static·{p2,·v1,·v2},·Lcom/android/permissioncontroller/permission/utils/LocationUtils;->isLocationGroupAndControllerExtraPackage(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Z | 165 | ····invoke-static·{p2,·v1,·v2},·Lcom/android/permissioncontroller/permission/utils/LocationUtils;->isLocationGroupAndControllerExtraPackage(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Z |
| |
166 | ····move-result·p2 | 166 | ····move-result·p2 |
| |
167 | ····if-eqz·p2,·:cond_1 | 167 | ····if-eqz·p2,·:cond_1 |
| |
168 | ····.line·166 | 168 | ····.line·233 |
169 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; | 169 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; |
| |
170 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mUser:Landroid/os/UserHandle; | 170 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mUser:Landroid/os/UserHandle; |
| |
171 | ····invoke-static·{p1,·p2},·Lcom/android/permissioncontroller/permission/utils/LocationUtils;->startLocationControllerExtraPackageSettings(Landroid/content/Context;Landroid/os/UserHandle;)V | 171 | ····invoke-static·{p1,·p2},·Lcom/android/permissioncontroller/permission/utils/LocationUtils;->startLocationControllerExtraPackageSettings(Landroid/content/Context;Landroid/os/UserHandle;)V |
| |
172 | ····goto·:goto_0 | 172 | ····goto·:goto_0 |
| |
173 | ····.line·167 | 173 | ····.line·234 |
174 | ····:cond_1 | 174 | ····:cond_1 |
175 | ····iget-boolean·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mHasNavGraph:Z | 175 | ····iget-boolean·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mHasNavGraph:Z |
| |
176 | ····const-string·v1,·"com.android.permissioncontroller.extra.SESSION_ID" | 176 | ····const-string·v1,·"com.android.permissioncontroller.extra.SESSION_ID" |
| |
177 | ····const-string·v2,·"com.android.permissioncontroller.extra.CALLER_NAME" | 177 | ····const-string·v2,·"com.android.permissioncontroller.extra.CALLER_NAME" |
| |
178 | ····const-string·v3,·"android.intent.extra.USER" | 178 | ····const-string·v3,·"android.intent.extra.USER" |
| |
179 | ····const-string·v4,·"android.intent.extra.PERMISSION_GROUP_NAME" | 179 | ····const-string·v4,·"android.intent.extra.PERMISSION_GROUP_NAME" |
| |
180 | ····if-eqz·p2,·:cond_2 | 180 | ····if-eqz·p2,·:cond_2 |
| |
181 | ····.line·168 | 181 | ····.line·235 |
182 | ····new-instance·p2,·Landroid/os/Bundle; | 182 | ····new-instance·p2,·Landroid/os/Bundle; |
| |
183 | ····invoke-direct·{p2},·Landroid/os/Bundle;-><init>()V | 183 | ····invoke-direct·{p2},·Landroid/os/Bundle;-><init>()V |
| |
184 | ····.line·169 | 184 | ····.line·236 |
185 | ····iget-object·v5,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPackageName:Ljava/lang/String; | 185 | ····iget-object·v5,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPackageName:Ljava/lang/String; |
| |
186 | ····invoke-virtual·{p2,·v0,·v5},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 186 | ····invoke-virtual·{p2,·v0,·v5},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
| |
187 | ····.line·170 | 187 | ····.line·237 |
188 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPermGroupName:Ljava/lang/String; | 188 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPermGroupName:Ljava/lang/String; |
| |
189 | ····invoke-virtual·{p2,·v4,·v0},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 189 | ····invoke-virtual·{p2,·v4,·v0},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
| |
190 | ····.line·171 | 190 | ····.line·238 |
191 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mUser:Landroid/os/UserHandle; | 191 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mUser:Landroid/os/UserHandle; |
| |
192 | ····invoke-virtual·{p2,·v3,·v0},·Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V | 192 | ····invoke-virtual·{p2,·v3,·v0},·Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V |
| |
193 | ····.line·172 | 193 | ····.line·239 |
194 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mCaller:Ljava/lang/String; | 194 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mCaller:Ljava/lang/String; |
| |
195 | ····invoke-virtual·{p2,·v2,·v0},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 195 | ····invoke-virtual·{p2,·v2,·v0},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
| |
196 | ····.line·173 | 196 | ····.line·240 |
197 | ····iget-wide·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mSessionId:J | 197 | ····iget-wide·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mSessionId:J |
| |
198 | ····invoke-virtual·{p2,·v1,·v2,·v3},·Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V | 198 | ····invoke-virtual·{p2,·v1,·v2,·v3},·Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V |
| |
199 | ····.line·174 | 199 | ····.line·241 |
200 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mGranted:Ljava/lang/String; | 200 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mGranted:Ljava/lang/String; |
| |
201 | ····const-string·v1,·"grant_category" | 201 | ····const-string·v1,·"grant_category" |
| |
202 | ····invoke-virtual·{p2,·v1,·v0},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 202 | ····invoke-virtual·{p2,·v1,·v0},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
| |
203 | ····.line·175 | 203 | ····.line·242 |
204 | ····iget-object·p1,·p1,·Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View; | 204 | ····iget-object·p1,·p1,·Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View; |
| |
205 | ····invoke-static·{p1},·Landroidx/navigation/Navigation;->findNavController(Landroid/view/View;)Landroidx/navigation/NavController; | 205 | ····invoke-static·{p1},·Landroidx/navigation/Navigation;->findNavController(Landroid/view/View;)Landroidx/navigation/NavController; |
| |
206 | ····move-result-object·p1 | 206 | ····move-result-object·p1 |
| |
207 | ····const·v0,·0x7f0a020b | 207 | ····const·v0,·0x7f0a0213 |
| |
208 | ····invoke-static·{p1,·v0,·p2},·Lcom/android/permissioncontroller/permission/utils/KotlinUtilsKt;->navigateSafe(Landroidx/navigation/NavController;ILandroid/os/Bundle;)V | 208 | ····invoke-static·{p1,·v0,·p2},·Lcom/android/permissioncontroller/permission/utils/KotlinUtilsKt;->navigateSafe(Landroidx/navigation/NavController;ILandroid/os/Bundle;)V |
| |
209 | ····goto·:goto_0 | 209 | ····goto·:goto_0 |
| |
210 | ····.line·180 | 210 | ····.line·247 |
211 | ····:cond_2 | 211 | ····:cond_2 |
212 | ····new-instance·p1,·Landroid/content/Intent; | 212 | ····new-instance·p1,·Landroid/content/Intent; |
| |
213 | ····const-string·p2,·"android.intent.action.MANAGE_APP_PERMISSION" | 213 | ····const-string·p2,·"android.intent.action.MANAGE_APP_PERMISSION" |
| |
214 | ····invoke-direct·{p1,·p2},·Landroid/content/Intent;-><init>(Ljava/lang/String;)V | 214 | ····invoke-direct·{p1,·p2},·Landroid/content/Intent;-><init>(Ljava/lang/String;)V |
| |
215 | ····.line·181 | 215 | ····.line·248 |
216 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPackageName:Ljava/lang/String; | 216 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPackageName:Ljava/lang/String; |
| |
217 | ····invoke-virtual·{p1,·v0,·p2},·Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; | 217 | ····invoke-virtual·{p1,·v0,·p2},·Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; |
| |
218 | ····.line·182 | 218 | ····.line·249 |
219 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPermGroupName:Ljava/lang/String; | 219 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mPermGroupName:Ljava/lang/String; |
| |
220 | ····invoke-virtual·{p1,·v4,·p2},·Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; | 220 | ····invoke-virtual·{p1,·v4,·p2},·Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; |
| |
221 | ····.line·183 | 221 | ····.line·250 |
222 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mUser:Landroid/os/UserHandle; | 222 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mUser:Landroid/os/UserHandle; |
| |
223 | ····invoke-virtual·{p1,·v3,·p2},·Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent; | 223 | ····invoke-virtual·{p1,·v3,·p2},·Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent; |
| |
224 | ····.line·184 | 224 | ····.line·251 |
225 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mCaller:Ljava/lang/String; | 225 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mCaller:Ljava/lang/String; |
| |
226 | ····invoke-virtual·{p1,·v2,·p2},·Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; | 226 | ····invoke-virtual·{p1,·v2,·p2},·Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; |
| |
227 | ····.line·185 | 227 | ····.line·252 |
228 | ····iget-wide·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mSessionId:J | 228 | ····iget-wide·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mSessionId:J |
| |
229 | ····invoke-virtual·{p1,·v1,·v2,·v3},·Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent; | 229 | ····invoke-virtual·{p1,·v1,·v2,·v3},·Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent; |
| |
230 | ····.line·186 | 230 | ····.line·253 |
231 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; | 231 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; |
| |
232 | ····invoke-virtual·{p2,·p1},·Landroid/content/Context;->startActivity(Landroid/content/Intent;)V | 232 | ····invoke-virtual·{p2,·p1},·Landroid/content/Context;->startActivity(Landroid/content/Intent;)V |
| |
233 | ····:goto_0 | 233 | ····:goto_0 |
234 | ····const/4·p1,·0x1 | 234 | ····const/4·p1,·0x1 |
| |
Offset 334, 103 lines modified | Offset 334, 103 lines modified |
334 | ············"Landroidx/preference/PreferenceViewHolder;", | 334 | ············"Landroidx/preference/PreferenceViewHolder;", |
335 | ············"Ljava/util/List<", | 335 | ············"Ljava/util/List<", |
336 | ············"Ljava/lang/Integer;", | 336 | ············"Ljava/lang/Integer;", |
337 | ············">;I)V" | 337 | ············">;I)V" |
338 | ········} | 338 | ········} |
339 | ····.end·annotation | 339 | ····.end·annotation |
| |
340 | ····.line·193 | 340 | ····.line·260 |
341 | ····invoke-virtual·{p1,·p3},·Landroidx/preference/PreferenceViewHolder;->findViewById(I)Landroid/view/View; | 341 | ····invoke-virtual·{p1,·p3},·Landroidx/preference/PreferenceViewHolder;->findViewById(I)Landroid/view/View; |
| |
342 | ····move-result-object·p1 | 342 | ····move-result-object·p1 |
| |
343 | ····check-cast·p1,·Landroid/view/ViewGroup; | 343 | ····check-cast·p1,·Landroid/view/ViewGroup; |
| |
344 | ····if-eqz·p2,·:cond_0 | 344 | ····if-eqz·p2,·:cond_0 |
| |
345 | ····.line·194 | 345 | ····.line·261 |
346 | ····invoke-interface·{p2},·Ljava/util/List;->isEmpty()Z | 346 | ····invoke-interface·{p2},·Ljava/util/List;->isEmpty()Z |
| |
347 | ····move-result·p3 | 347 | ····move-result·p3 |
| |
348 | ····if-nez·p3,·:cond_0 | 348 | ····if-nez·p3,·:cond_0 |
| |
349 | ····const/4·p3,·0x0 | 349 | ····const/4·p3,·0x0 |
| |
350 | ····.line·195 | 350 | ····.line·262 |
351 | ····invoke-virtual·{p1,·p3},·Landroid/view/ViewGroup;->setVisibility(I)V | 351 | ····invoke-virtual·{p1,·p3},·Landroid/view/ViewGroup;->setVisibility(I)V |
| |
352 | ····.line·196 | 352 | ····.line·263 |
353 | ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->removeAllViews()V | 353 | ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->removeAllViews()V |
| |
354 | ····.line·197 | 354 | ····.line·264 |
355 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; | 355 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; |
| |
356 | ····const-class·v1,·Landroid/view/LayoutInflater; | 356 | ····const-class·v1,·Landroid/view/LayoutInflater; |
| |
357 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object; | 357 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object; |
| |
358 | ····move-result-object·v0 | 358 | ····move-result-object·v0 |
| |
359 | ····check-cast·v0,·Landroid/view/LayoutInflater; | 359 | ····check-cast·v0,·Landroid/view/LayoutInflater; |
| |
360 | ····.line·198 | 360 | ····.line·265 |
361 | ····invoke-interface·{p2},·Ljava/util/List;->size()I | 361 | ····invoke-interface·{p2},·Ljava/util/List;->size()I |
| |
362 | ····move-result·v1 | 362 | ····move-result·v1 |
| |
363 | ····:goto_0 | 363 | ····:goto_0 |
364 | ····if-ge·p3,·v1,·:cond_1 | 364 | ····if-ge·p3,·v1,·:cond_1 |
| |
365 | ····const·v2,·0x7f0d00f4 | 365 | ····const·v2,·0x7f0d00f6 |
| |
366 | ····const/4·v3,·0x0 | 366 | ····const/4·v3,·0x0 |
| |
367 | ····.line·200 | 367 | ····.line·267 |
368 | ····invoke-virtual·{v0,·v2,·v3},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View; | 368 | ····invoke-virtual·{v0,·v2,·v3},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View; |
| |
369 | ····move-result-object·v2 | 369 | ····move-result-object·v2 |
| |
370 | ····check-cast·v2,·Landroid/view/ViewGroup; | 370 | ····check-cast·v2,·Landroid/view/ViewGroup; |
| |
371 | ····const·v3,·0x7f0a017e | 371 | ····const·v3,·0x7f0a0182 |
| |
372 | ····.line·202 | 372 | ····.line·269 |
373 | ····invoke-virtual·{v2,·v3},·Landroid/view/ViewGroup;->requireViewById(I)Landroid/view/View; | 373 | ····invoke-virtual·{v2,·v3},·Landroid/view/ViewGroup;->requireViewById(I)Landroid/view/View; |
| |
374 | ····move-result-object·v3 | 374 | ····move-result-object·v3 |
| |
375 | ····check-cast·v3,·Landroid/widget/ImageView; | 375 | ····check-cast·v3,·Landroid/widget/ImageView; |
| |
376 | ····.line·203 | 376 | ····.line·270 |
377 | ····invoke-interface·{p2,·p3},·Ljava/util/List;->get(I)Ljava/lang/Object; | 377 | ····invoke-interface·{p2,·p3},·Ljava/util/List;->get(I)Ljava/lang/Object; |
| |
378 | ····move-result-object·v4 | 378 | ····move-result-object·v4 |
| |
379 | ····check-cast·v4,·Ljava/lang/Integer; | 379 | ····check-cast·v4,·Ljava/lang/Integer; |
| |
380 | ····invoke-virtual·{v4},·Ljava/lang/Integer;->intValue()I | 380 | ····invoke-virtual·{v4},·Ljava/lang/Integer;->intValue()I |
| |
381 | ····move-result·v4 | 381 | ····move-result·v4 |
| |
382 | ····invoke-virtual·{v3,·v4},·Landroid/widget/ImageView;->setImageResource(I)V | 382 | ····invoke-virtual·{v3,·v4},·Landroid/widget/ImageView;->setImageResource(I)V |
| |
383 | ····.line·204 | 383 | ····.line·271 |
384 | ····invoke-virtual·{p1,·v2},·Landroid/view/ViewGroup;->addView(Landroid/view/View;)V | 384 | ····invoke-virtual·{p1,·v2},·Landroid/view/ViewGroup;->addView(Landroid/view/View;)V |
| |
385 | ····add-int/lit8·p3,·p3,·0x1 | 385 | ····add-int/lit8·p3,·p3,·0x1 |
| |
386 | ····goto·:goto_0 | 386 | ····goto·:goto_0 |
| |
387 | ····:cond_0 | 387 | ····:cond_0 |
388 | ····if-eqz·p1,·:cond_1 | 388 | ····if-eqz·p1,·:cond_1 |
| |
389 | ····const/16·p2,·0x8 | 389 | ····const/16·p2,·0x8 |
| |
390 | ····.line·207 | 390 | ····.line·274 |
391 | ····invoke-virtual·{p1,·p2},·Landroid/view/ViewGroup;->setVisibility(I)V | 391 | ····invoke-virtual·{p1,·p2},·Landroid/view/ViewGroup;->setVisibility(I)V |
| |
392 | ····:cond_1 | 392 | ····:cond_1 |
393 | ····return-void | 393 | ····return-void |
394 | .end·method | 394 | .end·method |
| |
| |
Offset 444, 153 lines modified | Offset 444, 431 lines modified |
| |
444 | ····return·p1 | 444 | ····return·p1 |
445 | .end·method | 445 | .end·method |
| |
446 | .method·public·onBindViewHolder(Landroidx/preference/PreferenceViewHolder;)V | 446 | .method·public·onBindViewHolder(Landroidx/preference/PreferenceViewHolder;)V |
447 | ····.locals·3 | 447 | ····.locals·3 |
| |
448 | ····.line·133 | 448 | ····.line·200 |
449 | ····iget-boolean·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mUseSmallerIcon:Z | 449 | ····iget-boolean·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mUseSmallerIcon:Z |
| |
450 | ····if-eqz·v0,·:cond_0 | 450 | ····if-eqz·v0,·:cond_0 |
| |
451 | ····const·v0,·0x1020006 | 451 | ····const·v0,·0x1020006 |
| |
452 | ····.line·134 | 452 | ····.line·201 |
453 | ····invoke-virtual·{p1,·v0},·Landroidx/preference/PreferenceViewHolder;->findViewById(I)Landroid/view/View; | 453 | ····invoke-virtual·{p1,·v0},·Landroidx/preference/PreferenceViewHolder;->findViewById(I)Landroid/view/View; |
| |
454 | ····move-result-object·v0 | 454 | ····move-result-object·v0 |
| |
455 | ····check-cast·v0,·Landroid/widget/ImageView; | 455 | ····check-cast·v0,·Landroid/widget/ImageView; |
| |
456 | ····.line·135 | 456 | ····.line·202 |
457 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; | 457 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; |
| |
458 | ····.line·136 | 458 | ····.line·203 |
459 | ····invoke-virtual·{v1},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 459 | ····invoke-virtual·{v1},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
460 | ····move-result-object·v1 | 460 | ····move-result-object·v1 |
| |
461 | ····const·v2,·0x7f0702b7 | 461 | ····const·v2,·0x7f0702b9 |
| |
462 | ····invoke-virtual·{v1,·v2},·Landroid/content/res/Resources;->getDimensionPixelSize(I)I | 462 | ····invoke-virtual·{v1,·v2},·Landroid/content/res/Resources;->getDimensionPixelSize(I)I |
| |
463 | ····move-result·v1 | 463 | ····move-result·v1 |
| |
464 | ····.line·135 | 464 | ····.line·202 |
465 | ····invoke-virtual·{v0,·v1},·Landroid/widget/ImageView;->setMaxWidth(I)V | 465 | ····invoke-virtual·{v0,·v1},·Landroid/widget/ImageView;->setMaxWidth(I)V |
| |
466 | ····.line·137 | 466 | ····.line·204 |
467 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; | 467 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; |
| |
468 | ····.line·138 | 468 | ····.line·205 |
469 | ····invoke-virtual·{v1},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 469 | ····invoke-virtual·{v1},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
470 | ····move-result-object·v1 | 470 | ····move-result-object·v1 |
| |
471 | ····invoke-virtual·{v1,·v2},·Landroid/content/res/Resources;->getDimensionPixelSize(I)I | 471 | ····invoke-virtual·{v1,·v2},·Landroid/content/res/Resources;->getDimensionPixelSize(I)I |
| |
472 | ····move-result·v1 | 472 | ····move-result·v1 |
| |
473 | ····.line·137 | 473 | ····.line·204 |
474 | ····invoke-virtual·{v0,·v1},·Landroid/widget/ImageView;->setMaxHeight(I)V | 474 | ····invoke-virtual·{v0,·v1},·Landroid/widget/ImageView;->setMaxHeight(I)V |
| |
475 | ····.line·141 | 475 | ····.line·208 |
476 | ····:cond_0 | 476 | ····:cond_0 |
477 | ····invoke-super·{p0,·p1},·Landroidx/preference/Preference;->onBindViewHolder(Landroidx/preference/PreferenceViewHolder;)V | 477 | ····invoke-super·{p0,·p1},·Landroidx/preference/Preference;->onBindViewHolder(Landroidx/preference/PreferenceViewHolder;)V |
| |
478 | ····.line·143 | 478 | ····.line·210 |
479 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mWidgetIcon:Landroid/graphics/drawable/Drawable; | 479 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mWidgetIcon:Landroid/graphics/drawable/Drawable; |
| |
480 | ····if-eqz·v0,·:cond_1 | 480 | ····if-eqz·v0,·:cond_1 |
| |
481 | ····const·v0,·0x1020018 | 481 | ····const·v0,·0x1020018 |
| |
482 | ····.line·144 | 482 | ····.line·211 |
483 | ····invoke-virtual·{p1,·v0},·Landroidx/preference/PreferenceViewHolder;->findViewById(I)Landroid/view/View; | 483 | ····invoke-virtual·{p1,·v0},·Landroidx/preference/PreferenceViewHolder;->findViewById(I)Landroid/view/View; |
| |
484 | ····move-result-object·v0 | 484 | ····move-result-object·v0 |
| |
485 | ····const·v1,·0x7f0a017e | 485 | ····const·v1,·0x7f0a0182 |
| |
486 | ····.line·145 | 486 | ····.line·212 |
487 | ····invoke-virtual·{v0,·v1},·Landroid/view/View;->findViewById(I)Landroid/view/View; | 487 | ····invoke-virtual·{v0,·v1},·Landroid/view/View;->findViewById(I)Landroid/view/View; |
| |
488 | ····move-result-object·v0 | 488 | ····move-result-object·v0 |
| |
489 | ····check-cast·v0,·Landroid/widget/ImageView; | 489 | ····check-cast·v0,·Landroid/widget/ImageView; |
| |
490 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mWidgetIcon:Landroid/graphics/drawable/Drawable; | 490 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mWidgetIcon:Landroid/graphics/drawable/Drawable; |
| |
491 | ····invoke-virtual·{v0,·v1},·Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V | 491 | ····invoke-virtual·{v0,·v1},·Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V |
| |
492 | ····.line·148 | 492 | ····.line·215 |
493 | ····:cond_1 | 493 | ····:cond_1 |
494 | ····iget-boolean·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mEllipsizeEnd:Z | 494 | ····iget-boolean·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mEllipsizeEnd:Z |
| |
495 | ····if-eqz·v0,·:cond_2 | 495 | ····if-eqz·v0,·:cond_2 |
| |
496 | ····const·v0,·0x1020016 | 496 | ····const·v0,·0x1020016 |
| |
497 | ····.line·149 | 497 | ····.line·216 |
498 | ····invoke-virtual·{p1,·v0},·Landroidx/preference/PreferenceViewHolder;->findViewById(I)Landroid/view/View; | 498 | ····invoke-virtual·{p1,·v0},·Landroidx/preference/PreferenceViewHolder;->findViewById(I)Landroid/view/View; |
| |
499 | ····move-result-object·v0 | 499 | ····move-result-object·v0 |
| |
500 | ····check-cast·v0,·Landroid/widget/TextView; | 500 | ····check-cast·v0,·Landroid/widget/TextView; |
| |
501 | ····const/4·v1,·0x1 | 501 | ····const/4·v1,·0x1 |
| |
502 | ····.line·150 | 502 | ····.line·217 |
503 | ····invoke-virtual·{v0,·v1},·Landroid/widget/TextView;->setMaxLines(I)V | 503 | ····invoke-virtual·{v0,·v1},·Landroid/widget/TextView;->setMaxLines(I)V |
| |
504 | ····.line·151 | 504 | ····.line·218 |
505 | ····sget-object·v1,·Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt; | 505 | ····sget-object·v1,·Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt; |
| |
506 | ····invoke-virtual·{v0,·v1},·Landroid/widget/TextView;->setEllipsize(Landroid/text/TextUtils$TruncateAt;)V | 506 | ····invoke-virtual·{v0,·v1},·Landroid/widget/TextView;->setEllipsize(Landroid/text/TextUtils$TruncateAt;)V |
| |
507 | ····.line·154 | 507 | ····.line·221 |
508 | ····:cond_2 | 508 | ····:cond_2 |
509 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mSummaryIcons:Ljava/util/List; | 509 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mSummaryIcons:Ljava/util/List; |
| |
510 | ····const·v1,·0x7f0a028d | 510 | ····const·v1,·0x7f0a0296 |
| |
511 | ····invoke-direct·{p0,·p1,·v0,·v1},·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->setIcons(Landroidx/preference/PreferenceViewHolder;Ljava/util/List;I)V | 511 | ····invoke-direct·{p0,·p1,·v0,·v1},·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->setIcons(Landroidx/preference/PreferenceViewHolder;Ljava/util/List;I)V |
| |
512 | ····.line·155 | 512 | ····.line·222 |
513 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mTitleIcons:Ljava/util/List; | 513 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mTitleIcons:Ljava/util/List; |
| |
514 | ····const·v1,·0x7f0a02b0 | 514 | ····const·v1,·0x7f0a02bb |
| |
515 | ····invoke-direct·{p0,·p1,·v0,·v1},·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->setIcons(Landroidx/preference/PreferenceViewHolder;Ljava/util/List;I)V | 515 | ····invoke-direct·{p0,·p1,·v0,·v1},·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->setIcons(Landroidx/preference/PreferenceViewHolder;Ljava/util/List;I)V |
| |
516 | ····.line·157 | 516 | ····.line·224 |
517 | ····new-instance·v0,·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$PermissionControlPreference$w7Xk9szNdvHquUCKAzSia9QGn-w; | 517 | ····new-instance·v0,·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$PermissionControlPreference$w7Xk9szNdvHquUCKAzSia9QGn-w; |
| |
518 | ····invoke-direct·{v0,·p0,·p1},·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$PermissionControlPreference$w7Xk9szNdvHquUCKAzSia9QGn-w;-><init>(Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;Landroidx/preference/PreferenceViewHolder;)V | 518 | ····invoke-direct·{v0,·p0,·p1},·Lcom/android/permissioncontroller/permission/ui/handheld/-$$Lambda$PermissionControlPreference$w7Xk9szNdvHquUCKAzSia9QGn-w;-><init>(Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;Landroidx/preference/PreferenceViewHolder;)V |
| |
519 | ····invoke-virtual·{p0,·v0},·Landroidx/preference/Preference;->setOnPreferenceClickListener(Landroidx/preference/Preference$OnPreferenceClickListener;)V | 519 | ····invoke-virtual·{p0,·v0},·Landroidx/preference/Preference;->setOnPreferenceClickListener(Landroidx/preference/Preference$OnPreferenceClickListener;)V |
| |
520 | ····return-void | 520 | ····return-void |
521 | .end·method | 521 | .end·method |
| |
522 | .method·public·setEllipsizeEnd()V | 522 | .method·public·setEllipsizeEnd()V |
523 | ····.locals·1 | 523 | ····.locals·1 |
| |
524 | ····const/4·v0,·0x1 | 524 | ····const/4·v0,·0x1 |
| |
525 | ····.line·112 | 525 | ····.line·129 |
526 | ····iput-boolean·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mEllipsizeEnd:Z | 526 | ····iput-boolean·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mEllipsizeEnd:Z |
| |
527 | ····return-void | 527 | ····return-void |
528 | .end·method | 528 | .end·method |
| |
| 529 | .method·public·setRightIcon(Landroid/graphics/drawable/Drawable;)V |
| 530 | ····.locals·0 |
| |
| 531 | ····.line·110 |
| 532 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mWidgetIcon:Landroid/graphics/drawable/Drawable; |
| |
| 533 | ····const·p1,·0x7f0d005c |
| |
| 534 | ····.line·111 |
| 535 | ····invoke-virtual·{p0,·p1},·Landroidx/preference/Preference;->setWidgetLayoutResource(I)V |
| |
| 536 | ····return-void |
| 537 | .end·method |
| |
| 538 | .method·public·setTitleIcons(Ljava/util/List;)V |
| 539 | ····.locals·0 |
| 540 | ····.annotation·system·Ldalvik/annotation/Signature; |
| 541 | ········value·=·{ |
| 542 | ············"(", |
| 543 | ············"Ljava/util/List<", |
| 544 | ············"Ljava/lang/Integer;", |
| 545 | ············">;)V" |
| 546 | ········} |
| 547 | ····.end·annotation |
| |
| 548 | ····.line·194 |
| 549 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mTitleIcons:Ljava/util/List; |
| |
| 550 | ····const·p1,·0x7f0d00dd |
| |
| 551 | ····.line·195 |
| 552 | ····invoke-virtual·{p0,·p1},·Landroidx/preference/Preference;->setLayoutResource(I)V |
| |
| 553 | ····return-void |
| 554 | .end·method |
| |
| 555 | .method·public·setUsageSummary(Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;Ljava/lang/String;)V |
| 556 | ····.locals·13 |
| |
| 557 | ····.line·155 |
| 558 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->getBackgroundAccessCount()J |
| |
| 559 | ····move-result-wide·v0 |
| |
| 560 | ····.line·157 |
| 561 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->getGroup()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; |
| |
| 562 | ····move-result-object·v2 |
| |
| 563 | ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getName()Ljava/lang/String; |
| |
| 564 | ····move-result-object·v2 |
| |
| 565 | ····const-string·v3,·"android.permission-group.CAMERA" |
| |
| 566 | ····.line·158 |
| 567 | ····invoke-virtual·{v2,·v3},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
| 568 | ····move-result·v3 |
| |
| 569 | ····const-wide/16·v4,·0x0 |
| |
| 570 | ····if-nez·v3,·:cond_1 |
| |
| 571 | ····const-string·v3,·"android.permission-group.MICROPHONE" |
| |
| 572 | ····invoke-virtual·{v2,·v3},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
| 573 | ····move-result·v2 |
| |
| 574 | ····if-eqz·v2,·:cond_0 |
| |
| 575 | ····goto·:goto_0 |
| |
| 576 | ····:cond_0 |
| 577 | ····move-wide·v2,·v4 |
| |
| 578 | ····goto·:goto_1 |
| |
| 579 | ····.line·159 |
| 580 | ····:cond_1 |
| 581 | ····:goto_0 |
| 582 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->getAccessDuration()J |
| |
| 583 | ····move-result-wide·v2 |
| |
| 584 | ····:goto_1 |
| 585 | ····cmp-long·v6,·v0,·v4 |
| |
| 586 | ····const/4·v7,·0x3 |
| |
| 587 | ····const/4·v8,·0x2 |
| |
| 588 | ····const/4·v9,·0x1 |
| |
| 589 | ····const/4·v10,·0x0 |
| |
| 590 | ····if-nez·v6,·:cond_3 |
| |
| 591 | ····.line·162 |
| 592 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->getForegroundAccessCount()J |
| |
| 593 | ····move-result-wide·v0 |
| |
| 594 | ····cmp-long·v2,·v2,·v4 |
| |
| 595 | ····if-nez·v2,·:cond_2 |
| |
| 596 | ····.line·164 |
| 597 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; |
| |
| 598 | ····invoke-virtual·{p1},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
| 599 | ····move-result-object·p1 |
| |
| 600 | ····const·v2,·0x7f100008 |
| |
| 601 | ····long-to-int·v3,·v0 |
| |
| 602 | ····new-array·v4,·v8,·[Ljava/lang/Object; |
| |
| 603 | ····aput-object·p2,·v4,·v10 |
| |
| 604 | ····.line·166 |
| 605 | ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
| 606 | ····move-result-object·p2 |
| |
| 607 | ····aput-object·p2,·v4,·v9 |
| |
| 608 | ····.line·164 |
| 609 | ····invoke-virtual·{p1,·v2,·v3,·v4},·Landroid/content/res/Resources;->getQuantityString(II[Ljava/lang/Object;)Ljava/lang/String; |
| |
| 610 | ····move-result-object·p1 |
| |
| 611 | ····invoke-virtual·{p0,·p1},·Landroidx/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V |
| |
| 612 | ····goto/16·:goto_2 |
| |
| 613 | ····.line·168 |
| 614 | ····:cond_2 |
| 615 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; |
| |
| 616 | ····invoke-virtual·{v2},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
| 617 | ····move-result-object·v2 |
| |
| 618 | ····const·v3,·0x7f10000b |
| |
| 619 | ····long-to-int·v4,·v0 |
| |
| 620 | ····new-array·v5,·v7,·[Ljava/lang/Object; |
| |
| 621 | ····aput-object·p2,·v5,·v10 |
| |
| 622 | ····.line·170 |
| 623 | ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
| 624 | ····move-result-object·p2 |
| |
| 625 | ····aput-object·p2,·v5,·v9 |
| |
| 626 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; |
| |
| 627 | ····.line·171 |
| 628 | ····invoke-static·{p2,·p1},·Lcom/android/permissioncontroller/permission/debug/UtilsKt;->getUsageDurationString(Landroid/content/Context;Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;)Ljava/lang/String; |
| |
| 629 | ····move-result-object·p1 |
| |
| 630 | ····aput-object·p1,·v5,·v8 |
| |
| 631 | ····.line·168 |
| 632 | ····invoke-virtual·{v2,·v3,·v4,·v5},·Landroid/content/res/Resources;->getQuantityString(II[Ljava/lang/Object;)Ljava/lang/String; |
| |
| 633 | ····move-result-object·p1 |
| |
| 634 | ····invoke-virtual·{p0,·p1},·Landroidx/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V |
| |
| 635 | ····goto·:goto_2 |
| |
| 636 | ····.line·174 |
| 637 | ····:cond_3 |
| 638 | ····invoke-virtual·{p1},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->getAccessCount()J |
| |
| 639 | ····move-result-wide·v11 |
| |
| 640 | ····cmp-long·v2,·v2,·v4 |
| |
| 641 | ····if-nez·v2,·:cond_4 |
| |
| 642 | ····.line·176 |
| 643 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; |
| |
| 644 | ····invoke-virtual·{p1},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
| 645 | ····move-result-object·p1 |
| |
| 646 | ····const·v2,·0x7f100009 |
| |
| 647 | ····long-to-int·v3,·v11 |
| |
| 648 | ····new-array·v4,·v7,·[Ljava/lang/Object; |
| |
| 649 | ····aput-object·p2,·v4,·v10 |
| |
| 650 | ····.line·178 |
| 651 | ····invoke-static·{v11,·v12},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
| 652 | ····move-result-object·p2 |
| |
| 653 | ····aput-object·p2,·v4,·v9 |
| |
| 654 | ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
| 655 | ····move-result-object·p2 |
| |
| 656 | ····aput-object·p2,·v4,·v8 |
| |
| 657 | ····.line·176 |
| 658 | ····invoke-virtual·{p1,·v2,·v3,·v4},·Landroid/content/res/Resources;->getQuantityString(II[Ljava/lang/Object;)Ljava/lang/String; |
| |
| 659 | ····move-result-object·p1 |
| |
| 660 | ····invoke-virtual·{p0,·p1},·Landroidx/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V |
| |
| 661 | ····goto·:goto_2 |
| |
| 662 | ····.line·180 |
| 663 | ····:cond_4 |
| 664 | ····iget-object·v2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; |
| |
| 665 | ····invoke-virtual·{v2},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
| 666 | ····move-result-object·v2 |
| |
| 667 | ····const·v3,·0x7f10000a |
| |
| 668 | ····long-to-int·v4,·v11 |
| |
| 669 | ····const/4·v5,·0x4 |
| |
| 670 | ····new-array·v5,·v5,·[Ljava/lang/Object; |
| |
| 671 | ····aput-object·p2,·v5,·v10 |
| |
| 672 | ····.line·182 |
| 673 | ····invoke-static·{v11,·v12},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
| 674 | ····move-result-object·p2 |
| |
| 675 | ····aput-object·p2,·v5,·v9 |
| |
| 676 | ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
| 677 | ····move-result-object·p2 |
| |
| 678 | ····aput-object·p2,·v5,·v8 |
| |
| 679 | ····iget-object·p2,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mContext:Landroid/content/Context; |
| |
| 680 | ····.line·183 |
| 681 | ····invoke-static·{p2,·p1},·Lcom/android/permissioncontroller/permission/debug/UtilsKt;->getUsageDurationString(Landroid/content/Context;Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;)Ljava/lang/String; |
| |
| 682 | ····move-result-object·p1 |
| |
| 683 | ····aput-object·p1,·v5,·v7 |
| |
| 684 | ····.line·180 |
| 685 | ····invoke-virtual·{v2,·v3,·v4,·v5},·Landroid/content/res/Resources;->getQuantityString(II[Ljava/lang/Object;)Ljava/lang/String; |
| |
| 686 | ····move-result-object·p1 |
| |
| 687 | ····invoke-virtual·{p0,·p1},·Landroidx/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V |
| |
| 688 | ····:goto_2 |
| 689 | ····return-void |
| 690 | .end·method |
| |
529 | .method·public·useSmallerIcon()V | 691 | .method·public·useSmallerIcon()V |
530 | ····.locals·1 | 692 | ····.locals·1 |
| |
531 | ····const/4·v0,·0x1 | 693 | ····const/4·v0,·0x1 |
| |
532 | ····.line·103 | 694 | ····.line·120 |
533 | ····iput-boolean·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mUseSmallerIcon:Z | 695 | ····iput-boolean·v0,·p0,·Lcom/android/permissioncontroller/permission/ui/handheld/PermissionControlPreference;->mUseSmallerIcon:Z |
| |
534 | ····return-void | 696 | ····return-void |
535 | .end·method | 697 | .end·method |