Offset 48, 25 lines modifiedOffset 48, 25 lines modified
  
48 #·direct·methods48 #·direct·methods
49 .method·static·constructor·<clinit>()V49 .method·static·constructor·<clinit>()V
50 ····.locals·550 ····.locals·5
  
51 ····const-string·v0,·"notification"51 ····const-string·v0,·"notification"
  
52 ····.line·8052 ····.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·v054 ····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·8156 ····.line·83
57 ····new-instance·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult;57 ····new-instance·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult;
  
58 ····.line·8358 ····.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·v160 ····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 modifiedOffset 83, 99 lines modified
  
83 ····return-void83 ····return-void
84 .end·method84 .end·method
  
85 .method·public·constructor·<init>(Landroid/content/Context;Lcom/android/textclassifier/notification/SmartSuggestionsConfig;)V85 .method·public·constructor·<init>(Landroid/content/Context;Lcom/android/textclassifier/notification/SmartSuggestionsConfig;)V
86 ····.locals·286 ····.locals·2
  
87 ····.line·10187 ····.line·103
88 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V88 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
89 ····.line·8889 ····.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,·0x1491 ····const/16·v1,·0x14
  
92 ····invoke-direct·{v0,·p0,·v1},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$1;-><init>(Lcom/android/textclassifier/notification/SmartSuggestionsHelper;I)V92 ····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·10294 ····.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·10396 ····.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·v099 ····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·104102 ····.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·105104 ····.line·107
105 ····new-instance·p2,·Landroid/view/textclassifier/TextClassificationContext$Builder;105 ····new-instance·p2,·Landroid/view/textclassifier/TextClassificationContext$Builder;
  
106 ····.line·107106 ····.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·p1108 ····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;)V110 ····invoke-direct·{p2,·p1,·v0},·Landroid/view/textclassifier/TextClassificationContext$Builder;-><init>(Ljava/lang/String;Ljava/lang/String;)V
  
111 ····.line·108111 ····.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·p1113 ····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-void115 ····return-void
116 .end·method116 .end·method
  
117 .method·private·static·arePersonsEqual(Landroid/app/Person;Landroid/app/Person;)Z117 .method·private·static·arePersonsEqual(Landroid/app/Person;Landroid/app/Person;)Z
118 ····.locals·2118 ····.locals·2
  
119 ····.line·474119 ····.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·v0121 ····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·v1123 ····move-result-object·v1
  
124 ····invoke-static·{v0,·v1},·Ljava/util/Objects;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z124 ····invoke-static·{v0,·v1},·Ljava/util/Objects;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
  
125 ····move-result·v0125 ····move-result·v0
  
126 ····if-eqz·v0,·:cond_0126 ····if-eqz·v0,·:cond_0
  
127 ····.line·475127 ····.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·v0129 ····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·v1131 ····move-result-object·v1
  
132 ····invoke-static·{v0,·v1},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z132 ····invoke-static·{v0,·v1},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
  
133 ····move-result·v0133 ····move-result·v0
  
134 ····if-eqz·v0,·:cond_0134 ····if-eqz·v0,·:cond_0
  
135 ····.line·476135 ····.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·p0137 ····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·p1139 ····move-result-object·p1
Offset 196, 22 lines modifiedOffset 196, 22 lines modified
196 ····:goto_0196 ····:goto_0
197 ····return·p0197 ····return·p0
198 .end·method198 .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·8200 ····.locals·8
  
201 ····.line·205201 ····.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·v0203 ····move-result-object·v0
  
204 ····const-string·v1,·"entities-extras"204 ····const-string·v1,·"entities-extras"
  
205 ····.line·206205 ····.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·v0207 ····move-result-object·v0
  
208 ····check-cast·v0,·Landroid/os/Bundle;208 ····check-cast·v0,·Landroid/os/Bundle;
  
209 ····const/4·v1,·0x0209 ····const/4·v1,·0x0
Offset 219, 29 lines modifiedOffset 219, 29 lines modified
219 ····if-nez·v0,·:cond_0219 ····if-nez·v0,·:cond_0
  
