| | | |
Offset 47, 15 lines modified | Offset 47, 15 lines modified |
| |
47 | ····return-void | 47 | ····return-void |
48 | .end·method | 48 | .end·method |
| |
49 | .method·private·isAssistantVoiceInteractionService(Landroid/content/pm/PackageManager;Landroid/content/pm/ServiceInfo;)Z | 49 | .method·private·isAssistantVoiceInteractionService(Landroid/content/pm/PackageManager;Landroid/content/pm/ServiceInfo;)Z |
50 | ····.locals·9 | 50 | ····.locals·9 |
| |
51 | ····.line·176 | 51 | ····.line·184 |
52 | ····iget-object·v0,·p2,·Landroid/content/pm/ServiceInfo;->permission:Ljava/lang/String; | 52 | ····iget-object·v0,·p2,·Landroid/content/pm/ServiceInfo;->permission:Ljava/lang/String; |
| |
53 | ····const-string·v1,·"android.permission.BIND_VOICE_INTERACTION" | 53 | ····const-string·v1,·"android.permission.BIND_VOICE_INTERACTION" |
| |
54 | ····invoke-virtual·{v1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 54 | ····invoke-virtual·{v1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
55 | ····move-result·v0 | 55 | ····move-result·v0 |
Offset 66, 55 lines modified | Offset 66, 55 lines modified |
| |
66 | ····return·v1 | 66 | ····return·v1 |
| |
67 | ····:cond_0 | 67 | ····:cond_0 |
68 | ····:try_start_0 | 68 | ····:try_start_0 |
69 | ····const-string·v0,·"android.voice_interaction" | 69 | ····const-string·v0,·"android.voice_interaction" |
| |
70 | ····.line·180 | 70 | ····.line·188 |
71 | ····invoke-virtual·{p2,·p1,·v0},·Landroid/content/pm/ServiceInfo;->loadXmlMetaData(Landroid/content/pm/PackageManager;Ljava/lang/String;)Landroid/content/res/XmlResourceParser; | 71 | ····invoke-virtual·{p2,·p1,·v0},·Landroid/content/pm/ServiceInfo;->loadXmlMetaData(Landroid/content/pm/PackageManager;Ljava/lang/String;)Landroid/content/res/XmlResourceParser; |
| |
72 | ····move-result-object·p1 | 72 | ····move-result-object·p1 |
| |
73 | ····if-nez·p1,·:cond_2 | 73 | ····if-nez·p1,·:cond_2 |
| |
74 | ····if-eqz·p1,·:cond_1 | 74 | ····if-eqz·p1,·:cond_1 |
| |
75 | ····.line·214 | 75 | ····.line·222 |
76 | ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->close()V | 76 | ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->close()V |
77 | ····:try_end_0 | 77 | ····:try_end_0 |
78 | ····.catch·Lorg/xmlpull/v1/XmlPullParserException;·{:try_start_0·..·:try_end_0}·:catch_0 | 78 | ····.catch·Lorg/xmlpull/v1/XmlPullParserException;·{:try_start_0·..·:try_end_0}·:catch_0 |
79 | ····.catch·Ljava/io/IOException;·{:try_start_0·..·:try_end_0}·:catch_0 | 79 | ····.catch·Ljava/io/IOException;·{:try_start_0·..·:try_end_0}·:catch_0 |
80 | ····.catch·Landroid/content/res/Resources$NotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 | 80 | ····.catch·Landroid/content/res/Resources$NotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
81 | ····:cond_1 | 81 | ····:cond_1 |
82 | ····return·v1 | 82 | ····return·v1 |
| |
83 | ····.line·188 | 83 | ····.line·196 |
84 | ····:cond_2 | 84 | ····:cond_2 |
85 | ····:try_start_1 | 85 | ····:try_start_1 |
86 | ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->next()I | 86 | ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->next()I |
| |
87 | ····move-result·p2 | 87 | ····move-result·p2 |
| |
88 | ····const/4·v0,·0x1 | 88 | ····const/4·v0,·0x1 |
| |
89 | ····if-eq·p2,·v0,·:cond_3 | 89 | ····if-eq·p2,·v0,·:cond_3 |
| |
90 | ····const/4·v2,·0x2 | 90 | ····const/4·v2,·0x2 |
| |
91 | ····if-ne·p2,·v2,·:cond_2 | 91 | ····if-ne·p2,·v2,·:cond_2 |
| |
92 | ····.line·195 | 92 | ····.line·203 |
93 | ····:cond_3 | 93 | ····:cond_3 |
94 | ····invoke-static·{p1},·Landroid/util/Xml;->asAttributeSet(Lorg/xmlpull/v1/XmlPullParser;)Landroid/util/AttributeSet; | 94 | ····invoke-static·{p1},·Landroid/util/Xml;->asAttributeSet(Lorg/xmlpull/v1/XmlPullParser;)Landroid/util/AttributeSet; |
| |
95 | ····move-result-object·p2 | 95 | ····move-result-object·p2 |
| |
96 | ····.line·196 | 96 | ····.line·204 |
97 | ····invoke-interface·{p2},·Landroid/util/AttributeSet;->getAttributeCount()I | 97 | ····invoke-interface·{p2},·Landroid/util/AttributeSet;->getAttributeCount()I |
| |
98 | ····move-result·v2 | 98 | ····move-result·v2 |
| |
99 | ····const/4·v3,·0x0 | 99 | ····const/4·v3,·0x0 |
| |
100 | ····move·v5,·v1 | 100 | ····move·v5,·v1 |
Offset 122, 15 lines modified | Offset 122, 15 lines modified |
122 | ····move·v6,·v5 | 122 | ····move·v6,·v5 |
| |
123 | ····move-object·v4,·v3 | 123 | ····move-object·v4,·v3 |
| |
124 | ····:goto_0 | 124 | ····:goto_0 |
125 | ····if-ge·v5,·v2,·:cond_7 | 125 | ····if-ge·v5,·v2,·:cond_7 |
| |
126 | ····.line·198 | 126 | ····.line·206 |
127 | ····invoke-interface·{p2,·v5},·Landroid/util/AttributeSet;->getAttributeNameResource(I)I | 127 | ····invoke-interface·{p2,·v5},·Landroid/util/AttributeSet;->getAttributeNameResource(I)I |
| |
128 | ····move-result·v7 | 128 | ····move-result·v7 |
| |
129 | ····const·v8,·0x101043d | 129 | ····const·v8,·0x101043d |
| |
130 | ····if-eq·v7,·v8,·:cond_6 | 130 | ····if-eq·v7,·v8,·:cond_6 |
Offset 141, 31 lines modified | Offset 141, 31 lines modified |
| |
141 | ····const·v8,·0x10104f0 | 141 | ····const·v8,·0x10104f0 |
| |
142 | ····if-eq·v7,·v8,·:cond_4 | 142 | ····if-eq·v7,·v8,·:cond_4 |
| |
143 | ····goto·:goto_1 | 143 | ····goto·:goto_1 |
| |
144 | ····.line·206 | 144 | ····.line·214 |
145 | ····:cond_4 | 145 | ····:cond_4 |
146 | ····invoke-interface·{p2,·v5,·v1},·Landroid/util/AttributeSet;->getAttributeBooleanValue(IZ)Z | 146 | ····invoke-interface·{p2,·v5,·v1},·Landroid/util/AttributeSet;->getAttributeBooleanValue(IZ)Z |
| |
147 | ····move-result·v6 | 147 | ····move-result·v6 |
| |
148 | ····goto·:goto_1 | 148 | ····goto·:goto_1 |
| |
149 | ····.line·203 | 149 | ····.line·211 |
150 | ····:cond_5 | 150 | ····:cond_5 |
151 | ····invoke-interface·{p2,·v5},·Landroid/util/AttributeSet;->getAttributeValue(I)Ljava/lang/String; | 151 | ····invoke-interface·{p2,·v5},·Landroid/util/AttributeSet;->getAttributeValue(I)Ljava/lang/String; |
| |
152 | ····move-result-object·v4 | 152 | ····move-result-object·v4 |
| |
153 | ····goto·:goto_1 | 153 | ····goto·:goto_1 |
| |
154 | ····.line·200 | 154 | ····.line·208 |
155 | ····:cond_6 | 155 | ····:cond_6 |
156 | ····invoke-interface·{p2,·v5},·Landroid/util/AttributeSet;->getAttributeValue(I)Ljava/lang/String; | 156 | ····invoke-interface·{p2,·v5},·Landroid/util/AttributeSet;->getAttributeValue(I)Ljava/lang/String; |
| |
157 | ····move-result-object·v3 | 157 | ····move-result-object·v3 |
158 | ····:try_end_1 | 158 | ····:try_end_1 |
159 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 159 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
| |
Offset 182, 15 lines modified | Offset 182, 15 lines modified |
182 | ····if-nez·v6,·:cond_8 | 182 | ····if-nez·v6,·:cond_8 |
| |
183 | ····goto·:goto_2 | 183 | ····goto·:goto_2 |
| |
184 | ····:cond_8 | 184 | ····:cond_8 |
185 | ····if-eqz·p1,·:cond_9 | 185 | ····if-eqz·p1,·:cond_9 |
| |
186 | ····.line·214 | 186 | ····.line·222 |
187 | ····:try_start_2 | 187 | ····:try_start_2 |
188 | ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->close()V | 188 | ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->close()V |
| |
189 | ····:cond_9 | 189 | ····:cond_9 |
190 | ····return·v0 | 190 | ····return·v0 |
| |
191 | ····:cond_a | 191 | ····:cond_a |
Offset 207, 15 lines modified | Offset 207, 15 lines modified |
207 | ····return·v1 | 207 | ····return·v1 |
| |
208 | ····:catchall_0 | 208 | ····:catchall_0 |
209 | ····move-exception·p2 | 209 | ····move-exception·p2 |
| |
210 | ····if-eqz·p1,·:cond_c | 210 | ····if-eqz·p1,·:cond_c |
| |
211 | ····.line·180 | 211 | ····.line·188 |
212 | ····:try_start_3 | 212 | ····:try_start_3 |
213 | ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->close()V | 213 | ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->close()V |
214 | ····:try_end_3 | 214 | ····:try_end_3 |
215 | ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_1 | 215 | ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_1 |
| |
216 | ····goto·:goto_3 | 216 | ····goto·:goto_3 |
| |
Offset 238, 15 lines modified | Offset 238, 15 lines modified |
238 | .end·method | 238 | .end·method |
| |
| |
239 | #·virtual·methods | 239 | #·virtual·methods |
240 | .method·public·getConfirmationMessage(Lcom/android/permissioncontroller/role/model/Role;Ljava/lang/String;Landroid/content/Context;)Ljava/lang/CharSequence; | 240 | .method·public·getConfirmationMessage(Lcom/android/permissioncontroller/role/model/Role;Ljava/lang/String;Landroid/content/Context;)Ljava/lang/CharSequence; |
241 | ····.locals·0 | 241 | ····.locals·0 |
| |
242 | ····const·p1,·0x7f12004d | 242 | ····const·p1,·0x7f120052 |
| |
243 | ····.line·98 | 243 | ····.line·98 |
244 | ····invoke-virtual·{p3,·p1},·Landroid/content/Context;->getString(I)Ljava/lang/String; | 244 | ····invoke-virtual·{p3,·p1},·Landroid/content/Context;->getString(I)Ljava/lang/String; |
| |
245 | ····move-result-object·p1 | 245 | ····move-result-object·p1 |
| |
246 | ····return-object·p1 | 246 | ····return-object·p1 |
Offset 431, 19 lines modified | Offset 431, 17 lines modified |
431 | ····new-instance·p1,·Ljava/util/ArrayList; | 431 | ····new-instance·p1,·Ljava/util/ArrayList; |
| |
432 | ····invoke-direct·{p1,·p3},·Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V | 432 | ····invoke-direct·{p1,·p3},·Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V |
| |
433 | ····return-object·p1 | 433 | ····return-object·p1 |
434 | .end·method | 434 | .end·method |
| |
435 | .method·public·bridge·synthetic·grant(Lcom/android/permissioncontroller/role/model/Role;Ljava/lang/String;Landroid/content/Context;)V | 435 | .method·public·grant(Lcom/android/permissioncontroller/role/model/Role;Ljava/lang/String;Landroid/content/Context;)V |
436 | ····.locals·0 | 436 | ····.locals·0 |
| |
437 | ····invoke-super·{p0,·p1,·p2,·p3},·Lcom/android/permissioncontroller/role/model/RoleBehavior;->grant(Lcom/android/permissioncontroller/role/model/Role;Ljava/lang/String;Landroid/content/Context;)V | |
| |
438 | ····return-void | 437 | ····return-void |
439 | .end·method | 438 | .end·method |
| |
440 | .method·public·bridge·synthetic·isApplicationVisibleAsUser(Lcom/android/permissioncontroller/role/model/Role;Landroid/content/pm/ApplicationInfo;Landroid/os/UserHandle;Landroid/content/Context;)Z | 439 | .method·public·bridge·synthetic·isApplicationVisibleAsUser(Lcom/android/permissioncontroller/role/model/Role;Landroid/content/pm/ApplicationInfo;Landroid/os/UserHandle;Landroid/content/Context;)Z |
441 | ····.locals·0 | 440 | ····.locals·0 |
| |
442 | ····invoke-super·{p0,·p1,·p2,·p3,·p4},·Lcom/android/permissioncontroller/role/model/RoleBehavior;->isApplicationVisibleAsUser(Lcom/android/permissioncontroller/role/model/Role;Landroid/content/pm/ApplicationInfo;Landroid/os/UserHandle;Landroid/content/Context;)Z | 441 | ····invoke-super·{p0,·p1,·p2,·p3,·p4},·Lcom/android/permissioncontroller/role/model/RoleBehavior;->isApplicationVisibleAsUser(Lcom/android/permissioncontroller/role/model/Role;Landroid/content/pm/ApplicationInfo;Landroid/os/UserHandle;Landroid/content/Context;)Z |
Offset 734, 14 lines modified | Offset 732, 12 lines modified |
734 | ····.locals·0 | 732 | ····.locals·0 |
| |
735 | ····invoke-super·{p0,·p1,·p2,·p3,·p4},·Lcom/android/permissioncontroller/role/model/RoleBehavior;->preparePreferenceAsUser(Lcom/android/permissioncontroller/role/model/Role;Lcom/android/permissioncontroller/role/ui/TwoTargetPreference;Landroid/os/UserHandle;Landroid/content/Context;)V | 733 | ····invoke-super·{p0,·p1,·p2,·p3,·p4},·Lcom/android/permissioncontroller/role/model/RoleBehavior;->preparePreferenceAsUser(Lcom/android/permissioncontroller/role/model/Role;Lcom/android/permissioncontroller/role/ui/TwoTargetPreference;Landroid/os/UserHandle;Landroid/content/Context;)V |
| |
736 | ····return-void | 734 | ····return-void |
737 | .end·method | 735 | .end·method |
| |
738 | .method·public·bridge·synthetic·revoke(Lcom/android/permissioncontroller/role/model/Role;Ljava/lang/String;Landroid/content/Context;)V | 736 | .method·public·revoke(Lcom/android/permissioncontroller/role/model/Role;Ljava/lang/String;Landroid/content/Context;)V |
739 | ····.locals·0 | 737 | ····.locals·0 |
| |
740 | ····invoke-super·{p0,·p1,·p2,·p3},·Lcom/android/permissioncontroller/role/model/RoleBehavior;->revoke(Lcom/android/permissioncontroller/role/model/Role;Ljava/lang/String;Landroid/content/Context;)V | |
| |
741 | ····return-void | 738 | ····return-void |
742 | .end·method | 739 | .end·method |