| | | |
Offset 48, 25 lines modified | Offset 48, 25 lines modified |
| |
48 | #·direct·methods | 48 | #·direct·methods |
49 | .method·static·constructor·<clinit>()V | 49 | .method·static·constructor·<clinit>()V |
50 | ····.locals·5 | 50 | ····.locals·5 |
| |
51 | ····const-string·v0,·"notification" | 51 | ····const-string·v0,·"notification" |
| |
52 | ····.line·80 | 52 | ····.line·82 |
53 | ····invoke-static·{v0},·Lcom/google/common/collect/ImmutableList;->of(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; | 53 | ····invoke-static·{v0},·Lcom/google/common/collect/ImmutableList;->of(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; |
| |
54 | ····move-result-object·v0 | 54 | ····move-result-object·v0 |
| |
55 | ····sput-object·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->HINTS:Lcom/google/common/collect/ImmutableList; | 55 | ····sput-object·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->HINTS:Lcom/google/common/collect/ImmutableList; |
| |
56 | ····.line·81 | 56 | ····.line·83 |
57 | ····new-instance·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult; | 57 | ····new-instance·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult; |
| |
58 | ····.line·83 | 58 | ····.line·85 |
59 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; | 59 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; |
| |
60 | ····move-result-object·v1 | 60 | ····move-result-object·v1 |
| |
61 | ····new-instance·v2,·Landroid/view/textclassifier/ConversationActions; | 61 | ····new-instance·v2,·Landroid/view/textclassifier/ConversationActions; |
| |
62 | ····invoke-static·{},·Lcom/google/common/collect/ImmutableList;->of()Lcom/google/common/collect/ImmutableList; | 62 | ····invoke-static·{},·Lcom/google/common/collect/ImmutableList;->of()Lcom/google/common/collect/ImmutableList; |
Offset 83, 99 lines modified | Offset 83, 99 lines modified |
| |
83 | ····return-void | 83 | ····return-void |
84 | .end·method | 84 | .end·method |
| |
85 | .method·public·constructor·<init>(Landroid/content/Context;Lcom/android/textclassifier/notification/SmartSuggestionsConfig;)V | 85 | .method·public·constructor·<init>(Landroid/content/Context;Lcom/android/textclassifier/notification/SmartSuggestionsConfig;)V |
86 | ····.locals·2 | 86 | ····.locals·2 |
| |
87 | ····.line·101 | 87 | ····.line·103 |
88 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 88 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
89 | ····.line·88 | 89 | ····.line·90 |
90 | ····new-instance·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$1; | 90 | ····new-instance·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$1; |
| |
91 | ····const/16·v1,·0x14 | 91 | ····const/16·v1,·0x14 |
| |
92 | ····invoke-direct·{v0,·p0,·v1},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$1;-><init>(Lcom/android/textclassifier/notification/SmartSuggestionsHelper;I)V | 92 | ····invoke-direct·{v0,·p0,·v1},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$1;-><init>(Lcom/android/textclassifier/notification/SmartSuggestionsHelper;I)V |
| |
93 | ····iput-object·v0,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->sessionCache:Landroid/util/LruCache; | 93 | ····iput-object·v0,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->sessionCache:Landroid/util/LruCache; |
| |
94 | ····.line·102 | 94 | ····.line·104 |
95 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->context:Landroid/content/Context; | 95 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->context:Landroid/content/Context; |
| |
96 | ····.line·103 | 96 | ····.line·105 |
97 | ····const-class·v0,·Landroid/view/textclassifier/TextClassificationManager; | 97 | ····const-class·v0,·Landroid/view/textclassifier/TextClassificationManager; |
| |
98 | ····invoke-virtual·{p1,·v0},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object; | 98 | ····invoke-virtual·{p1,·v0},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object; |
| |
99 | ····move-result-object·v0 | 99 | ····move-result-object·v0 |
| |
100 | ····check-cast·v0,·Landroid/view/textclassifier/TextClassificationManager; | 100 | ····check-cast·v0,·Landroid/view/textclassifier/TextClassificationManager; |
| |
101 | ····iput-object·v0,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->textClassificationManager:Landroid/view/textclassifier/TextClassificationManager; | 101 | ····iput-object·v0,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->textClassificationManager:Landroid/view/textclassifier/TextClassificationManager; |
| |
102 | ····.line·104 | 102 | ····.line·106 |
103 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->config:Lcom/android/textclassifier/notification/SmartSuggestionsConfig; | 103 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->config:Lcom/android/textclassifier/notification/SmartSuggestionsConfig; |
| |
104 | ····.line·105 | 104 | ····.line·107 |
105 | ····new-instance·p2,·Landroid/view/textclassifier/TextClassificationContext$Builder; | 105 | ····new-instance·p2,·Landroid/view/textclassifier/TextClassificationContext$Builder; |
| |
106 | ····.line·107 | 106 | ····.line·109 |
107 | ····invoke-virtual·{p1},·Landroid/content/Context;->getPackageName()Ljava/lang/String; | 107 | ····invoke-virtual·{p1},·Landroid/content/Context;->getPackageName()Ljava/lang/String; |
| |
108 | ····move-result-object·p1 | 108 | ····move-result-object·p1 |
| |
109 | ····const-string·v0,·"notification" | 109 | ····const-string·v0,·"notification" |
| |
110 | ····invoke-direct·{p2,·p1,·v0},·Landroid/view/textclassifier/TextClassificationContext$Builder;-><init>(Ljava/lang/String;Ljava/lang/String;)V | 110 | ····invoke-direct·{p2,·p1,·v0},·Landroid/view/textclassifier/TextClassificationContext$Builder;-><init>(Ljava/lang/String;Ljava/lang/String;)V |
| |
111 | ····.line·108 | 111 | ····.line·110 |
112 | ····invoke-virtual·{p2},·Landroid/view/textclassifier/TextClassificationContext$Builder;->build()Landroid/view/textclassifier/TextClassificationContext; | 112 | ····invoke-virtual·{p2},·Landroid/view/textclassifier/TextClassificationContext$Builder;->build()Landroid/view/textclassifier/TextClassificationContext; |
| |
113 | ····move-result-object·p1 | 113 | ····move-result-object·p1 |
| |
114 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->textClassificationContext:Landroid/view/textclassifier/TextClassificationContext; | 114 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->textClassificationContext:Landroid/view/textclassifier/TextClassificationContext; |
| |
115 | ····return-void | 115 | ····return-void |
116 | .end·method | 116 | .end·method |
| |
117 | .method·private·static·arePersonsEqual(Landroid/app/Person;Landroid/app/Person;)Z | 117 | .method·private·static·arePersonsEqual(Landroid/app/Person;Landroid/app/Person;)Z |
118 | ····.locals·2 | 118 | ····.locals·2 |
| |
119 | ····.line·474 | 119 | ····.line·479 |
120 | ····invoke-virtual·{p0},·Landroid/app/Person;->getKey()Ljava/lang/String; | 120 | ····invoke-virtual·{p0},·Landroid/app/Person;->getKey()Ljava/lang/String; |
| |
121 | ····move-result-object·v0 | 121 | ····move-result-object·v0 |
| |
122 | ····invoke-virtual·{p1},·Landroid/app/Person;->getKey()Ljava/lang/String; | 122 | ····invoke-virtual·{p1},·Landroid/app/Person;->getKey()Ljava/lang/String; |
| |
123 | ····move-result-object·v1 | 123 | ····move-result-object·v1 |
| |
124 | ····invoke-static·{v0,·v1},·Ljava/util/Objects;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z | 124 | ····invoke-static·{v0,·v1},·Ljava/util/Objects;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z |
| |
125 | ····move-result·v0 | 125 | ····move-result·v0 |
| |
126 | ····if-eqz·v0,·:cond_0 | 126 | ····if-eqz·v0,·:cond_0 |
| |
127 | ····.line·475 | 127 | ····.line·480 |
128 | ····invoke-virtual·{p0},·Landroid/app/Person;->getName()Ljava/lang/CharSequence; | 128 | ····invoke-virtual·{p0},·Landroid/app/Person;->getName()Ljava/lang/CharSequence; |
| |
129 | ····move-result-object·v0 | 129 | ····move-result-object·v0 |
| |
130 | ····invoke-virtual·{p1},·Landroid/app/Person;->getName()Ljava/lang/CharSequence; | 130 | ····invoke-virtual·{p1},·Landroid/app/Person;->getName()Ljava/lang/CharSequence; |
| |
131 | ····move-result-object·v1 | 131 | ····move-result-object·v1 |
| |
132 | ····invoke-static·{v0,·v1},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z | 132 | ····invoke-static·{v0,·v1},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z |
| |
133 | ····move-result·v0 | 133 | ····move-result·v0 |
| |
134 | ····if-eqz·v0,·:cond_0 | 134 | ····if-eqz·v0,·:cond_0 |
| |
135 | ····.line·476 | 135 | ····.line·481 |
136 | ····invoke-virtual·{p0},·Landroid/app/Person;->getUri()Ljava/lang/String; | 136 | ····invoke-virtual·{p0},·Landroid/app/Person;->getUri()Ljava/lang/String; |
| |
137 | ····move-result-object·p0 | 137 | ····move-result-object·p0 |
| |
138 | ····invoke-virtual·{p1},·Landroid/app/Person;->getUri()Ljava/lang/String; | 138 | ····invoke-virtual·{p1},·Landroid/app/Person;->getUri()Ljava/lang/String; |
| |
139 | ····move-result-object·p1 | 139 | ····move-result-object·p1 |
Offset 196, 22 lines modified | Offset 196, 22 lines modified |
196 | ····:goto_0 | 196 | ····:goto_0 |
197 | ····return·p0 | 197 | ····return·p0 |
198 | .end·method | 198 | .end·method |
| |
199 | .method·private·createCopyCodeAction(Landroid/view/textclassifier/ConversationAction;)Landroid/app/Notification$Action; | 199 | .method·private·createCopyCodeAction(Landroid/view/textclassifier/ConversationAction;)Landroid/app/Notification$Action; |
200 | ····.locals·8 | 200 | ····.locals·8 |
| |
201 | ····.line·205 | 201 | ····.line·210 |
202 | ····invoke-virtual·{p1},·Landroid/view/textclassifier/ConversationAction;->getExtras()Landroid/os/Bundle; | 202 | ····invoke-virtual·{p1},·Landroid/view/textclassifier/ConversationAction;->getExtras()Landroid/os/Bundle; |
| |
203 | ····move-result-object·v0 | 203 | ····move-result-object·v0 |
| |
204 | ····const-string·v1,·"entities-extras" | 204 | ····const-string·v1,·"entities-extras" |
| |
205 | ····.line·206 | 205 | ····.line·211 |
206 | ····invoke-virtual·{v0,·v1},·Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable; | 206 | ····invoke-virtual·{v0,·v1},·Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable; |
| |
207 | ····move-result-object·v0 | 207 | ····move-result-object·v0 |
| |
208 | ····check-cast·v0,·Landroid/os/Bundle; | 208 | ····check-cast·v0,·Landroid/os/Bundle; |
| |
209 | ····const/4·v1,·0x0 | 209 | ····const/4·v1,·0x0 |
Offset 219, 29 lines modified | Offset 219, 29 lines modified |
219 | ····if-nez·v0,·:cond_0 | 219 | ····if-nez·v0,·:cond_0 |
| |
220 | ····return-object·v1 | 220 | ····return-object·v1 |
| |
221 | ····:cond_0 | 221 | ····:cond_0 |
222 | ····const-string·v2,·"text" | 222 | ····const-string·v2,·"text" |
| |
223 | ····.line·210 | 223 | ····.line·215 |
224 | ····invoke-virtual·{v0,·v2},·Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String; | 224 | ····invoke-virtual·{v0,·v2},·Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String; |
| |
225 | ····move-result-object·v0 | 225 | ····move-result-object·v0 |
| |
226 | ····.line·211 | 226 | ····.line·216 |
227 | ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 227 | ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
228 | ····move-result·v2 | 228 | ····move-result·v2 |
| |
229 | ····if-eqz·v2,·:cond_1 | 229 | ····if-eqz·v2,·:cond_1 |
| |
230 | ····return-object·v1 | 230 | ····return-object·v1 |
| |
231 | ····.line·214 | 231 | ····.line·219 |
232 | ····:cond_1 | 232 | ····:cond_1 |
233 | ····iget-object·v1,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->context:Landroid/content/Context; | 233 | ····iget-object·v1,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->context:Landroid/content/Context; |
| |
234 | ····sget·v2,·Lcom/android/textclassifier/notification/R$string;->tc_notif_copy_code_desc:I | 234 | ····sget·v2,·Lcom/android/textclassifier/notification/R$string;->tc_notif_copy_code_desc:I |
| |
235 | ····const/4·v3,·0x1 | 235 | ····const/4·v3,·0x1 |
| |
Offset 251, 165 lines modified | Offset 251, 165 lines modified |
| |
251 | ····aput-object·v0,·v3,·v4 | 251 | ····aput-object·v0,·v3,·v4 |
| |
252 | ····invoke-virtual·{v1,·v2,·v3},·Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String; | 252 | ····invoke-virtual·{v1,·v2,·v3},·Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String; |
| |
253 | ····move-result-object·v1 | 253 | ····move-result-object·v1 |
| |
254 | ····.line·215 | 254 | ····.line·220 |
255 | ····new-instance·v2,·Landroid/content/Intent; | 255 | ····new-instance·v2,·Landroid/content/Intent; |
| |
256 | ····iget-object·v3,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->context:Landroid/content/Context; | 256 | ····iget-object·v3,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->context:Landroid/content/Context; |
| |
257 | ····const-class·v4,·Lcom/android/textclassifier/notification/CopyCodeActivity; | 257 | ····const-class·v4,·Lcom/android/textclassifier/notification/CopyCodeActivity; |
| |
258 | ····invoke-direct·{v2,·v3,·v4},·Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V | 258 | ····invoke-direct·{v2,·v3,·v4},·Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V |
| |
259 | ····const-string·v3,·"android.intent.extra.TEXT" | 259 | ····const-string·v3,·"android.intent.extra.TEXT" |
| |
260 | ····.line·216 | 260 | ····.line·221 |
261 | ····invoke-virtual·{v2,·v3,·v0},·Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; | 261 | ····invoke-virtual·{v2,·v3,·v0},·Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; |
| |
262 | ····.line·218 | 262 | ····.line·223 |
263 | ····new-instance·v3,·Landroid/app/RemoteAction; | 263 | ····new-instance·v3,·Landroid/app/RemoteAction; |
| |
264 | ····iget-object·v4,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->context:Landroid/content/Context; | 264 | ····iget-object·v4,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->context:Landroid/content/Context; |
| |
265 | ····sget·v5,·Lcom/android/textclassifier/notification/R$drawable;->tc_notif_ic_menu_copy_material:I | 265 | ····sget·v5,·Lcom/android/textclassifier/notification/R$drawable;->tc_notif_ic_menu_copy_material:I |
| |
266 | ····.line·220 | 266 | ····.line·225 |
267 | ····invoke-static·{v4,·v5},·Landroid/graphics/drawable/Icon;->createWithResource(Landroid/content/Context;I)Landroid/graphics/drawable/Icon; | 267 | ····invoke-static·{v4,·v5},·Landroid/graphics/drawable/Icon;->createWithResource(Landroid/content/Context;I)Landroid/graphics/drawable/Icon; |
| |
268 | ····move-result-object·v4 | 268 | ····move-result-object·v4 |
| |
269 | ····iget-object·v5,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->context:Landroid/content/Context; | 269 | ····iget-object·v5,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->context:Landroid/content/Context; |
| |
270 | ····.line·224 | 270 | ····.line·229 |
271 | ····invoke-virtual·{v0},·Ljava/lang/String;->hashCode()I | 271 | ····invoke-virtual·{v0},·Ljava/lang/String;->hashCode()I |
| |
272 | ····move-result·v6 | 272 | ····move-result·v6 |
| |
273 | ····const/high16·v7,·0x8000000 | 273 | ····const/high16·v7,·0x8000000 |
| |
274 | ····.line·223 | 274 | ····.line·228 |
275 | ····invoke-static·{v5,·v6,·v2,·v7},·Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent; | 275 | ····invoke-static·{v5,·v6,·v2,·v7},·Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent; |
| |
276 | ····move-result-object·v2 | 276 | ····move-result-object·v2 |
| |
277 | ····invoke-direct·{v3,·v4,·v0,·v1,·v2},·Landroid/app/RemoteAction;-><init>(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V | 277 | ····invoke-direct·{v3,·v4,·v0,·v1,·v2},·Landroid/app/RemoteAction;-><init>(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V |
| |
278 | ····.line·227 | 278 | ····.line·232 |
279 | ····invoke-virtual·{p1},·Landroid/view/textclassifier/ConversationAction;->getConfidenceScore()F | 279 | ····invoke-virtual·{p1},·Landroid/view/textclassifier/ConversationAction;->getConfidenceScore()F |
| |
280 | ····move-result·p1 | 280 | ····move-result·p1 |
| |
281 | ····const-string·v0,·"copy" | 281 | ····const-string·v0,·"copy" |
| |
282 | ····.line·226 | 282 | ····.line·231 |
283 | ····invoke-direct·{p0,·v3,·v0,·p1},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->createNotificationActionFromRemoteAction(Landroid/app/RemoteAction;Ljava/lang/String;F)Landroid/app/Notification$Action; | 283 | ····invoke-direct·{p0,·v3,·v0,·p1},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->createNotificationActionFromRemoteAction(Landroid/app/RemoteAction;Ljava/lang/String;F)Landroid/app/Notification$Action; |
| |
284 | ····move-result-object·p0 | 284 | ····move-result-object·p0 |
| |
285 | ····return-object·p0 | 285 | ····return-object·p0 |
286 | .end·method | 286 | .end·method |
| |
287 | .method·private·createNotificationActionFromRemoteAction(Landroid/app/RemoteAction;Ljava/lang/String;F)Landroid/app/Notification$Action; | 287 | .method·private·createNotificationActionFromRemoteAction(Landroid/app/RemoteAction;Ljava/lang/String;F)Landroid/app/Notification$Action; |
288 | ····.locals·2 | 288 | ····.locals·2 |
| |
289 | ····.line·369 | 289 | ····.line·374 |
290 | ····invoke-virtual·{p1},·Landroid/app/RemoteAction;->shouldShowIcon()Z | 290 | ····invoke-virtual·{p1},·Landroid/app/RemoteAction;->shouldShowIcon()Z |
| |
291 | ····move-result·v0 | 291 | ····move-result·v0 |
| |
292 | ····if-eqz·v0,·:cond_0 | 292 | ····if-eqz·v0,·:cond_0 |
| |
293 | ····.line·370 | 293 | ····.line·375 |
294 | ····invoke-virtual·{p1},·Landroid/app/RemoteAction;->getIcon()Landroid/graphics/drawable/Icon; | 294 | ····invoke-virtual·{p1},·Landroid/app/RemoteAction;->getIcon()Landroid/graphics/drawable/Icon; |
| |
295 | ····move-result-object·p0 | 295 | ····move-result-object·p0 |
| |
296 | ····goto·:goto_0 | 296 | ····goto·:goto_0 |
| |
297 | ····.line·371 | 297 | ····.line·376 |
298 | ····:cond_0 | 298 | ····:cond_0 |
299 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->context:Landroid/content/Context; | 299 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->context:Landroid/content/Context; |
| |
300 | ····sget·v0,·Lcom/android/textclassifier/notification/R$drawable;->tc_notif_ic_action_open:I | 300 | ····sget·v0,·Lcom/android/textclassifier/notification/R$drawable;->tc_notif_ic_action_open:I |
| |
301 | ····invoke-static·{p0,·v0},·Landroid/graphics/drawable/Icon;->createWithResource(Landroid/content/Context;I)Landroid/graphics/drawable/Icon; | 301 | ····invoke-static·{p0,·v0},·Landroid/graphics/drawable/Icon;->createWithResource(Landroid/content/Context;I)Landroid/graphics/drawable/Icon; |
| |
302 | ····move-result-object·p0 | 302 | ····move-result-object·p0 |
| |
303 | ····.line·372 | 303 | ····.line·377 |
304 | ····:goto_0 | 304 | ····:goto_0 |
305 | ····new-instance·v0,·Landroid/os/Bundle; | 305 | ····new-instance·v0,·Landroid/os/Bundle; |
| |
306 | ····invoke-direct·{v0},·Landroid/os/Bundle;-><init>()V | 306 | ····invoke-direct·{v0},·Landroid/os/Bundle;-><init>()V |
| |
307 | ····const-string·v1,·"action_type" | 307 | ····const-string·v1,·"action_type" |
| |
308 | ····.line·373 | 308 | ····.line·378 |
309 | ····invoke-virtual·{v0,·v1,·p2},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 309 | ····invoke-virtual·{v0,·v1,·p2},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
| |
310 | ····const-string·p2,·"action_score" | 310 | ····const-string·p2,·"action_score" |
| |
311 | ····.line·374 | 311 | ····.line·379 |
312 | ····invoke-virtual·{v0,·p2,·p3},·Landroid/os/Bundle;->putFloat(Ljava/lang/String;F)V | 312 | ····invoke-virtual·{v0,·p2,·p3},·Landroid/os/Bundle;->putFloat(Ljava/lang/String;F)V |
| |
313 | ····.line·375 | 313 | ····.line·380 |
314 | ····new-instance·p2,·Landroid/app/Notification$Action$Builder; | 314 | ····new-instance·p2,·Landroid/app/Notification$Action$Builder; |
| |
315 | ····.line·376 | 315 | ····.line·381 |
316 | ····invoke-virtual·{p1},·Landroid/app/RemoteAction;->getTitle()Ljava/lang/CharSequence; | 316 | ····invoke-virtual·{p1},·Landroid/app/RemoteAction;->getTitle()Ljava/lang/CharSequence; |
| |
317 | ····move-result-object·p3 | 317 | ····move-result-object·p3 |
| |
318 | ····invoke-virtual·{p1},·Landroid/app/RemoteAction;->getActionIntent()Landroid/app/PendingIntent; | 318 | ····invoke-virtual·{p1},·Landroid/app/RemoteAction;->getActionIntent()Landroid/app/PendingIntent; |
| |
319 | ····move-result-object·p1 | 319 | ····move-result-object·p1 |
| |
320 | ····invoke-direct·{p2,·p0,·p3,·p1},·Landroid/app/Notification$Action$Builder;-><init>(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V | 320 | ····invoke-direct·{p2,·p0,·p3,·p1},·Landroid/app/Notification$Action$Builder;-><init>(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V |
| |
321 | ····const/4·p0,·0x1 | 321 | ····const/4·p0,·0x1 |
| |
322 | ····.line·377 | 322 | ····.line·382 |
323 | ····invoke-virtual·{p2,·p0},·Landroid/app/Notification$Action$Builder;->setContextual(Z)Landroid/app/Notification$Action$Builder; | 323 | ····invoke-virtual·{p2,·p0},·Landroid/app/Notification$Action$Builder;->setContextual(Z)Landroid/app/Notification$Action$Builder; |
| |
324 | ····move-result-object·p0 | 324 | ····move-result-object·p0 |
| |
325 | ····.line·378 | 325 | ····.line·383 |
326 | ····invoke-virtual·{p0,·v0},·Landroid/app/Notification$Action$Builder;->addExtras(Landroid/os/Bundle;)Landroid/app/Notification$Action$Builder; | 326 | ····invoke-virtual·{p0,·v0},·Landroid/app/Notification$Action$Builder;->addExtras(Landroid/os/Bundle;)Landroid/app/Notification$Action$Builder; |
| |
327 | ····move-result-object·p0 | 327 | ····move-result-object·p0 |
| |
328 | ····.line·379 | 328 | ····.line·384 |
329 | ····invoke-virtual·{p0},·Landroid/app/Notification$Action$Builder;->build()Landroid/app/Notification$Action; | 329 | ····invoke-virtual·{p0},·Landroid/app/Notification$Action$Builder;->build()Landroid/app/Notification$Action; |
| |
330 | ····move-result-object·p0 | 330 | ····move-result-object·p0 |
| |
331 | ····return-object·p0 | 331 | ····return-object·p0 |
332 | .end·method | 332 | .end·method |
| |
333 | .method·private·createNotificationActionWithoutRemoteAction(Landroid/view/textclassifier/ConversationAction;)Landroid/app/Notification$Action; | 333 | .method·private·createNotificationActionWithoutRemoteAction(Landroid/view/textclassifier/ConversationAction;)Landroid/app/Notification$Action; |
334 | ····.locals·2 | 334 | ····.locals·2 |
| |
335 | ····.line·197 | 335 | ····.line·202 |
336 | ····invoke-virtual·{p1},·Landroid/view/textclassifier/ConversationAction;->getType()Ljava/lang/String; | 336 | ····invoke-virtual·{p1},·Landroid/view/textclassifier/ConversationAction;->getType()Ljava/lang/String; |
| |
337 | ····move-result-object·v0 | 337 | ····move-result-object·v0 |
| |
338 | ····const-string·v1,·"copy" | 338 | ····const-string·v1,·"copy" |
| |
339 | ····invoke-virtual·{v1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 339 | ····invoke-virtual·{v1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
340 | ····move-result·v0 | 340 | ····move-result·v0 |
| |
341 | ····if-eqz·v0,·:cond_0 | 341 | ····if-eqz·v0,·:cond_0 |
| |
342 | ····.line·198 | 342 | ····.line·203 |
343 | ····invoke-direct·{p0,·p1},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->createCopyCodeAction(Landroid/view/textclassifier/ConversationAction;)Landroid/app/Notification$Action; | 343 | ····invoke-direct·{p0,·p1},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->createCopyCodeAction(Landroid/view/textclassifier/ConversationAction;)Landroid/app/Notification$Action; |
| |
344 | ····move-result-object·p0 | 344 | ····move-result-object·p0 |
| |
345 | ····return-object·p0 | 345 | ····return-object·p0 |
| |
346 | ····:cond_0 | 346 | ····:cond_0 |
Offset 427, 41 lines modified | Offset 427, 41 lines modified |
427 | ············")", | 427 | ············")", |
428 | ············"Lcom/google/common/collect/ImmutableList<", | 428 | ············"Lcom/google/common/collect/ImmutableList<", |
429 | ············"Landroid/view/textclassifier/ConversationActions$Message;", | 429 | ············"Landroid/view/textclassifier/ConversationActions$Message;", |
430 | ············">;" | 430 | ············">;" |
431 | ········} | 431 | ········} |
432 | ····.end·annotation | 432 | ····.end·annotation |
| |
433 | ····.line·428 | 433 | ····.line·433 |
434 | ····iget-object·v0,·p1,·Landroid/app/Notification;->extras:Landroid/os/Bundle; | 434 | ····iget-object·v0,·p1,·Landroid/app/Notification;->extras:Landroid/os/Bundle; |
| |
435 | ····const-string·v1,·"android.messages" | 435 | ····const-string·v1,·"android.messages" |
| |
436 | ····.line·430 | 436 | ····.line·435 |
437 | ····invoke-virtual·{v0,·v1},·Landroid/os/Bundle;->getParcelableArray(Ljava/lang/String;)[Landroid/os/Parcelable; | 437 | ····invoke-virtual·{v0,·v1},·Landroid/os/Bundle;->getParcelableArray(Ljava/lang/String;)[Landroid/os/Parcelable; |
| |
438 | ····move-result-object·v0 | 438 | ····move-result-object·v0 |
| |
439 | ····.line·429 | 439 | ····.line·434 |
440 | ····invoke-static·{v0},·Landroid/app/Notification$MessagingStyle$Message;->getMessagesFromBundleArray([Landroid/os/Parcelable;)Ljava/util/List; | 440 | ····invoke-static·{v0},·Landroid/app/Notification$MessagingStyle$Message;->getMessagesFromBundleArray([Landroid/os/Parcelable;)Ljava/util/List; |
| |
441 | ····move-result-object·v0 | 441 | ····move-result-object·v0 |
| |
442 | ····if-eqz·v0,·:cond_7 | 442 | ····if-eqz·v0,·:cond_7 |
| |
443 | ····.line·431 | 443 | ····.line·436 |
444 | ····invoke-interface·{v0},·Ljava/util/List;->isEmpty()Z | 444 | ····invoke-interface·{v0},·Ljava/util/List;->isEmpty()Z |
| |
445 | ····move-result·v1 | 445 | ····move-result·v1 |
| |
446 | ····if-eqz·v1,·:cond_0 | 446 | ····if-eqz·v1,·:cond_0 |
| |
447 | ····goto/16·:goto_3 | 447 | ····goto/16·:goto_3 |
| |
448 | ····.line·437 | 448 | ····.line·442 |
449 | ····:cond_0 | 449 | ····:cond_0 |
450 | ····iget-object·p1,·p1,·Landroid/app/Notification;->extras:Landroid/os/Bundle; | 450 | ····iget-object·p1,·p1,·Landroid/app/Notification;->extras:Landroid/os/Bundle; |
| |
451 | ····const-string·v1,·"android.messagingUser" | 451 | ····const-string·v1,·"android.messagingUser" |
| |
452 | ····invoke-virtual·{p1,·v1},·Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable; | 452 | ····invoke-virtual·{p1,·v1},·Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable; |
| |
Offset 471, 86 lines modified | Offset 471, 86 lines modified |
| |
471 | ····if-nez·p1,·:cond_1 | 471 | ····if-nez·p1,·:cond_1 |
| |
472 | ····const-string·p0,·"SmartSuggestionsHelper" | 472 | ····const-string·p0,·"SmartSuggestionsHelper" |
| |
473 | ····const-string·p1,·"EXTRA_MESSAGING_PERSON·is·missing,·failed·to·extract·messages." | 473 | ····const-string·p1,·"EXTRA_MESSAGING_PERSON·is·missing,·failed·to·extract·messages." |
| |
474 | ····.line·439 | 474 | ····.line·444 |
475 | ····invoke-static·{p0,·p1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I | 475 | ····invoke-static·{p0,·p1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I |
| |
476 | ····.line·440 | 476 | ····.line·445 |
477 | ····invoke-static·{},·Lcom/google/common/collect/ImmutableList;->of()Lcom/google/common/collect/ImmutableList; | 477 | ····invoke-static·{},·Lcom/google/common/collect/ImmutableList;->of()Lcom/google/common/collect/ImmutableList; |
| |
478 | ····move-result-object·p0 | 478 | ····move-result-object·p0 |
| |
479 | ····return-object·p0 | 479 | ····return-object·p0 |
| |
480 | ····.line·442 | 480 | ····.line·447 |
481 | ····:cond_1 | 481 | ····:cond_1 |
482 | ····new-instance·v1,·Ljava/util/ArrayDeque; | 482 | ····new-instance·v1,·Ljava/util/ArrayDeque; |
| |
483 | ····invoke-direct·{v1},·Ljava/util/ArrayDeque;-><init>()V | 483 | ····invoke-direct·{v1},·Ljava/util/ArrayDeque;-><init>()V |
| |
484 | ····.line·443 | 484 | ····.line·448 |
485 | ····invoke-interface·{v0},·Ljava/util/List;->size()I | 485 | ····invoke-interface·{v0},·Ljava/util/List;->size()I |
| |
486 | ····move-result·v2 | 486 | ····move-result·v2 |
| |
487 | ····add-int/lit8·v2,·v2,·-0x1 | 487 | ····add-int/lit8·v2,·v2,·-0x1 |
| |
488 | ····:goto_0 | 488 | ····:goto_0 |
489 | ····if-ltz·v2,·:cond_6 | 489 | ····if-ltz·v2,·:cond_6 |
| |
490 | ····.line·444 | 490 | ····.line·449 |
491 | ····invoke-interface·{v0,·v2},·Ljava/util/List;->get(I)Ljava/lang/Object; | 491 | ····invoke-interface·{v0,·v2},·Ljava/util/List;->get(I)Ljava/lang/Object; |
| |
492 | ····move-result-object·v3 | 492 | ····move-result-object·v3 |
| |
493 | ····check-cast·v3,·Landroid/app/Notification$MessagingStyle$Message; | 493 | ····check-cast·v3,·Landroid/app/Notification$MessagingStyle$Message; |
| |
494 | ····if-nez·v3,·:cond_2 | 494 | ····if-nez·v3,·:cond_2 |
| |
495 | ····goto·:goto_1 | 495 | ····goto·:goto_1 |
| |
496 | ····.line·448 | 496 | ····.line·453 |
497 | ····:cond_2 | 497 | ····:cond_2 |
498 | ····invoke-virtual·{v3},·Landroid/app/Notification$MessagingStyle$Message;->getSenderPerson()Landroid/app/Person; | 498 | ····invoke-virtual·{v3},·Landroid/app/Notification$MessagingStyle$Message;->getSenderPerson()Landroid/app/Person; |
| |
499 | ····move-result-object·v4 | 499 | ····move-result-object·v4 |
| |
500 | ····if-eqz·v4,·:cond_3 | 500 | ····if-eqz·v4,·:cond_3 |
| |
501 | ····.line·452 | 501 | ····.line·457 |
502 | ····invoke-static·{p1,·v4},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->arePersonsEqual(Landroid/app/Person;Landroid/app/Person;)Z | 502 | ····invoke-static·{p1,·v4},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->arePersonsEqual(Landroid/app/Person;Landroid/app/Person;)Z |
| |
503 | ····move-result·v5 | 503 | ····move-result·v5 |
| |
504 | ····if-eqz·v5,·:cond_4 | 504 | ····if-eqz·v5,·:cond_4 |
| |
505 | ····.line·453 | 505 | ····.line·458 |
506 | ····:cond_3 | 506 | ····:cond_3 |
507 | ····sget-object·v4,·Landroid/view/textclassifier/ConversationActions$Message;->PERSON_USER_SELF:Landroid/app/Person; | 507 | ····sget-object·v4,·Landroid/view/textclassifier/ConversationActions$Message;->PERSON_USER_SELF:Landroid/app/Person; |
| |
508 | ····.line·455 | 508 | ····.line·460 |
509 | ····:cond_4 | 509 | ····:cond_4 |
510 | ····new-instance·v5,·Landroid/view/textclassifier/ConversationActions$Message$Builder; | 510 | ····new-instance·v5,·Landroid/view/textclassifier/ConversationActions$Message$Builder; |
| |
511 | ····invoke-direct·{v5,·v4},·Landroid/view/textclassifier/ConversationActions$Message$Builder;-><init>(Landroid/app/Person;)V | 511 | ····invoke-direct·{v5,·v4},·Landroid/view/textclassifier/ConversationActions$Message$Builder;-><init>(Landroid/app/Person;)V |
| |
512 | ····.line·457 | 512 | ····.line·462 |
513 | ····invoke-virtual·{v3},·Landroid/app/Notification$MessagingStyle$Message;->getText()Ljava/lang/CharSequence; | 513 | ····invoke-virtual·{v3},·Landroid/app/Notification$MessagingStyle$Message;->getText()Ljava/lang/CharSequence; |
| |
514 | ····move-result-object·v4 | 514 | ····move-result-object·v4 |
| |
515 | ····invoke-virtual·{v5,·v4},·Landroid/view/textclassifier/ConversationActions$Message$Builder;->setText(Ljava/lang/CharSequence;)Landroid/view/textclassifier/ConversationActions$Message$Builder; | 515 | ····invoke-virtual·{v5,·v4},·Landroid/view/textclassifier/ConversationActions$Message$Builder;->setText(Ljava/lang/CharSequence;)Landroid/view/textclassifier/ConversationActions$Message$Builder; |
| |
516 | ····move-result-object·v4 | 516 | ····move-result-object·v4 |
| |
517 | ····.line·459 | 517 | ····.line·464 |
518 | ····invoke-virtual·{v3},·Landroid/app/Notification$MessagingStyle$Message;->getTimestamp()J | 518 | ····invoke-virtual·{v3},·Landroid/app/Notification$MessagingStyle$Message;->getTimestamp()J |
| |
519 | ····move-result-wide·v5 | 519 | ····move-result-wide·v5 |
| |
520 | ····invoke-static·{v5,·v6},·Ljava/time/Instant;->ofEpochMilli(J)Ljava/time/Instant; | 520 | ····invoke-static·{v5,·v6},·Ljava/time/Instant;->ofEpochMilli(J)Ljava/time/Instant; |
| |
521 | ····move-result-object·v3 | 521 | ····move-result-object·v3 |
Offset 559, 28 lines modified | Offset 559, 28 lines modified |
| |
559 | ····move-result-object·v5 | 559 | ····move-result-object·v5 |
| |
560 | ····invoke-virtual·{v3,·v5},·Ljava/time/Instant;->atZone(Ljava/time/ZoneId;)Ljava/time/ZonedDateTime; | 560 | ····invoke-virtual·{v3,·v5},·Ljava/time/Instant;->atZone(Ljava/time/ZoneId;)Ljava/time/ZonedDateTime; |
| |
561 | ····move-result-object·v3 | 561 | ····move-result-object·v3 |
| |
562 | ····.line·458 | 562 | ····.line·463 |
563 | ····invoke-virtual·{v4,·v3},·Landroid/view/textclassifier/ConversationActions$Message$Builder;->setReferenceTime(Ljava/time/ZonedDateTime;)Landroid/view/textclassifier/ConversationActions$Message$Builder; | 563 | ····invoke-virtual·{v4,·v3},·Landroid/view/textclassifier/ConversationActions$Message$Builder;->setReferenceTime(Ljava/time/ZonedDateTime;)Landroid/view/textclassifier/ConversationActions$Message$Builder; |
| |
564 | ····move-result-object·v3 | 564 | ····move-result-object·v3 |
| |
565 | ····.line·460 | 565 | ····.line·465 |
566 | ····invoke-virtual·{v3},·Landroid/view/textclassifier/ConversationActions$Message$Builder;->build()Landroid/view/textclassifier/ConversationActions$Message; | 566 | ····invoke-virtual·{v3},·Landroid/view/textclassifier/ConversationActions$Message$Builder;->build()Landroid/view/textclassifier/ConversationActions$Message; |
| |
567 | ····move-result-object·v3 | 567 | ····move-result-object·v3 |
| |
568 | ····.line·455 | 568 | ····.line·460 |
569 | ····invoke-interface·{v1,·v3},·Ljava/util/Deque;->push(Ljava/lang/Object;)V | 569 | ····invoke-interface·{v1,·v3},·Ljava/util/Deque;->push(Ljava/lang/Object;)V |
| |
570 | ····.line·461 | 570 | ····.line·466 |
571 | ····invoke-interface·{v1},·Ljava/util/Deque;->size()I | 571 | ····invoke-interface·{v1},·Ljava/util/Deque;->size()I |
| |
572 | ····move-result·v3 | 572 | ····move-result·v3 |
| |
573 | ····iget-object·v4,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->config:Lcom/android/textclassifier/notification/SmartSuggestionsConfig; | 573 | ····iget-object·v4,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->config:Lcom/android/textclassifier/notification/SmartSuggestionsConfig; |
| |
574 | ····invoke-interface·{v4},·Lcom/android/textclassifier/notification/SmartSuggestionsConfig;->getMaxMessagesToExtract()I | 574 | ····invoke-interface·{v4},·Lcom/android/textclassifier/notification/SmartSuggestionsConfig;->getMaxMessagesToExtract()I |
Offset 593, 71 lines modified | Offset 593, 71 lines modified |
| |
593 | ····:cond_5 | 593 | ····:cond_5 |
594 | ····:goto_1 | 594 | ····:goto_1 |
595 | ····add-int/lit8·v2,·v2,·-0x1 | 595 | ····add-int/lit8·v2,·v2,·-0x1 |
| |
596 | ····goto·:goto_0 | 596 | ····goto·:goto_0 |
| |
597 | ····.line·465 | 597 | ····.line·470 |
598 | ····:cond_6 | 598 | ····:cond_6 |
599 | ····:goto_2 | 599 | ····:goto_2 |
600 | ····new-instance·p0,·Ljava/util/ArrayList; | 600 | ····new-instance·p0,·Ljava/util/ArrayList; |
| |
601 | ····invoke-direct·{p0,·v1},·Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V | 601 | ····invoke-direct·{p0,·v1},·Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V |
| |
602 | ····invoke-static·{p0},·Lcom/google/common/collect/ImmutableList;->copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList; | 602 | ····invoke-static·{p0},·Lcom/google/common/collect/ImmutableList;->copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList; |
| |
603 | ····move-result-object·p0 | 603 | ····move-result-object·p0 |
| |
604 | ····return-object·p0 | 604 | ····return-object·p0 |
| |
605 | ····.line·432 | 605 | ····.line·437 |
606 | ····:cond_7 | 606 | ····:cond_7 |
607 | ····:goto_3 | 607 | ····:goto_3 |
608 | ····new-instance·p0,·Landroid/view/textclassifier/ConversationActions$Message$Builder; | 608 | ····new-instance·p0,·Landroid/view/textclassifier/ConversationActions$Message$Builder; |
| |
609 | ····sget-object·v0,·Landroid/view/textclassifier/ConversationActions$Message;->PERSON_USER_OTHERS:Landroid/app/Person; | 609 | ····sget-object·v0,·Landroid/view/textclassifier/ConversationActions$Message;->PERSON_USER_OTHERS:Landroid/app/Person; |
| |
610 | ····invoke-direct·{p0,·v0},·Landroid/view/textclassifier/ConversationActions$Message$Builder;-><init>(Landroid/app/Person;)V | 610 | ····invoke-direct·{p0,·v0},·Landroid/view/textclassifier/ConversationActions$Message$Builder;-><init>(Landroid/app/Person;)V |
| |
611 | ····iget-object·p1,·p1,·Landroid/app/Notification;->extras:Landroid/os/Bundle; | 611 | ····iget-object·p1,·p1,·Landroid/app/Notification;->extras:Landroid/os/Bundle; |
| |
612 | ····const-string·v0,·"android.text" | 612 | ····const-string·v0,·"android.text" |
| |
613 | ····.line·434 | 613 | ····.line·439 |
614 | ····invoke-virtual·{p1,·v0},·Landroid/os/Bundle;->getCharSequence(Ljava/lang/String;)Ljava/lang/CharSequence; | 614 | ····invoke-virtual·{p1,·v0},·Landroid/os/Bundle;->getCharSequence(Ljava/lang/String;)Ljava/lang/CharSequence; |
| |
615 | ····move-result-object·p1 | 615 | ····move-result-object·p1 |
| |
616 | ····invoke-virtual·{p0,·p1},·Landroid/view/textclassifier/ConversationActions$Message$Builder;->setText(Ljava/lang/CharSequence;)Landroid/view/textclassifier/ConversationActions$Message$Builder; | 616 | ····invoke-virtual·{p0,·p1},·Landroid/view/textclassifier/ConversationActions$Message$Builder;->setText(Ljava/lang/CharSequence;)Landroid/view/textclassifier/ConversationActions$Message$Builder; |
| |
617 | ····move-result-object·p0 | 617 | ····move-result-object·p0 |
| |
618 | ····.line·435 | 618 | ····.line·440 |
619 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationActions$Message$Builder;->build()Landroid/view/textclassifier/ConversationActions$Message; | 619 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationActions$Message$Builder;->build()Landroid/view/textclassifier/ConversationActions$Message; |
| |
620 | ····move-result-object·p0 | 620 | ····move-result-object·p0 |
| |
621 | ····.line·432 | 621 | ····.line·437 |
622 | ····invoke-static·{p0},·Lcom/google/common/collect/ImmutableList;->of(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; | 622 | ····invoke-static·{p0},·Lcom/google/common/collect/ImmutableList;->of(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; |
| |
623 | ····move-result-object·p0 | 623 | ····move-result-object·p0 |
| |
624 | ····return-object·p0 | 624 | ····return-object·p0 |
625 | .end·method | 625 | .end·method |
| |
626 | .method·private·static·isEligibleForActionAdjustment(Landroid/service/notification/StatusBarNotification;)Z | 626 | .method·private·static·isEligibleForActionAdjustment(Landroid/service/notification/StatusBarNotification;)Z |
627 | ····.locals·3 | 627 | ····.locals·3 |
| |
628 | ····.line·391 | 628 | ····.line·396 |
629 | ····invoke-virtual·{p0},·Landroid/service/notification/StatusBarNotification;->getPackageName()Ljava/lang/String; | 629 | ····invoke-virtual·{p0},·Landroid/service/notification/StatusBarNotification;->getPackageName()Ljava/lang/String; |
| |
630 | ····move-result-object·v0 | 630 | ····move-result-object·v0 |
| |
631 | ····.line·392 | 631 | ····.line·397 |
632 | ····invoke-static·{},·Landroid/os/Process;->myUserHandle()Landroid/os/UserHandle; | 632 | ····invoke-static·{},·Landroid/os/Process;->myUserHandle()Landroid/os/UserHandle; |
| |
633 | ····move-result-object·v1 | 633 | ····move-result-object·v1 |
| |
634 | ····invoke-virtual·{p0},·Landroid/service/notification/StatusBarNotification;->getUser()Landroid/os/UserHandle; | 634 | ····invoke-virtual·{p0},·Landroid/service/notification/StatusBarNotification;->getUser()Landroid/os/UserHandle; |
| |
635 | ····move-result-object·v2 | 635 | ····move-result-object·v2 |
Offset 668, 30 lines modified | Offset 668, 30 lines modified |
| |
668 | ····const/4·v2,·0x0 | 668 | ····const/4·v2,·0x0 |
| |
669 | ····if-nez·v1,·:cond_0 | 669 | ····if-nez·v1,·:cond_0 |
| |
670 | ····return·v2 | 670 | ····return·v2 |
| |
671 | ····.line·395 | 671 | ····.line·400 |
672 | ····:cond_0 | 672 | ····:cond_0 |
673 | ····invoke-virtual·{p0},·Landroid/service/notification/StatusBarNotification;->getNotification()Landroid/app/Notification; | 673 | ····invoke-virtual·{p0},·Landroid/service/notification/StatusBarNotification;->getNotification()Landroid/app/Notification; |
| |
674 | ····move-result-object·v1 | 674 | ····move-result-object·v1 |
| |
675 | ····.line·396 | 675 | ····.line·401 |
676 | ····iget·v1,·v1,·Landroid/app/Notification;->flags:I | 676 | ····iget·v1,·v1,·Landroid/app/Notification;->flags:I |
| |
677 | ····and-int/lit16·v1,·v1,·0x262 | 677 | ····and-int/lit16·v1,·v1,·0x262 |
| |
678 | ····if-eqz·v1,·:cond_1 | 678 | ····if-eqz·v1,·:cond_1 |
| |
679 | ····return·v2 | 679 | ····return·v2 |
| |
680 | ····.line·399 | 680 | ····.line·404 |
681 | ····:cond_1 | 681 | ····:cond_1 |
682 | ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 682 | ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
683 | ····move-result·v1 | 683 | ····move-result·v1 |
| |
684 | ····if-nez·v1,·:cond_3 | 684 | ····if-nez·v1,·:cond_3 |
| |
Offset 701, 15 lines modified | Offset 701, 15 lines modified |
| |
701 | ····move-result·v0 | 701 | ····move-result·v0 |
| |
702 | ····if-eqz·v0,·:cond_2 | 702 | ····if-eqz·v0,·:cond_2 |
| |
703 | ····goto·:goto_0 | 703 | ····goto·:goto_0 |
| |
704 | ····.line·403 | 704 | ····.line·408 |
705 | ····:cond_2 | 705 | ····:cond_2 |
706 | ····invoke-static·{p0},·Lcom/android/textclassifier/notification/NotificationUtils;->isMessaging(Landroid/service/notification/StatusBarNotification;)Z | 706 | ····invoke-static·{p0},·Lcom/android/textclassifier/notification/NotificationUtils;->isMessaging(Landroid/service/notification/StatusBarNotification;)Z |
| |
707 | ····move-result·p0 | 707 | ····move-result·p0 |
| |
708 | ····return·p0 | 708 | ····return·p0 |
| |
Offset 717, 15 lines modified | Offset 717, 15 lines modified |
717 | ····:goto_0 | 717 | ····:goto_0 |
718 | ····return·v2 | 718 | ····return·v2 |
719 | .end·method | 719 | .end·method |
| |
720 | .method·private·static·isEligibleForReplyAdjustment(Landroid/service/notification/StatusBarNotification;)Z | 720 | .method·private·static·isEligibleForReplyAdjustment(Landroid/service/notification/StatusBarNotification;)Z |
721 | ····.locals·3 | 721 | ····.locals·3 |
| |
722 | ····.line·407 | 722 | ····.line·412 |
723 | ····invoke-static·{},·Landroid/os/Process;->myUserHandle()Landroid/os/UserHandle; | 723 | ····invoke-static·{},·Landroid/os/Process;->myUserHandle()Landroid/os/UserHandle; |
| |
724 | ····move-result-object·v0 | 724 | ····move-result-object·v0 |
| |
725 | ····invoke-virtual·{p0},·Landroid/service/notification/StatusBarNotification;->getUser()Landroid/os/UserHandle; | 725 | ····invoke-virtual·{p0},·Landroid/service/notification/StatusBarNotification;->getUser()Landroid/os/UserHandle; |
| |
726 | ····move-result-object·v1 | 726 | ····move-result-object·v1 |
Offset 736, 21 lines modified | Offset 736, 21 lines modified |
| |
736 | ····const/4·v1,·0x0 | 736 | ····const/4·v1,·0x0 |
| |
737 | ····if-nez·v0,·:cond_0 | 737 | ····if-nez·v0,·:cond_0 |
| |
738 | ····return·v1 | 738 | ····return·v1 |
| |
739 | ····.line·410 | 739 | ····.line·415 |
740 | ····:cond_0 | 740 | ····:cond_0 |
741 | ····invoke-virtual·{p0},·Landroid/service/notification/StatusBarNotification;->getPackageName()Ljava/lang/String; | 741 | ····invoke-virtual·{p0},·Landroid/service/notification/StatusBarNotification;->getPackageName()Ljava/lang/String; |
| |
742 | ····move-result-object·v0 | 742 | ····move-result-object·v0 |
| |
743 | ····.line·411 | 743 | ····.line·416 |
744 | ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 744 | ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
745 | ····move-result·v2 | 745 | ····move-result·v2 |
| |
746 | ····if-nez·v2,·:cond_4 | 746 | ····if-nez·v2,·:cond_4 |
| |
747 | ····const-string·v2,·"android" | 747 | ····const-string·v2,·"android" |
Offset 759, 25 lines modified | Offset 759, 25 lines modified |
| |
759 | ····move-result·v0 | 759 | ····move-result·v0 |
| |
760 | ····if-eqz·v0,·:cond_1 | 760 | ····if-eqz·v0,·:cond_1 |
| |
761 | ····goto·:goto_0 | 761 | ····goto·:goto_0 |
| |
762 | ····.line·415 | 762 | ····.line·420 |
763 | ····:cond_1 | 763 | ····:cond_1 |
764 | ····invoke-static·{p0},·Lcom/android/textclassifier/notification/NotificationUtils;->isMessaging(Landroid/service/notification/StatusBarNotification;)Z | 764 | ····invoke-static·{p0},·Lcom/android/textclassifier/notification/NotificationUtils;->isMessaging(Landroid/service/notification/StatusBarNotification;)Z |
| |
765 | ····move-result·v0 | 765 | ····move-result·v0 |
| |
766 | ····if-nez·v0,·:cond_2 | 766 | ····if-nez·v0,·:cond_2 |
| |
767 | ····return·v1 | 767 | ····return·v1 |
| |
768 | ····.line·420 | 768 | ····.line·425 |
769 | ····:cond_2 | 769 | ····:cond_2 |
770 | ····invoke-static·{p0},·Lcom/android/textclassifier/notification/NotificationUtils;->hasInlineReply(Landroid/service/notification/StatusBarNotification;)Z | 770 | ····invoke-static·{p0},·Lcom/android/textclassifier/notification/NotificationUtils;->hasInlineReply(Landroid/service/notification/StatusBarNotification;)Z |
| |
771 | ····move-result·p0 | 771 | ····move-result·p0 |
| |
772 | ····if-nez·p0,·:cond_3 | 772 | ····if-nez·p0,·:cond_3 |
| |
Offset 792, 246 lines modified | Offset 792, 246 lines modified |
792 | ····:goto_0 | 792 | ····:goto_0 |
793 | ····return·v1 | 793 | ····return·v1 |
794 | .end·method | 794 | .end·method |
| |
795 | .method·private·synthetic·lambda$onNotificationEnqueued$0(Ljava/lang/String;Ljava/util/Map;Ljava/util/List;Landroid/service/notification/StatusBarNotification;Ljava/util/ArrayList;Ljava/util/ArrayList;Landroid/view/textclassifier/TextClassifier;)V | 795 | .method·private·synthetic·lambda$onNotificationEnqueued$0(Ljava/lang/String;Ljava/util/Map;Ljava/util/List;Landroid/service/notification/StatusBarNotification;Ljava/util/ArrayList;Ljava/util/ArrayList;Landroid/view/textclassifier/TextClassifier;)V |
796 | ····.locals·2 | 796 | ····.locals·2 |
| |
797 | ····.line·167 | 797 | ····.line·169 |
798 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 798 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
799 | ····move-result·v0 | 799 | ····move-result·v0 |
| |
800 | ····if-eqz·v0,·:cond_0 | 800 | ····if-eqz·v0,·:cond_0 |
| |
801 | ····.line·169 | 801 | ····.line·171 |
802 | ····invoke-interface·{p7},·Landroid/view/textclassifier/TextClassifier;->destroy()V | 802 | ····invoke-interface·{p7},·Landroid/view/textclassifier/TextClassifier;->destroy()V |
| |
803 | ····goto·:goto_0 | 803 | ····goto·:goto_0 |
| |
804 | ····.line·171 | 804 | ····.line·173 |
805 | ····:cond_0 | 805 | ····:cond_0 |
806 | ····new-instance·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession; | 806 | ····new-instance·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession; |
| |
807 | ····iget-object·v1,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->textClassificationContext:Landroid/view/textclassifier/TextClassificationContext; | 807 | ····iget-object·v1,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->textClassificationContext:Landroid/view/textclassifier/TextClassificationContext; |
| |
808 | ····invoke-direct·{v0,·p1,·p2,·p7,·v1},·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;-><init>(Ljava/lang/String;Ljava/util/Map;Landroid/view/textclassifier/TextClassifier;Landroid/view/textclassifier/TextClassificationContext;)V | 808 | ····invoke-direct·{v0,·p1,·p2,·p7,·v1},·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;-><init>(Ljava/lang/String;Ljava/util/Map;Landroid/view/textclassifier/TextClassifier;Landroid/view/textclassifier/TextClassificationContext;)V |
| |
809 | ····.line·174 | 809 | ····.line·179 |
810 | ····invoke-virtual·{v0,·p3},·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;->onSuggestionsGenerated(Ljava/util/List;)V | 810 | ····invoke-virtual·{v0,·p3},·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;->onSuggestionsGenerated(Ljava/util/List;)V |
| |
811 | ····.line·177 | 811 | ····.line·182 |
812 | ····invoke-interface·{p3},·Ljava/util/List;->isEmpty()Z | 812 | ····invoke-interface·{p3},·Ljava/util/List;->isEmpty()Z |
| |
813 | ····move-result·p1 | 813 | ····move-result·p1 |
| |
814 | ····if-nez·p1,·:cond_1 | 814 | ····if-nez·p1,·:cond_1 |
| |
815 | ····.line·179 | 815 | ····.line·184 |
816 | ····invoke-virtual·{p5},·Ljava/util/ArrayList;->isEmpty()Z | 816 | ····invoke-virtual·{p5},·Ljava/util/ArrayList;->isEmpty()Z |
| |
817 | ····move-result·p1 | 817 | ····move-result·p1 |
| |
818 | ····xor-int/lit8·p1,·p1,·0x1 | 818 | ····xor-int/lit8·p1,·p1,·0x1 |
| |
819 | ····invoke-virtual·{p6},·Ljava/util/ArrayList;->isEmpty()Z | 819 | ····invoke-virtual·{p6},·Ljava/util/ArrayList;->isEmpty()Z |
| |
820 | ····move-result·p2 | 820 | ····move-result·p2 |
| |
821 | ····xor-int/lit8·p2,·p2,·0x1 | 821 | ····xor-int/lit8·p2,·p2,·0x1 |
| |
822 | ····.line·178 | 822 | ····.line·183 |
823 | ····invoke-static·{p4,·p1,·p2},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->suggestionsMightBeUsedInNotification(Landroid/service/notification/StatusBarNotification;ZZ)Z | 823 | ····invoke-static·{p4,·p1,·p2},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->suggestionsMightBeUsedInNotification(Landroid/service/notification/StatusBarNotification;ZZ)Z |
| |
824 | ····move-result·p1 | 824 | ····move-result·p1 |
| |
825 | ····if-eqz·p1,·:cond_1 | 825 | ····if-eqz·p1,·:cond_1 |
| |
826 | ····.line·180 | 826 | ····.line·185 |
827 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->sessionCache:Landroid/util/LruCache; | 827 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->sessionCache:Landroid/util/LruCache; |
| |
828 | ····invoke-virtual·{p4},·Landroid/service/notification/StatusBarNotification;->getKey()Ljava/lang/String; | 828 | ····invoke-virtual·{p4},·Landroid/service/notification/StatusBarNotification;->getKey()Ljava/lang/String; |
| |
829 | ····move-result-object·p1 | 829 | ····move-result-object·p1 |
| |
830 | ····invoke-virtual·{p0,·p1,·v0},·Landroid/util/LruCache;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 830 | ····invoke-virtual·{p0,·p1,·v0},·Landroid/util/LruCache;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
| |
831 | ····goto·:goto_0 | 831 | ····goto·:goto_0 |
| |
832 | ····.line·182 | 832 | ····.line·187 |
833 | ····:cond_1 | 833 | ····:cond_1 |
834 | ····invoke-virtual·{v0},·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;->destroy()V | 834 | ····invoke-virtual·{v0},·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;->destroy()V |
| |
835 | ····:goto_0 | 835 | ····:goto_0 |
836 | ····return-void | 836 | ····return-void |
837 | .end·method | 837 | .end·method |
| |
838 | .method·private·suggestConversationActions(Landroid/service/notification/StatusBarNotification;ZZ)Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult; | 838 | .method·private·suggestConversationActions(Landroid/service/notification/StatusBarNotification;ZZ)Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult; |
839 | ····.locals·3 | 839 | ····.locals·3 |
| |
840 | ····if-nez·p2,·:cond_0 | 840 | ····if-nez·p2,·:cond_0 |
| |
841 | ····if-nez·p3,·:cond_0 | 841 | ····if-nez·p3,·:cond_0 |
| |
842 | ····.line·268 | 842 | ····.line·273 |
843 | ····sget-object·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->EMPTY_SUGGEST_CONVERSATION_ACTION_RESULT:Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult; | 843 | ····sget-object·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->EMPTY_SUGGEST_CONVERSATION_ACTION_RESULT:Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult; |
| |
844 | ····return-object·p0 | 844 | ····return-object·p0 |
| |
845 | ····.line·271 | 845 | ····.line·276 |
846 | ····:cond_0 | 846 | ····:cond_0 |
847 | ····invoke-virtual·{p1},·Landroid/service/notification/StatusBarNotification;->getNotification()Landroid/app/Notification; | 847 | ····invoke-virtual·{p1},·Landroid/service/notification/StatusBarNotification;->getNotification()Landroid/app/Notification; |
| |
848 | ····move-result-object·v0 | 848 | ····move-result-object·v0 |
| |
849 | ····invoke-direct·{p0,·v0},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->extractMessages(Landroid/app/Notification;)Lcom/google/common/collect/ImmutableList; | 849 | ····invoke-direct·{p0,·v0},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->extractMessages(Landroid/app/Notification;)Lcom/google/common/collect/ImmutableList; |
| |
850 | ····move-result-object·v0 | 850 | ····move-result-object·v0 |
| |
851 | ····.line·272 | 851 | ····.line·277 |
852 | ····invoke-virtual·{v0},·Ljava/util/AbstractCollection;->isEmpty()Z | 852 | ····invoke-virtual·{v0},·Ljava/util/AbstractCollection;->isEmpty()Z |
| |
853 | ····move-result·v1 | 853 | ····move-result·v1 |
| |
854 | ····if-eqz·v1,·:cond_1 | 854 | ····if-eqz·v1,·:cond_1 |
| |
855 | ····.line·273 | 855 | ····.line·278 |
856 | ····sget-object·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->EMPTY_SUGGEST_CONVERSATION_ACTION_RESULT:Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult; | 856 | ····sget-object·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->EMPTY_SUGGEST_CONVERSATION_ACTION_RESULT:Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult; |
| |
857 | ····return-object·p0 | 857 | ····return-object·p0 |
| |
858 | ····.line·276 | 858 | ····.line·281 |
859 | ····:cond_1 | 859 | ····:cond_1 |
860 | ····invoke-static·{v0},·Lcom/google/common/collect/Iterables;->getLast(Ljava/lang/Iterable;)Ljava/lang/Object; | 860 | ····invoke-static·{v0},·Lcom/google/common/collect/Iterables;->getLast(Ljava/lang/Iterable;)Ljava/lang/Object; |
| |
861 | ····move-result-object·v1 | 861 | ····move-result-object·v1 |
| |
862 | ····check-cast·v1,·Landroid/view/textclassifier/ConversationActions$Message; | 862 | ····check-cast·v1,·Landroid/view/textclassifier/ConversationActions$Message; |
| |
863 | ····.line·277 | 863 | ····.line·282 |
864 | ····sget-object·v2,·Landroid/view/textclassifier/ConversationActions$Message;->PERSON_USER_SELF:Landroid/app/Person; | 864 | ····sget-object·v2,·Landroid/view/textclassifier/ConversationActions$Message;->PERSON_USER_SELF:Landroid/app/Person; |
| |
865 | ····invoke-virtual·{v1},·Landroid/view/textclassifier/ConversationActions$Message;->getAuthor()Landroid/app/Person; | 865 | ····invoke-virtual·{v1},·Landroid/view/textclassifier/ConversationActions$Message;->getAuthor()Landroid/app/Person; |
| |
866 | ····move-result-object·v1 | 866 | ····move-result-object·v1 |
| |
867 | ····invoke-static·{v2,·v1},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->arePersonsEqual(Landroid/app/Person;Landroid/app/Person;)Z | 867 | ····invoke-static·{v2,·v1},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->arePersonsEqual(Landroid/app/Person;Landroid/app/Person;)Z |
| |
868 | ····move-result·v1 | 868 | ····move-result·v1 |
| |
869 | ····if-eqz·v1,·:cond_2 | 869 | ····if-eqz·v1,·:cond_2 |
| |
870 | ····.line·278 | 870 | ····.line·283 |
871 | ····sget-object·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->EMPTY_SUGGEST_CONVERSATION_ACTION_RESULT:Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult; | 871 | ····sget-object·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->EMPTY_SUGGEST_CONVERSATION_ACTION_RESULT:Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult; |
| |
872 | ····return-object·p0 | 872 | ····return-object·p0 |
| |
873 | ····.line·281 | 873 | ····.line·286 |
874 | ····:cond_2 | 874 | ····:cond_2 |
875 | ····new-instance·v1,·Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder; | 875 | ····new-instance·v1,·Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder; |
| |
876 | ····invoke-direct·{v1},·Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder;-><init>()V | 876 | ····invoke-direct·{v1},·Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder;-><init>()V |
| |
877 | ····const-string·v2,·"text_reply" | 877 | ····const-string·v2,·"text_reply" |
| |
878 | ····if-nez·p2,·:cond_3 | 878 | ····if-nez·p2,·:cond_3 |
| |
879 | ····.line·284 | 879 | ····.line·289 |
880 | ····invoke-static·{v2},·Lcom/google/common/collect/ImmutableList;->of(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; | 880 | ····invoke-static·{v2},·Lcom/google/common/collect/ImmutableList;->of(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; |
| |
881 | ····move-result-object·p2 | 881 | ····move-result-object·p2 |
| |
882 | ····invoke-virtual·{v1,·p2},·Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder;->setExcludedTypes(Ljava/util/Collection;)Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder; | 882 | ····invoke-virtual·{v1,·p2},·Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder;->setExcludedTypes(Ljava/util/Collection;)Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder; |
| |
883 | ····goto·:goto_0 | 883 | ····goto·:goto_0 |
| |
884 | ····:cond_3 | 884 | ····:cond_3 |
885 | ····if-nez·p3,·:cond_4 | 885 | ····if-nez·p3,·:cond_4 |
| |
886 | ····.line·287 | 886 | ····.line·292 |
887 | ····invoke-static·{v2},·Lcom/google/common/collect/ImmutableList;->of(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; | 887 | ····invoke-static·{v2},·Lcom/google/common/collect/ImmutableList;->of(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; |
| |
888 | ····move-result-object·p2 | 888 | ····move-result-object·p2 |
| |
889 | ····invoke-virtual·{v1,·p2},·Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder;->setIncludedTypes(Ljava/util/Collection;)Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder; | 889 | ····invoke-virtual·{v1,·p2},·Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder;->setIncludedTypes(Ljava/util/Collection;)Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder; |
| |
890 | ····move-result-object·p2 | 890 | ····move-result-object·p2 |
| |
891 | ····const/4·p3,·0x0 | 891 | ····const/4·p3,·0x0 |
| |
892 | ····.line·288 | 892 | ····.line·293 |
893 | ····invoke-virtual·{p2,·p3},·Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder;->includeTypesFromTextClassifier(Z)Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder; | 893 | ····invoke-virtual·{p2,·p3},·Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder;->includeTypesFromTextClassifier(Z)Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder; |
| |
894 | ····.line·292 | 894 | ····.line·297 |
895 | ····:cond_4 | 895 | ····:cond_4 |
896 | ····:goto_0 | 896 | ····:goto_0 |
897 | ····new-instance·p2,·Landroid/os/Bundle; | 897 | ····new-instance·p2,·Landroid/os/Bundle; |
| |
898 | ····invoke-direct·{p2},·Landroid/os/Bundle;-><init>()V | 898 | ····invoke-direct·{p2},·Landroid/os/Bundle;-><init>()V |
| |
899 | ····.line·293 | 899 | ····.line·298 |
900 | ····invoke-virtual·{p1},·Landroid/service/notification/StatusBarNotification;->getKey()Ljava/lang/String; | 900 | ····invoke-virtual·{p1},·Landroid/service/notification/StatusBarNotification;->getKey()Ljava/lang/String; |
| |
901 | ····move-result-object·p1 | 901 | ····move-result-object·p1 |
| |
902 | ····const-string·p3,·"notificationKey" | 902 | ····const-string·p3,·"notificationKey" |
| |
903 | ····invoke-virtual·{p2,·p3,·p1},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 903 | ····invoke-virtual·{p2,·p3,·p1},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
| |
904 | ····.line·294 | 904 | ····.line·299 |
905 | ····new-instance·p1,·Landroid/view/textclassifier/ConversationActions$Request$Builder; | 905 | ····new-instance·p1,·Landroid/view/textclassifier/ConversationActions$Request$Builder; |
| |
906 | ····invoke-direct·{p1,·v0},·Landroid/view/textclassifier/ConversationActions$Request$Builder;-><init>(Ljava/util/List;)V | 906 | ····invoke-direct·{p1,·v0},·Landroid/view/textclassifier/ConversationActions$Request$Builder;-><init>(Ljava/util/List;)V |
| |
907 | ····iget-object·p3,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->config:Lcom/android/textclassifier/notification/SmartSuggestionsConfig; | 907 | ····iget-object·p3,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->config:Lcom/android/textclassifier/notification/SmartSuggestionsConfig; |
| |
908 | ····.line·296 | 908 | ····.line·301 |
909 | ····invoke-interface·{p3},·Lcom/android/textclassifier/notification/SmartSuggestionsConfig;->getMaxSuggestions()I | 909 | ····invoke-interface·{p3},·Lcom/android/textclassifier/notification/SmartSuggestionsConfig;->getMaxSuggestions()I |
| |
910 | ····move-result·p3 | 910 | ····move-result·p3 |
| |
911 | ····invoke-virtual·{p1,·p3},·Landroid/view/textclassifier/ConversationActions$Request$Builder;->setMaxSuggestions(I)Landroid/view/textclassifier/ConversationActions$Request$Builder; | 911 | ····invoke-virtual·{p1,·p3},·Landroid/view/textclassifier/ConversationActions$Request$Builder;->setMaxSuggestions(I)Landroid/view/textclassifier/ConversationActions$Request$Builder; |
| |
912 | ····move-result-object·p1 | 912 | ····move-result-object·p1 |
| |
913 | ····sget-object·p3,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->HINTS:Lcom/google/common/collect/ImmutableList; | 913 | ····sget-object·p3,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->HINTS:Lcom/google/common/collect/ImmutableList; |
| |
914 | ····.line·297 | 914 | ····.line·302 |
915 | ····invoke-virtual·{p1,·p3},·Landroid/view/textclassifier/ConversationActions$Request$Builder;->setHints(Ljava/util/List;)Landroid/view/textclassifier/ConversationActions$Request$Builder; | 915 | ····invoke-virtual·{p1,·p3},·Landroid/view/textclassifier/ConversationActions$Request$Builder;->setHints(Ljava/util/List;)Landroid/view/textclassifier/ConversationActions$Request$Builder; |
| |
916 | ····move-result-object·p1 | 916 | ····move-result-object·p1 |
| |
917 | ····.line·298 | 917 | ····.line·303 |
918 | ····invoke-virtual·{p1,·p2},·Landroid/view/textclassifier/ConversationActions$Request$Builder;->setExtras(Landroid/os/Bundle;)Landroid/view/textclassifier/ConversationActions$Request$Builder; | 918 | ····invoke-virtual·{p1,·p2},·Landroid/view/textclassifier/ConversationActions$Request$Builder;->setExtras(Landroid/os/Bundle;)Landroid/view/textclassifier/ConversationActions$Request$Builder; |
| |
919 | ····move-result-object·p1 | 919 | ····move-result-object·p1 |
| |
920 | ····.line·299 | 920 | ····.line·304 |
921 | ····invoke-virtual·{v1},·Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder;->build()Landroid/view/textclassifier/TextClassifier$EntityConfig; | 921 | ····invoke-virtual·{v1},·Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder;->build()Landroid/view/textclassifier/TextClassifier$EntityConfig; |
| |
922 | ····move-result-object·p2 | 922 | ····move-result-object·p2 |
| |
923 | ····invoke-virtual·{p1,·p2},·Landroid/view/textclassifier/ConversationActions$Request$Builder;->setTypeConfig(Landroid/view/textclassifier/TextClassifier$EntityConfig;)Landroid/view/textclassifier/ConversationActions$Request$Builder; | 923 | ····invoke-virtual·{p1,·p2},·Landroid/view/textclassifier/ConversationActions$Request$Builder;->setTypeConfig(Landroid/view/textclassifier/TextClassifier$EntityConfig;)Landroid/view/textclassifier/ConversationActions$Request$Builder; |
| |
924 | ····move-result-object·p1 | 924 | ····move-result-object·p1 |
| |
925 | ····.line·300 | 925 | ····.line·305 |
926 | ····invoke-virtual·{p1},·Landroid/view/textclassifier/ConversationActions$Request$Builder;->build()Landroid/view/textclassifier/ConversationActions$Request; | 926 | ····invoke-virtual·{p1},·Landroid/view/textclassifier/ConversationActions$Request$Builder;->build()Landroid/view/textclassifier/ConversationActions$Request; |
| |
927 | ····move-result-object·p1 | 927 | ····move-result-object·p1 |
| |
928 | ····.line·302 | 928 | ····.line·307 |
929 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->createTextClassificationSession()Landroid/view/textclassifier/TextClassifier; | 929 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->createTextClassificationSession()Landroid/view/textclassifier/TextClassifier; |
| |
930 | ····move-result-object·p0 | 930 | ····move-result-object·p0 |
| |
931 | ····.line·303 | 931 | ····.line·308 |
932 | ····new-instance·p2,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult; | 932 | ····new-instance·p2,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult; |
| |
933 | ····.line·304 | 933 | ····.line·309 |
934 | ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional; | 934 | ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional; |
| |
935 | ····move-result-object·p3 | 935 | ····move-result-object·p3 |
| |
936 | ····invoke-interface·{p0,·p1},·Landroid/view/textclassifier/TextClassifier;->suggestConversationActions(Landroid/view/textclassifier/ConversationActions$Request;)Landroid/view/textclassifier/ConversationActions; | 936 | ····invoke-interface·{p0,·p1},·Landroid/view/textclassifier/TextClassifier;->suggestConversationActions(Landroid/view/textclassifier/ConversationActions$Request;)Landroid/view/textclassifier/ConversationActions; |
| |
937 | ····move-result-object·p0 | 937 | ····move-result-object·p0 |
Offset 1040, 71 lines modified | Offset 1040, 71 lines modified |
| |
1040 | ····return-object·p2 | 1040 | ····return-object·p2 |
1041 | .end·method | 1041 | .end·method |
| |
1042 | .method·private·static·suggestionsMightBeUsedInNotification(Landroid/service/notification/StatusBarNotification;ZZ)Z | 1042 | .method·private·static·suggestionsMightBeUsedInNotification(Landroid/service/notification/StatusBarNotification;ZZ)Z |
1043 | ····.locals·5 | 1043 | ····.locals·5 |
| |
1044 | ····.line·242 | 1044 | ····.line·247 |
1045 | ····invoke-virtual·{p0},·Landroid/service/notification/StatusBarNotification;->getNotification()Landroid/app/Notification; | 1045 | ····invoke-virtual·{p0},·Landroid/service/notification/StatusBarNotification;->getNotification()Landroid/app/Notification; |
| |
1046 | ····move-result-object·p0 | 1046 | ····move-result-object·p0 |
| |
1047 | ····.line·243 | 1047 | ····.line·248 |
1048 | ····invoke-virtual·{p0},·Landroid/app/Notification;->getContextualActions()Ljava/util/List; | 1048 | ····invoke-virtual·{p0},·Landroid/app/Notification;->getContextualActions()Ljava/util/List; |
| |
1049 | ····move-result-object·v0 | 1049 | ····move-result-object·v0 |
| |
1050 | ····invoke-interface·{v0},·Ljava/util/List;->isEmpty()Z | 1050 | ····invoke-interface·{v0},·Ljava/util/List;->isEmpty()Z |
| |
1051 | ····move-result·v0 | 1051 | ····move-result·v0 |
| |
1052 | ····const/4·v1,·0x1 | 1052 | ····const/4·v1,·0x1 |
| |
1053 | ····xor-int/2addr·v0,·v1 | 1053 | ····xor-int/2addr·v0,·v1 |
| |
1054 | ····.line·246 | 1054 | ····.line·251 |
1055 | ····invoke-virtual·{p0,·v1},·Landroid/app/Notification;->findRemoteInputActionPair(Z)Landroid/util/Pair; | 1055 | ····invoke-virtual·{p0,·v1},·Landroid/app/Notification;->findRemoteInputActionPair(Z)Landroid/util/Pair; |
| |
1056 | ····move-result-object·v2 | 1056 | ····move-result-object·v2 |
| |
1057 | ····const/4·v3,·0x0 | 1057 | ····const/4·v3,·0x0 |
| |
1058 | ····if-eqz·v2,·:cond_1 | 1058 | ····if-eqz·v2,·:cond_1 |
| |
1059 | ····.line·250 | 1059 | ····.line·255 |
1060 | ····iget-object·v4,·v2,·Landroid/util/Pair;->first:Ljava/lang/Object; | 1060 | ····iget-object·v4,·v2,·Landroid/util/Pair;->first:Ljava/lang/Object; |
| |
1061 | ····check-cast·v4,·Landroid/app/RemoteInput; | 1061 | ····check-cast·v4,·Landroid/app/RemoteInput; |
| |
1062 | ····.line·251 | 1062 | ····.line·256 |
1063 | ····iget-object·v2,·v2,·Landroid/util/Pair;->second:Ljava/lang/Object; | 1063 | ····iget-object·v2,·v2,·Landroid/util/Pair;->second:Ljava/lang/Object; |
| |
1064 | ····check-cast·v2,·Landroid/app/Notification$Action; | 1064 | ····check-cast·v2,·Landroid/app/Notification$Action; |
| |
1065 | ····.line·252 | 1065 | ····.line·257 |
1066 | ····invoke-virtual·{v4},·Landroid/app/RemoteInput;->getChoices()[Ljava/lang/CharSequence; | 1066 | ····invoke-virtual·{v4},·Landroid/app/RemoteInput;->getChoices()[Ljava/lang/CharSequence; |
| |
1067 | ····move-result-object·v4 | 1067 | ····move-result-object·v4 |
| |
1068 | ····if-eqz·v4,·:cond_0 | 1068 | ····if-eqz·v4,·:cond_0 |
| |
1069 | ····.line·253 | 1069 | ····.line·258 |
1070 | ····array-length·v4,·v4 | 1070 | ····array-length·v4,·v4 |
| |
1071 | ····if-lez·v4,·:cond_0 | 1071 | ····if-lez·v4,·:cond_0 |
| |
1072 | ····move·v4,·v1 | 1072 | ····move·v4,·v1 |
| |
1073 | ····goto·:goto_0 | 1073 | ····goto·:goto_0 |
| |
1074 | ····:cond_0 | 1074 | ····:cond_0 |
1075 | ····move·v4,·v3 | 1075 | ····move·v4,·v3 |
| |
1076 | ····.line·254 | 1076 | ····.line·259 |
1077 | ····:goto_0 | 1077 | ····:goto_0 |
1078 | ····invoke-virtual·{v2},·Landroid/app/Notification$Action;->getAllowGeneratedReplies()Z | 1078 | ····invoke-virtual·{v2},·Landroid/app/Notification$Action;->getAllowGeneratedReplies()Z |
| |
1079 | ····move-result·v2 | 1079 | ····move-result·v2 |
| |
1080 | ····goto·:goto_1 | 1080 | ····goto·:goto_1 |
| |
Offset 1119, 15 lines modified | Offset 1119, 15 lines modified |
1119 | ····if-eqz·v0,·:cond_2 | 1119 | ····if-eqz·v0,·:cond_2 |
| |
1120 | ····goto·:goto_3 | 1120 | ····goto·:goto_3 |
| |
1121 | ····:cond_2 | 1121 | ····:cond_2 |
1122 | ····if-eqz·p1,·:cond_3 | 1122 | ····if-eqz·p1,·:cond_3 |
| |
1123 | ····.line·260 | 1123 | ····.line·265 |
1124 | ····invoke-virtual·{p0},·Landroid/app/Notification;->getAllowSystemGeneratedContextualActions()Z | 1124 | ····invoke-virtual·{p0},·Landroid/app/Notification;->getAllowSystemGeneratedContextualActions()Z |
| |
1125 | ····move-result·p0 | 1125 | ····move-result·p0 |
| |
1126 | ····if-nez·p0,·:cond_5 | 1126 | ····if-nez·p0,·:cond_5 |
| |
1127 | ····:cond_3 | 1127 | ····:cond_3 |
Offset 1150, 15 lines modified | Offset 1150, 15 lines modified |
1150 | .end·method | 1150 | .end·method |
| |
Max diff block lines reached; 11732/45531 bytes (25.77%) of diff not shown.
|