220 ····return-object·v1220 ····return-object·v1
  
221 ····:cond_0221 ····:cond_0
222 ····const-string·v2,·"text"222 ····const-string·v2,·"text"
  
223 ····.line·210223 ····.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·v0225 ····move-result-object·v0
  
226 ····.line·211226 ····.line·216
227 ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z227 ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
  
228 ····move-result·v2228 ····move-result·v2
  
229 ····if-eqz·v2,·:cond_1229 ····if-eqz·v2,·:cond_1
  
230 ····return-object·v1230 ····return-object·v1
  
231 ····.line·214231 ····.line·219
232 ····:cond_1232 ····: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:I234 ····sget·v2,·Lcom/android/textclassifier/notification/R$string;->tc_notif_copy_code_desc:I
  
235 ····const/4·v3,·0x1235 ····const/4·v3,·0x1
  
Offset 251, 165 lines modifiedOffset 251, 165 lines modified
  
251 ····aput-object·v0,·v3,·v4251 ····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·v1253 ····move-result-object·v1
  
254 ····.line·215254 ····.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;)V258 ····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·216260 ····.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·218262 ····.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:I265 ····sget·v5,·Lcom/android/textclassifier/notification/R$drawable;->tc_notif_ic_menu_copy_material:I
  
266 ····.line·220266 ····.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·v4268 ····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·224270 ····.line·229
271 ····invoke-virtual·{v0},·Ljava/lang/String;->hashCode()I271 ····invoke-virtual·{v0},·Ljava/lang/String;->hashCode()I
  
272 ····move-result·v6272 ····move-result·v6
  
273 ····const/high16·v7,·0x8000000273 ····const/high16·v7,·0x8000000
  
274 ····.line·223274 ····.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·v2276 ····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;)V277 ····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·227278 ····.line·232
279 ····invoke-virtual·{p1},·Landroid/view/textclassifier/ConversationAction;->getConfidenceScore()F279 ····invoke-virtual·{p1},·Landroid/view/textclassifier/ConversationAction;->getConfidenceScore()F
  
280 ····move-result·p1280 ····move-result·p1
  
281 ····const-string·v0,·"copy"281 ····const-string·v0,·"copy"
  
282 ····.line·226282 ····.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·p0284 ····move-result-object·p0
  
285 ····return-object·p0285 ····return-object·p0
286 .end·method286 .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·2288 ····.locals·2
  
289 ····.line·369289 ····.line·374
290 ····invoke-virtual·{p1},·Landroid/app/RemoteAction;->shouldShowIcon()Z290 ····invoke-virtual·{p1},·Landroid/app/RemoteAction;->shouldShowIcon()Z
  
291 ····move-result·v0291 ····move-result·v0
  
292 ····if-eqz·v0,·:cond_0292 ····if-eqz·v0,·:cond_0
  
293 ····.line·370293 ····.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·p0295 ····move-result-object·p0
  
296 ····goto·:goto_0296 ····goto·:goto_0
  
297 ····.line·371297 ····.line·376
298 ····:cond_0298 ····: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:I300 ····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·p0302 ····move-result-object·p0
  
303 ····.line·372303 ····.line·377
304 ····:goto_0304 ····:goto_0
305 ····new-instance·v0,·Landroid/os/Bundle;305 ····new-instance·v0,·Landroid/os/Bundle;
  
306 ····invoke-direct·{v0},·Landroid/os/Bundle;-><init>()V306 ····invoke-direct·{v0},·Landroid/os/Bundle;-><init>()V
  
307 ····const-string·v1,·"action_type"307 ····const-string·v1,·"action_type"
  
308 ····.line·373308 ····.line·378
309 ····invoke-virtual·{v0,·v1,·p2},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V309 ····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·374311 ····.line·379
312 ····invoke-virtual·{v0,·p2,·p3},·Landroid/os/Bundle;->putFloat(Ljava/lang/String;F)V312 ····invoke-virtual·{v0,·p2,·p3},·Landroid/os/Bundle;->putFloat(Ljava/lang/String;F)V
  
313 ····.line·375313 ····.line·380
314 ····new-instance·p2,·Landroid/app/Notification$Action$Builder;314 ····new-instance·p2,·Landroid/app/Notification$Action$Builder;
  
315 ····.line·376315 ····.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·p3317 ····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·p1319 ····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;)V320 ····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,·0x1321 ····const/4·p0,·0x1
  
322 ····.line·377322 ····.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·p0324 ····move-result-object·p0
  
325 ····.line·378325 ····.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·p0327 ····move-result-object·p0
  
328 ····.line·379328 ····.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·p0330 ····move-result-object·p0
  
331 ····return-object·p0331 ····return-object·p0
332 .end·method332 .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·2334 ····.locals·2
  
335 ····.line·197335 ····.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·v0337 ····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;)Z339 ····invoke-virtual·{v1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
340 ····move-result·v0340 ····move-result·v0
  
341 ····if-eqz·v0,·:cond_0341 ····if-eqz·v0,·:cond_0
  
342 ····.line·198342 ····.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·p0344 ····move-result-object·p0
  
345 ····return-object·p0345 ····return-object·p0
  
346 ····:cond_0346 ····:cond_0
Offset 427, 41 lines modifiedOffset 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·annotation432 ····.end·annotation
  
433 ····.line·428433 ····.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·430436 ····.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·v0438 ····move-result-object·v0
  
439 ····.line·429439 ····.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·v0441 ····move-result-object·v0
  
442 ····if-eqz·v0,·:cond_7442 ····if-eqz·v0,·:cond_7
  
443 ····.line·431443 ····.line·436
444 ····invoke-interface·{v0},·Ljava/util/List;->isEmpty()Z444 ····invoke-interface·{v0},·Ljava/util/List;->isEmpty()Z
  
445 ····move-result·v1445 ····move-result·v1
  
446 ····if-eqz·v1,·:cond_0446 ····if-eqz·v1,·:cond_0
  
447 ····goto/16·:goto_3447 ····goto/16·:goto_3
  
448 ····.line·437448 ····.line·442
449 ····:cond_0449 ····: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 modifiedOffset 471, 86 lines modified
  
471 ····if-nez·p1,·:cond_1471 ····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·439474 ····.line·444
475 ····invoke-static·{p0,·p1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I475 ····invoke-static·{p0,·p1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
  
476 ····.line·440476 ····.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·p0478 ····move-result-object·p0
  
479 ····return-object·p0479 ····return-object·p0
  
480 ····.line·442480 ····.line·447
481 ····:cond_1481 ····:cond_1
482 ····new-instance·v1,·Ljava/util/ArrayDeque;482 ····new-instance·v1,·Ljava/util/ArrayDeque;
  
483 ····invoke-direct·{v1},·Ljava/util/ArrayDeque;-><init>()V483 ····invoke-direct·{v1},·Ljava/util/ArrayDeque;-><init>()V
  
484 ····.line·443484 ····.line·448
485 ····invoke-interface·{v0},·Ljava/util/List;->size()I485 ····invoke-interface·{v0},·Ljava/util/List;->size()I
  
486 ····move-result·v2486 ····move-result·v2
  
487 ····add-int/lit8·v2,·v2,·-0x1487 ····add-int/lit8·v2,·v2,·-0x1
  
488 ····:goto_0488 ····:goto_0
489 ····if-ltz·v2,·:cond_6489 ····if-ltz·v2,·:cond_6
  
490 ····.line·444490 ····.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·v3492 ····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_2494 ····if-nez·v3,·:cond_2
  
495 ····goto·:goto_1495 ····goto·:goto_1
  
496 ····.line·448496 ····.line·453
497 ····:cond_2497 ····: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·v4499 ····move-result-object·v4
  
500 ····if-eqz·v4,·:cond_3500 ····if-eqz·v4,·:cond_3
  
501 ····.line·452501 ····.line·457
502 ····invoke-static·{p1,·v4},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->arePersonsEqual(Landroid/app/Person;Landroid/app/Person;)Z502 ····invoke-static·{p1,·v4},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->arePersonsEqual(Landroid/app/Person;Landroid/app/Person;)Z
  
503 ····move-result·v5503 ····move-result·v5
  
504 ····if-eqz·v5,·:cond_4504 ····if-eqz·v5,·:cond_4
  
505 ····.line·453505 ····.line·458
506 ····:cond_3506 ····: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·455508 ····.line·460
509 ····:cond_4509 ····: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;)V511 ····invoke-direct·{v5,·v4},·Landroid/view/textclassifier/ConversationActions$Message$Builder;-><init>(Landroid/app/Person;)V
  
512 ····.line·457512 ····.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·v4514 ····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·v4516 ····move-result-object·v4
  
517 ····.line·459517 ····.line·464
518 ····invoke-virtual·{v3},·Landroid/app/Notification$MessagingStyle$Message;->getTimestamp()J518 ····invoke-virtual·{v3},·Landroid/app/Notification$MessagingStyle$Message;->getTimestamp()J
  
519 ····move-result-wide·v5519 ····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·v3521 ····move-result-object·v3
Offset 559, 28 lines modifiedOffset 559, 28 lines modified
  
559 ····move-result-object·v5559 ····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·v3561 ····move-result-object·v3
  
562 ····.line·458562 ····.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·v3564 ····move-result-object·v3
  
565 ····.line·460565 ····.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·v3567 ····move-result-object·v3
  
568 ····.line·455568 ····.line·460
569 ····invoke-interface·{v1,·v3},·Ljava/util/Deque;->push(Ljava/lang/Object;)V569 ····invoke-interface·{v1,·v3},·Ljava/util/Deque;->push(Ljava/lang/Object;)V
  
570 ····.line·461570 ····.line·466
571 ····invoke-interface·{v1},·Ljava/util/Deque;->size()I571 ····invoke-interface·{v1},·Ljava/util/Deque;->size()I
  
572 ····move-result·v3572 ····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()I574 ····invoke-interface·{v4},·Lcom/android/textclassifier/notification/SmartSuggestionsConfig;->getMaxMessagesToExtract()I
Offset 593, 71 lines modifiedOffset 593, 71 lines modified
  
593 ····:cond_5593 ····:cond_5
594 ····:goto_1594 ····:goto_1
595 ····add-int/lit8·v2,·v2,·-0x1595 ····add-int/lit8·v2,·v2,·-0x1
  
596 ····goto·:goto_0596 ····goto·:goto_0
  
597 ····.line·465597 ····.line·470
598 ····:cond_6598 ····:cond_6
599 ····:goto_2599 ····: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;)V601 ····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·p0603 ····move-result-object·p0
  
604 ····return-object·p0604 ····return-object·p0
  
605 ····.line·432605 ····.line·437
606 ····:cond_7606 ····:cond_7
607 ····:goto_3607 ····: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;)V610 ····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·434613 ····.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·p1615 ····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·p0617 ····move-result-object·p0
  
618 ····.line·435618 ····.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·p0620 ····move-result-object·p0
  
621 ····.line·432621 ····.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·p0623 ····move-result-object·p0
  
624 ····return-object·p0624 ····return-object·p0
625 .end·method625 .end·method
  
626 .method·private·static·isEligibleForActionAdjustment(Landroid/service/notification/StatusBarNotification;)Z626 .method·private·static·isEligibleForActionAdjustment(Landroid/service/notification/StatusBarNotification;)Z
627 ····.locals·3627 ····.locals·3
  
628 ····.line·391628 ····.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·v0630 ····move-result-object·v0
  
631 ····.line·392631 ····.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·v1633 ····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·v2635 ····move-result-object·v2
Offset 668, 30 lines modifiedOffset 668, 30 lines modified
  
668 ····const/4·v2,·0x0668 ····const/4·v2,·0x0
  
669 ····if-nez·v1,·:cond_0669 ····if-nez·v1,·:cond_0
  
670 ····return·v2670 ····return·v2
  
671 ····.line·395671 ····.line·400
672 ····:cond_0672 ····: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·v1674 ····move-result-object·v1
  
675 ····.line·396675 ····.line·401
676 ····iget·v1,·v1,·Landroid/app/Notification;->flags:I676 ····iget·v1,·v1,·Landroid/app/Notification;->flags:I
  
677 ····and-int/lit16·v1,·v1,·0x262677 ····and-int/lit16·v1,·v1,·0x262
  
678 ····if-eqz·v1,·:cond_1678 ····if-eqz·v1,·:cond_1
  
679 ····return·v2679 ····return·v2
  
680 ····.line·399680 ····.line·404
681 ····:cond_1681 ····:cond_1
682 ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z682 ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
  
683 ····move-result·v1683 ····move-result·v1
  
684 ····if-nez·v1,·:cond_3684 ····if-nez·v1,·:cond_3
  
Offset 701, 15 lines modifiedOffset 701, 15 lines modified
  
701 ····move-result·v0701 ····move-result·v0
  
702 ····if-eqz·v0,·:cond_2702 ····if-eqz·v0,·:cond_2
  
703 ····goto·:goto_0703 ····goto·:goto_0
  
704 ····.line·403704 ····.line·408
705 ····:cond_2705 ····:cond_2
706 ····invoke-static·{p0},·Lcom/android/textclassifier/notification/NotificationUtils;->isMessaging(Landroid/service/notification/StatusBarNotification;)Z706 ····invoke-static·{p0},·Lcom/android/textclassifier/notification/NotificationUtils;->isMessaging(Landroid/service/notification/StatusBarNotification;)Z
  
707 ····move-result·p0707 ····move-result·p0
  
708 ····return·p0708 ····return·p0
  
Offset 717, 15 lines modifiedOffset 717, 15 lines modified
717 ····:goto_0717 ····:goto_0
718 ····return·v2718 ····return·v2
719 .end·method719 .end·method
  
720 .method·private·static·isEligibleForReplyAdjustment(Landroid/service/notification/StatusBarNotification;)Z720 .method·private·static·isEligibleForReplyAdjustment(Landroid/service/notification/StatusBarNotification;)Z
721 ····.locals·3721 ····.locals·3
  
722 ····.line·407722 ····.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·v0724 ····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·v1726 ····move-result-object·v1
Offset 736, 21 lines modifiedOffset 736, 21 lines modified
  
736 ····const/4·v1,·0x0736 ····const/4·v1,·0x0
  
737 ····if-nez·v0,·:cond_0737 ····if-nez·v0,·:cond_0
  
738 ····return·v1738 ····return·v1
  
739 ····.line·410739 ····.line·415
740 ····:cond_0740 ····: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·v0742 ····move-result-object·v0
  
743 ····.line·411743 ····.line·416
744 ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z744 ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
  
745 ····move-result·v2745 ····move-result·v2
  
746 ····if-nez·v2,·:cond_4746 ····if-nez·v2,·:cond_4
  
747 ····const-string·v2,·"android"747 ····const-string·v2,·"android"
Offset 759, 25 lines modifiedOffset 759, 25 lines modified
  
759 ····move-result·v0759 ····move-result·v0
  
760 ····if-eqz·v0,·:cond_1760 ····if-eqz·v0,·:cond_1
  
761 ····goto·:goto_0761 ····goto·:goto_0
  
762 ····.line·415762 ····.line·420
763 ····:cond_1763 ····:cond_1
764 ····invoke-static·{p0},·Lcom/android/textclassifier/notification/NotificationUtils;->isMessaging(Landroid/service/notification/StatusBarNotification;)Z764 ····invoke-static·{p0},·Lcom/android/textclassifier/notification/NotificationUtils;->isMessaging(Landroid/service/notification/StatusBarNotification;)Z
  
765 ····move-result·v0765 ····move-result·v0
  
766 ····if-nez·v0,·:cond_2766 ····if-nez·v0,·:cond_2
  
767 ····return·v1767 ····return·v1
  
768 ····.line·420768 ····.line·425
769 ····:cond_2769 ····:cond_2
770 ····invoke-static·{p0},·Lcom/android/textclassifier/notification/NotificationUtils;->hasInlineReply(Landroid/service/notification/StatusBarNotification;)Z770 ····invoke-static·{p0},·Lcom/android/textclassifier/notification/NotificationUtils;->hasInlineReply(Landroid/service/notification/StatusBarNotification;)Z
  
771 ····move-result·p0771 ····move-result·p0
  
772 ····if-nez·p0,·:cond_3772 ····if-nez·p0,·:cond_3
  
Offset 792, 246 lines modifiedOffset 792, 246 lines modified
792 ····:goto_0792 ····:goto_0
793 ····return·v1793 ····return·v1
794 .end·method794 .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;)V795 .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·2796 ····.locals·2
  
797 ····.line·167797 ····.line·169
798 ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z798 ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
  
799 ····move-result·v0799 ····move-result·v0
  
800 ····if-eqz·v0,·:cond_0800 ····if-eqz·v0,·:cond_0
  
801 ····.line·169801 ····.line·171
802 ····invoke-interface·{p7},·Landroid/view/textclassifier/TextClassifier;->destroy()V802 ····invoke-interface·{p7},·Landroid/view/textclassifier/TextClassifier;->destroy()V
  
803 ····goto·:goto_0803 ····goto·:goto_0
  
804 ····.line·171804 ····.line·173
805 ····:cond_0805 ····: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;)V808 ····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·174809 ····.line·179
810 ····invoke-virtual·{v0,·p3},·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;->onSuggestionsGenerated(Ljava/util/List;)V810 ····invoke-virtual·{v0,·p3},·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;->onSuggestionsGenerated(Ljava/util/List;)V
  
811 ····.line·177811 ····.line·182
812 ····invoke-interface·{p3},·Ljava/util/List;->isEmpty()Z812 ····invoke-interface·{p3},·Ljava/util/List;->isEmpty()Z
  
813 ····move-result·p1813 ····move-result·p1
  
814 ····if-nez·p1,·:cond_1814 ····if-nez·p1,·:cond_1
  
815 ····.line·179815 ····.line·184
816 ····invoke-virtual·{p5},·Ljava/util/ArrayList;->isEmpty()Z816 ····invoke-virtual·{p5},·Ljava/util/ArrayList;->isEmpty()Z
  
817 ····move-result·p1817 ····move-result·p1
  
818 ····xor-int/lit8·p1,·p1,·0x1818 ····xor-int/lit8·p1,·p1,·0x1
  
819 ····invoke-virtual·{p6},·Ljava/util/ArrayList;->isEmpty()Z819 ····invoke-virtual·{p6},·Ljava/util/ArrayList;->isEmpty()Z
  
820 ····move-result·p2820 ····move-result·p2
  
821 ····xor-int/lit8·p2,·p2,·0x1821 ····xor-int/lit8·p2,·p2,·0x1
  
822 ····.line·178822 ····.line·183
823 ····invoke-static·{p4,·p1,·p2},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->suggestionsMightBeUsedInNotification(Landroid/service/notification/StatusBarNotification;ZZ)Z823 ····invoke-static·{p4,·p1,·p2},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->suggestionsMightBeUsedInNotification(Landroid/service/notification/StatusBarNotification;ZZ)Z
  
824 ····move-result·p1824 ····move-result·p1
  
825 ····if-eqz·p1,·:cond_1825 ····if-eqz·p1,·:cond_1
  
826 ····.line·180826 ····.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·p1829 ····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_0831 ····goto·:goto_0
  
832 ····.line·182832 ····.line·187
833 ····:cond_1833 ····:cond_1
834 ····invoke-virtual·{v0},·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;->destroy()V834 ····invoke-virtual·{v0},·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;->destroy()V
  
835 ····:goto_0835 ····:goto_0
836 ····return-void836 ····return-void
837 .end·method837 .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·3839 ····.locals·3
  
840 ····if-nez·p2,·:cond_0840 ····if-nez·p2,·:cond_0
  
841 ····if-nez·p3,·:cond_0841 ····if-nez·p3,·:cond_0
  
842 ····.line·268842 ····.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·p0844 ····return-object·p0
  
845 ····.line·271845 ····.line·276
846 ····:cond_0846 ····: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·v0848 ····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·v0850 ····move-result-object·v0
  
851 ····.line·272851 ····.line·277
852 ····invoke-virtual·{v0},·Ljava/util/AbstractCollection;->isEmpty()Z852 ····invoke-virtual·{v0},·Ljava/util/AbstractCollection;->isEmpty()Z
  
853 ····move-result·v1853 ····move-result·v1
  
854 ····if-eqz·v1,·:cond_1854 ····if-eqz·v1,·:cond_1
  
855 ····.line·273855 ····.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·p0857 ····return-object·p0
  
858 ····.line·276858 ····.line·281
859 ····:cond_1859 ····: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·v1861 ····move-result-object·v1
  
862 ····check-cast·v1,·Landroid/view/textclassifier/ConversationActions$Message;862 ····check-cast·v1,·Landroid/view/textclassifier/ConversationActions$Message;
  
863 ····.line·277863 ····.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·v1866 ····move-result-object·v1
  
867 ····invoke-static·{v2,·v1},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->arePersonsEqual(Landroid/app/Person;Landroid/app/Person;)Z867 ····invoke-static·{v2,·v1},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->arePersonsEqual(Landroid/app/Person;Landroid/app/Person;)Z
  
868 ····move-result·v1868 ····move-result·v1
  
869 ····if-eqz·v1,·:cond_2869 ····if-eqz·v1,·:cond_2
  
870 ····.line·278870 ····.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·p0872 ····return-object·p0
  
873 ····.line·281873 ····.line·286
874 ····:cond_2874 ····: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>()V876 ····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_3878 ····if-nez·p2,·:cond_3
  
879 ····.line·284879 ····.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·p2881 ····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_0883 ····goto·:goto_0
  
884 ····:cond_3884 ····:cond_3
885 ····if-nez·p3,·:cond_4885 ····if-nez·p3,·:cond_4
  
886 ····.line·287886 ····.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·p2888 ····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·p2890 ····move-result-object·p2
  
891 ····const/4·p3,·0x0891 ····const/4·p3,·0x0
  
892 ····.line·288892 ····.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·292894 ····.line·297
895 ····:cond_4895 ····:cond_4
896 ····:goto_0896 ····:goto_0
897 ····new-instance·p2,·Landroid/os/Bundle;897 ····new-instance·p2,·Landroid/os/Bundle;
  
898 ····invoke-direct·{p2},·Landroid/os/Bundle;-><init>()V898 ····invoke-direct·{p2},·Landroid/os/Bundle;-><init>()V
  
899 ····.line·293899 ····.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·p1901 ····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;)V903 ····invoke-virtual·{p2,·p3,·p1},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
  
904 ····.line·294904 ····.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;)V906 ····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·296908 ····.line·301
909 ····invoke-interface·{p3},·Lcom/android/textclassifier/notification/SmartSuggestionsConfig;->getMaxSuggestions()I909 ····invoke-interface·{p3},·Lcom/android/textclassifier/notification/SmartSuggestionsConfig;->getMaxSuggestions()I
  
910 ····move-result·p3910 ····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·p1912 ····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·297914 ····.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·p1916 ····move-result-object·p1
  
917 ····.line·298917 ····.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·p1919 ····move-result-object·p1
  
920 ····.line·299920 ····.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·p2922 ····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·p1924 ····move-result-object·p1
  
925 ····.line·300925 ····.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·p1927 ····move-result-object·p1
  
928 ····.line·302928 ····.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·p0930 ····move-result-object·p0
  
931 ····.line·303931 ····.line·308
932 ····new-instance·p2,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult;932 ····new-instance·p2,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult;
  
933 ····.line·304933 ····.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·p3935 ····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·p0937 ····move-result-object·p0
Offset 1040, 71 lines modifiedOffset 1040, 71 lines modified
  
1040 ····return-object·p21040 ····return-object·p2
1041 .end·method1041 .end·method
  
1042 .method·private·static·suggestionsMightBeUsedInNotification(Landroid/service/notification/StatusBarNotification;ZZ)Z1042 .method·private·static·suggestionsMightBeUsedInNotification(Landroid/service/notification/StatusBarNotification;ZZ)Z
1043 ····.locals·51043 ····.locals·5
  
1044 ····.line·2421044 ····.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·p01046 ····move-result-object·p0
  
1047 ····.line·2431047 ····.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·v01049 ····move-result-object·v0
  
1050 ····invoke-interface·{v0},·Ljava/util/List;->isEmpty()Z1050 ····invoke-interface·{v0},·Ljava/util/List;->isEmpty()Z
  
1051 ····move-result·v01051 ····move-result·v0
  
1052 ····const/4·v1,·0x11052 ····const/4·v1,·0x1
  
1053 ····xor-int/2addr·v0,·v11053 ····xor-int/2addr·v0,·v1
  
1054 ····.line·2461054 ····.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·v21056 ····move-result-object·v2
  
1057 ····const/4·v3,·0x01057 ····const/4·v3,·0x0
  
1058 ····if-eqz·v2,·:cond_11058 ····if-eqz·v2,·:cond_1
  
1059 ····.line·2501059 ····.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·2511062 ····.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·2521065 ····.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·v41067 ····move-result-object·v4
  
1068 ····if-eqz·v4,·:cond_01068 ····if-eqz·v4,·:cond_0
  
1069 ····.line·2531069 ····.line·258
1070 ····array-length·v4,·v41070 ····array-length·v4,·v4
  
1071 ····if-lez·v4,·:cond_01071 ····if-lez·v4,·:cond_0
  
1072 ····move·v4,·v11072 ····move·v4,·v1
  
1073 ····goto·:goto_01073 ····goto·:goto_0
  
1074 ····:cond_01074 ····:cond_0
1075 ····move·v4,·v31075 ····move·v4,·v3
  
1076 ····.line·2541076 ····.line·259
1077 ····:goto_01077 ····:goto_0
1078 ····invoke-virtual·{v2},·Landroid/app/Notification$Action;->getAllowGeneratedReplies()Z1078 ····invoke-virtual·{v2},·Landroid/app/Notification$Action;->getAllowGeneratedReplies()Z
  
1079 ····move-result·v21079 ····move-result·v2
  
1080 ····goto·:goto_11080 ····goto·:goto_1
  
Offset 1119, 15 lines modifiedOffset 1119, 15 lines modified
1119 ····if-eqz·v0,·:cond_21119 ····if-eqz·v0,·:cond_2
  
1120 ····goto·:goto_31120 ····goto·:goto_3
  
1121 ····:cond_21121 ····:cond_2
1122 ····if-eqz·p1,·:cond_31122 ····if-eqz·p1,·:cond_3
  
1123 ····.line·2601123 ····.line·265
1124 ····invoke-virtual·{p0},·Landroid/app/Notification;->getAllowSystemGeneratedContextualActions()Z1124 ····invoke-virtual·{p0},·Landroid/app/Notification;->getAllowSystemGeneratedContextualActions()Z
  
1125 ····move-result·p01125 ····move-result·p0
  
1126 ····if-nez·p0,·:cond_51126 ····if-nez·p0,·:cond_5
  
1127 ····:cond_31127 ····:cond_3
Offset 1150, 15 lines modifiedOffset 1150, 15 lines modified
1150 .end·method1150 .end·method
  
Max diff block lines reached; 11732/45531 bytes (25.77%) of diff not shown.