| | | |
Offset 26, 14 lines modified | Offset 26, 18 lines modified |
| |
26 | .field·static·final·MAX_EXCLUDE_DIRS:I·=·0x1c2 | 26 | .field·static·final·MAX_EXCLUDE_DIRS:I·=·0x1c2 |
| |
27 | .field·private·static·final·MAX_XMP_SIZE_BYTES:I·=·0x100000 | 27 | .field·private·static·final·MAX_XMP_SIZE_BYTES:I·=·0x100000 |
| |
28 | .field·private·static·final·PATTERN_ALBUM_ART:Ljava/util/regex/Pattern; | 28 | .field·private·static·final·PATTERN_ALBUM_ART:Ljava/util/regex/Pattern; |
| |
| 29 | .field·private·static·final·PATTERN_INVISIBLE:Ljava/util/regex/Pattern; |
| |
| 30 | .field·private·static·final·PATTERN_VISIBLE:Ljava/util/regex/Pattern; |
| |
29 | .field·private·static·final·PATTERN_YEAR:Ljava/util/regex/Pattern; | 31 | .field·private·static·final·PATTERN_YEAR:Ljava/util/regex/Pattern; |
| |
30 | .field·private·static·final·S_DATE_FORMAT:Ljava/text/SimpleDateFormat; | 32 | .field·private·static·final·S_DATE_FORMAT:Ljava/text/SimpleDateFormat; |
| |
31 | .field·private·static·final·S_DATE_FORMAT_WITH_MILLIS:Ljava/text/SimpleDateFormat; | 33 | .field·private·static·final·S_DATE_FORMAT_WITH_MILLIS:Ljava/text/SimpleDateFormat; |
| |
32 | .field·private·static·final·TAG:Ljava/lang/String;·=·"ModernMediaScanner" | 34 | .field·private·static·final·TAG:Ljava/lang/String;·=·"ModernMediaScanner" |
Offset 160, 166 lines modified | Offset 164, 184 lines modified |
160 | ····.line·167 | 164 | ····.line·167 |
161 | ····invoke-static·{v1},·Ljava/util/TimeZone;->getTimeZone(Ljava/lang/String;)Ljava/util/TimeZone; | 165 | ····invoke-static·{v1},·Ljava/util/TimeZone;->getTimeZone(Ljava/lang/String;)Ljava/util/TimeZone; |
| |
162 | ····move-result-object·v1 | 166 | ····move-result-object·v1 |
| |
163 | ····invoke-virtual·{v0,·v1},·Ljava/text/SimpleDateFormat;->setTimeZone(Ljava/util/TimeZone;)V | 167 | ····invoke-virtual·{v0,·v1},·Ljava/text/SimpleDateFormat;->setTimeZone(Ljava/util/TimeZone;)V |
| |
164 | ····const-string·v0,·"([1-9][0-9][0-9][0-9])" | 168 | ····const-string·v0,·"(?i)^/storage/[^/]+(?:/[0-9]+)?$" |
| |
165 | ····.line·178 | 169 | ····.line·178 |
166 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 170 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
167 | ····move-result-object·v0 | 171 | ····move-result-object·v0 |
| |
| 172 | ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_VISIBLE:Ljava/util/regex/Pattern; |
| |
| 173 | ····const-string·v0,·"(?i)^/storage/[^/]+(?:/[0-9]+)?/(?:(?:Android/(?:data|obb|sandbox)$)|(?:\\.transforms$)|(?:(?:Movies|Music|Pictures)/.thumbnails$))" |
| |
| 174 | ····.line·180 |
| 175 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
| 176 | ····move-result-object·v0 |
| |
| 177 | ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_INVISIBLE:Ljava/util/regex/Pattern; |
| |
| 178 | ····const-string·v0,·"([1-9][0-9][0-9][0-9])" |
| |
| 179 | ····.line·186 |
| 180 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
| 181 | ····move-result-object·v0 |
| |
168 | ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_YEAR:Ljava/util/regex/Pattern; | 182 | ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_YEAR:Ljava/util/regex/Pattern; |
| |
169 | ····const-string·v0,·"(?i)(?:(?:^folder|(?:^AlbumArt(?:(?:_\\{.*\\}_)?(?:small|large))?))(?:\\.jpg$)|(?:\\._.*))" | 183 | ····const-string·v0,·"(?i)(?:(?:^folder|(?:^AlbumArt(?:(?:_\\{.*\\}_)?(?:small|large))?))(?:\\.jpg$)|(?:\\._.*))" |
| |
170 | ····.line·180 | 184 | ····.line·188 |
171 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 185 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
172 | ····move-result-object·v0 | 186 | ····move-result-object·v0 |
| |
173 | ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_ALBUM_ART:Ljava/util/regex/Pattern; | 187 | ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_ALBUM_ART:Ljava/util/regex/Pattern; |
| |
174 | ····.line·1210 | 188 | ····.line·1218 |
175 | ····new-instance·v0,·Landroid/util/ArrayMap; | 189 | ····new-instance·v0,·Landroid/util/ArrayMap; |
| |
176 | ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V | 190 | ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V |
| |
177 | ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap; | 191 | ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap; |
| |
178 | ····.line·1213 | 192 | ····.line·1221 |
179 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_RINGTONES:Ljava/lang/String; | 193 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_RINGTONES:Ljava/lang/String; |
| |
180 | ····const-string·v2,·"is_ringtone" | 194 | ····const-string·v2,·"is_ringtone" |
| |
181 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 195 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
| |
182 | ····.line·1214 | 196 | ····.line·1222 |
183 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap; | 197 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap; |
| |
184 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_NOTIFICATIONS:Ljava/lang/String; | 198 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_NOTIFICATIONS:Ljava/lang/String; |
| |
185 | ····const-string·v2,·"is_notification" | 199 | ····const-string·v2,·"is_notification" |
| |
186 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 200 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
| |
187 | ····.line·1215 | 201 | ····.line·1223 |
188 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap; | 202 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap; |
| |
189 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_ALARMS:Ljava/lang/String; | 203 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_ALARMS:Ljava/lang/String; |
| |
190 | ····const-string·v2,·"is_alarm" | 204 | ····const-string·v2,·"is_alarm" |
| |
191 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 205 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
| |
192 | ····.line·1216 | 206 | ····.line·1224 |
193 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap; | 207 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap; |
| |
194 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_PODCASTS:Ljava/lang/String; | 208 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_PODCASTS:Ljava/lang/String; |
| |
195 | ····const-string·v2,·"is_podcast" | 209 | ····const-string·v2,·"is_podcast" |
| |
196 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 210 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
| |
197 | ····.line·1217 | 211 | ····.line·1225 |
198 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap; | 212 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap; |
| |
199 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_AUDIOBOOKS:Ljava/lang/String; | 213 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_AUDIOBOOKS:Ljava/lang/String; |
| |
200 | ····const-string·v2,·"is_audiobook" | 214 | ····const-string·v2,·"is_audiobook" |
| |
201 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 215 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
| |
202 | ····.line·1218 | 216 | ····.line·1226 |
203 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap; | 217 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap; |
| |
204 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_MUSIC:Ljava/lang/String; | 218 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_MUSIC:Ljava/lang/String; |
| |
205 | ····const-string·v2,·"is_music" | 219 | ····const-string·v2,·"is_music" |
| |
206 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 220 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
| |
207 | ····.line·1219 | 221 | ····.line·1227 |
208 | ····invoke-static·{},·Lcom/android/modules/utils/build/SdkLevel;->isAtLeastS()Z | 222 | ····invoke-static·{},·Lcom/android/modules/utils/build/SdkLevel;->isAtLeastS()Z |
| |
209 | ····move-result·v0 | 223 | ····move-result·v0 |
| |
210 | ····const-string·v1,·"is_recording" | 224 | ····const-string·v1,·"is_recording" |
| |
211 | ····if-eqz·v0,·:cond_0 | 225 | ····if-eqz·v0,·:cond_0 |
| |
212 | ····.line·1220 | 226 | ····.line·1228 |
213 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap; | 227 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap; |
| |
214 | ····sget-object·v2,·Landroid/os/Environment;->DIRECTORY_RECORDINGS:Ljava/lang/String; | 228 | ····sget-object·v2,·Landroid/os/Environment;->DIRECTORY_RECORDINGS:Ljava/lang/String; |
| |
215 | ····invoke-virtual·{v0,·v2,·v1},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 229 | ····invoke-virtual·{v0,·v2,·v1},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
| |
216 | ····goto·:goto_0 | 230 | ····goto·:goto_0 |
| |
217 | ····.line·1222 | 231 | ····.line·1230 |
218 | ····:cond_0 | 232 | ····:cond_0 |
219 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap; | 233 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap; |
| |
220 | ····const-string·v2,·"Recordings" | 234 | ····const-string·v2,·"Recordings" |
| |
221 | ····invoke-virtual·{v0,·v2,·v1},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 235 | ····invoke-virtual·{v0,·v2,·v1},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
| |
222 | ····:goto_0 | 236 | ····:goto_0 |
223 | ····return-void | 237 | ····return-void |
224 | .end·method | 238 | .end·method |
| |
225 | .method·public·constructor·<init>(Landroid/content/Context;)V | 239 | .method·public·constructor·<init>(Landroid/content/Context;)V |
226 | ····.locals·3 | 240 | ····.locals·3 |
| |
227 | ····.line·218 | 241 | ····.line·226 |
228 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 242 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
229 | ····.line·185 | 243 | ····.line·193 |
230 | ····new-instance·v0,·Landroid/util/ArraySet; | 244 | ····new-instance·v0,·Landroid/util/ArraySet; |
| |
231 | ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V | 245 | ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V |
| |
232 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mPendingCleanDirectories:Ljava/util/Set; | 246 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mPendingCleanDirectories:Ljava/util/Set; |
| |
233 | ····.line·191 | 247 | ····.line·199 |
234 | ····new-instance·v0,·Ljava/util/ArrayList; | 248 | ····new-instance·v0,·Ljava/util/ArrayList; |
| |
235 | ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V | 249 | ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V |
| |
236 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mActiveScans:Ljava/util/List; | 250 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mActiveScans:Ljava/util/List; |
| |
237 | ····.line·209 | 251 | ····.line·217 |
238 | ····new-instance·v0,·Landroid/util/ArrayMap; | 252 | ····new-instance·v0,·Landroid/util/ArrayMap; |
| |
239 | ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V | 253 | ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V |
| |
240 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDirectoryLocks:Ljava/util/Map; | 254 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDirectoryLocks:Ljava/util/Map; |
| |
241 | ····.line·216 | 255 | ····.line·224 |
242 | ····new-instance·v0,·Landroid/util/ArraySet; | 256 | ····new-instance·v0,·Landroid/util/ArraySet; |
| |
243 | ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V | 257 | ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V |
| |
244 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDrmMimeTypes:Ljava/util/Set; | 258 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDrmMimeTypes:Ljava/util/Set; |
| |
245 | ····.line·219 | 259 | ····.line·227 |
246 | ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mContext:Landroid/content/Context; | 260 | ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mContext:Landroid/content/Context; |
| |
247 | ····.line·220 | 261 | ····.line·228 |
248 | ····new-instance·v0,·Landroid/drm/DrmManagerClient; | 262 | ····new-instance·v0,·Landroid/drm/DrmManagerClient; |
| |
249 | ····invoke-direct·{v0,·p1},·Landroid/drm/DrmManagerClient;-><init>(Landroid/content/Context;)V | 263 | ····invoke-direct·{v0,·p1},·Landroid/drm/DrmManagerClient;-><init>(Landroid/content/Context;)V |
| |
250 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDrmClient:Landroid/drm/DrmManagerClient; | 264 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDrmClient:Landroid/drm/DrmManagerClient; |
| |
251 | ····.line·224 | 265 | ····.line·232 |
252 | ····invoke-virtual·{v0},·Landroid/drm/DrmManagerClient;->getAvailableDrmSupportInfo()Ljava/util/Collection; | 266 | ····invoke-virtual·{v0},·Landroid/drm/DrmManagerClient;->getAvailableDrmSupportInfo()Ljava/util/Collection; |
| |
253 | ····move-result-object·p1 | 267 | ····move-result-object·p1 |
| |
254 | ····invoke-interface·{p1},·Ljava/util/Collection;->iterator()Ljava/util/Iterator; | 268 | ····invoke-interface·{p1},·Ljava/util/Collection;->iterator()Ljava/util/Iterator; |
| |
255 | ····move-result-object·p1 | 269 | ····move-result-object·p1 |
Offset 333, 28 lines modified | Offset 355, 28 lines modified |
| |
333 | ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 355 | ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
334 | ····move-result-object·v0 | 356 | ····move-result-object·v0 |
| |
335 | ····check-cast·v0,·Landroid/drm/DrmSupportInfo; | 357 | ····check-cast·v0,·Landroid/drm/DrmSupportInfo; |
| |
336 | ····.line·225 | 358 | ····.line·233 |
337 | ····invoke-virtual·{v0},·Landroid/drm/DrmSupportInfo;->getMimeTypeIterator()Ljava/util/Iterator; | 359 | ····invoke-virtual·{v0},·Landroid/drm/DrmSupportInfo;->getMimeTypeIterator()Ljava/util/Iterator; |
| |
338 | ····move-result-object·v0 | 360 | ····move-result-object·v0 |
| |
339 | ····.line·226 | 361 | ····.line·234 |
340 | ····:goto_0 | 362 | ····:goto_0 |
341 | ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z | 363 | ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z |
| |
342 | ····move-result·v1 | 364 | ····move-result·v1 |
| |
343 | ····if-eqz·v1,·:cond_0 | 365 | ····if-eqz·v1,·:cond_0 |
| |
344 | ····.line·227 | 366 | ····.line·235 |
345 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDrmMimeTypes:Ljava/util/Set; | 367 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDrmMimeTypes:Ljava/util/Set; |
| |
346 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 368 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
347 | ····move-result-object·v2 | 369 | ····move-result-object·v2 |
| |
348 | ····check-cast·v2,·Ljava/lang/String; | 370 | ····check-cast·v2,·Ljava/lang/String; |
Offset 460, 26 lines modified | Offset 482, 26 lines modified |
| |
460 | ····return-object·p0 | 482 | ····return-object·p0 |
461 | .end·method | 483 | .end·method |
| |
462 | .method·private·addActiveScan(Lcom/android/providers/media/scan/ModernMediaScanner$Scan;)V | 484 | .method·private·addActiveScan(Lcom/android/providers/media/scan/ModernMediaScanner$Scan;)V |
463 | ····.locals·1 | 485 | ····.locals·1 |
| |
464 | ····.line·296 | 486 | ····.line·304 |
465 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mActiveScans:Ljava/util/List; | 487 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mActiveScans:Ljava/util/List; |
| |
466 | ····monitor-enter·v0 | 488 | ····monitor-enter·v0 |
| |
467 | ····.line·297 | 489 | ····.line·305 |
468 | ····:try_start_0 | 490 | ····:try_start_0 |
469 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mActiveScans:Ljava/util/List; | 491 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mActiveScans:Ljava/util/List; |
| |
470 | ····invoke-interface·{p0,·p1},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 492 | ····invoke-interface·{p0,·p1},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
| |
471 | ····.line·298 | 493 | ····.line·306 |
472 | ····monitor-exit·v0 | 494 | ····monitor-exit·v0 |
| |
473 | ····return-void | 495 | ····return-void |
| |
474 | ····:catchall_0 | 496 | ····:catchall_0 |
475 | ····move-exception·p0 | 497 | ····move-exception·p0 |
| |
Offset 503, 51 lines modified | Offset 525, 51 lines modified |
503 | ············"TT;>;" | 525 | ············"TT;>;" |
504 | ········} | 526 | ········} |
505 | ····.end·annotation | 527 | ····.end·annotation |
| |
506 | ····.annotation·runtime·Ljava/lang/SafeVarargs; | 528 | ····.annotation·runtime·Ljava/lang/SafeVarargs; |
507 | ····.end·annotation | 529 | ····.end·annotation |
| |
508 | ····.line·1417 | 530 | ····.line·1425 |
509 | ····array-length·v0,·p0 | 531 | ····array-length·v0,·p0 |
| |
510 | ····const/4·v1,·0x0 | 532 | ····const/4·v1,·0x0 |
| |
511 | ····:goto_0 | 533 | ····:goto_0 |
512 | ····if-ge·v1,·v0,·:cond_1 | 534 | ····if-ge·v1,·v0,·:cond_1 |
| |
513 | ····aget-object·v2,·p0,·v1 | 535 | ····aget-object·v2,·p0,·v1 |
| |
514 | ····.line·1418 | 536 | ····.line·1426 |
515 | ····invoke-virtual·{v2},·Ljava/util/Optional;->isPresent()Z | 537 | ····invoke-virtual·{v2},·Ljava/util/Optional;->isPresent()Z |
| |
516 | ····move-result·v3 | 538 | ····move-result·v3 |
| |
517 | ····if-eqz·v3,·:cond_0 | 539 | ····if-eqz·v3,·:cond_0 |
| |
518 | ····return-object·v2 | 540 | ····return-object·v2 |
| |
519 | ····:cond_0 | 541 | ····:cond_0 |
520 | ····add-int/lit8·v1,·v1,·0x1 | 542 | ····add-int/lit8·v1,·v1,·0x1 |
| |
521 | ····goto·:goto_0 | 543 | ····goto·:goto_0 |
| |
522 | ····.line·1422 | 544 | ····.line·1430 |
523 | ····:cond_1 | 545 | ····:cond_1 |
524 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; | 546 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; |
| |
525 | ····move-result-object·p0 | 547 | ····move-result-object·p0 |
| |
526 | ····return-object·p0 | 548 | ····return-object·p0 |
527 | .end·method | 549 | .end·method |
| |
528 | .method·static·isFileAlbumArt(Ljava/io/File;)Z | 550 | .method·static·isFileAlbumArt(Ljava/io/File;)Z |
529 | ····.locals·1 | 551 | ····.locals·1 |
| |
530 | ····.line·1711 | 552 | ····.line·1719 |
531 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_ALBUM_ART:Ljava/util/regex/Pattern; | 553 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_ALBUM_ART:Ljava/util/regex/Pattern; |
| |
532 | ····invoke-virtual·{p0},·Ljava/io/File;->getName()Ljava/lang/String; | 554 | ····invoke-virtual·{p0},·Ljava/io/File;->getName()Ljava/lang/String; |
| |
533 | ····move-result-object·p0 | 555 | ····move-result-object·p0 |
| |
534 | ····invoke-virtual·{v0,·p0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 556 | ····invoke-virtual·{v0,·p0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
Offset 560, 37 lines modified | Offset 582, 37 lines modified |
| |
560 | ····return·p0 | 582 | ····return·p0 |
561 | .end·method | 583 | .end·method |
| |
562 | .method·static·isZero(Ljava/lang/String;)Z | 584 | .method·static·isZero(Ljava/lang/String;)Z |
563 | ····.locals·4 | 585 | ····.locals·4 |
| |
564 | ····.line·1715 | 586 | ····.line·1723 |
565 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I | 587 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I |
| |
566 | ····move-result·v0 | 588 | ····move-result·v0 |
| |
567 | ····const/4·v1,·0x0 | 589 | ····const/4·v1,·0x0 |
| |
568 | ····if-nez·v0,·:cond_0 | 590 | ····if-nez·v0,·:cond_0 |
| |
569 | ····return·v1 | 591 | ····return·v1 |
| |
570 | ····:cond_0 | 592 | ····:cond_0 |
571 | ····move·v0,·v1 | 593 | ····move·v0,·v1 |
| |
572 | ····.line·1718 | 594 | ····.line·1726 |
573 | ····:goto_0 | 595 | ····:goto_0 |
574 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I | 596 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I |
| |
575 | ····move-result·v2 | 597 | ····move-result·v2 |
| |
576 | ····if-ge·v0,·v2,·:cond_2 | 598 | ····if-ge·v0,·v2,·:cond_2 |
| |
577 | ····.line·1719 | 599 | ····.line·1727 |
578 | ····invoke-virtual·{p0,·v0},·Ljava/lang/String;->charAt(I)C | 600 | ····invoke-virtual·{p0,·v0},·Ljava/lang/String;->charAt(I)C |
| |
579 | ····move-result·v2 | 601 | ····move-result·v2 |
| |
580 | ····const/16·v3,·0x30 | 602 | ····const/16·v3,·0x30 |
| |
581 | ····if-eq·v2,·v3,·:cond_1 | 603 | ····if-eq·v2,·v3,·:cond_1 |
Offset 607, 53 lines modified | Offset 629, 53 lines modified |
| |
607 | ····return·p0 | 629 | ····return·p0 |
608 | .end·method | 630 | .end·method |
| |
609 | .method·public·static·lastModifiedTime(Ljava/io/File;Ljava/nio/file/attribute/BasicFileAttributes;)J | 631 | .method·public·static·lastModifiedTime(Ljava/io/File;Ljava/nio/file/attribute/BasicFileAttributes;)J |
610 | ····.locals·2 | 632 | ····.locals·2 |
| |
611 | ····.line·1637 | 633 | ····.line·1645 |
612 | ····invoke-static·{},·Landroid/os/Environment;->getStorageDirectory()Ljava/io/File; | 634 | ····invoke-static·{},·Landroid/os/Environment;->getStorageDirectory()Ljava/io/File; |
| |
613 | ····move-result-object·v0 | 635 | ····move-result-object·v0 |
| |
614 | ····invoke-static·{v0,·p0},·Lcom/android/providers/media/util/FileUtils;->contains(Ljava/io/File;Ljava/io/File;)Z | 636 | ····invoke-static·{v0,·p0},·Lcom/android/providers/media/util/FileUtils;->contains(Ljava/io/File;Ljava/io/File;)Z |
| |
615 | ····move-result·p0 | 637 | ····move-result·p0 |
| |
616 | ····const-wide/16·v0,·0x3e8 | 638 | ····const-wide/16·v0,·0x3e8 |
| |
617 | ····if-eqz·p0,·:cond_0 | 639 | ····if-eqz·p0,·:cond_0 |
| |
618 | ····.line·1638 | 640 | ····.line·1646 |
619 | ····invoke-interface·{p1},·Ljava/nio/file/attribute/BasicFileAttributes;->lastModifiedTime()Ljava/nio/file/attribute/FileTime; | 641 | ····invoke-interface·{p1},·Ljava/nio/file/attribute/BasicFileAttributes;->lastModifiedTime()Ljava/nio/file/attribute/FileTime; |
| |
620 | ····move-result-object·p0 | 642 | ····move-result-object·p0 |
| |
621 | ····invoke-virtual·{p0},·Ljava/nio/file/attribute/FileTime;->toMillis()J | 643 | ····invoke-virtual·{p0},·Ljava/nio/file/attribute/FileTime;->toMillis()J |
| |
622 | ····move-result-wide·p0 | 644 | ····move-result-wide·p0 |
| |
623 | ····div-long/2addr·p0,·v0 | 645 | ····div-long/2addr·p0,·v0 |
| |
624 | ····return-wide·p0 | 646 | ····return-wide·p0 |
| |
625 | ····.line·1640 | 647 | ····.line·1648 |
626 | ····:cond_0 | 648 | ····:cond_0 |
627 | ····sget-wide·p0,·Landroid/os/Build;->TIME:J | 649 | ····sget-wide·p0,·Landroid/os/Build;->TIME:J |
| |
628 | ····div-long/2addr·p0,·v0 | 650 | ····div-long/2addr·p0,·v0 |
| |
629 | ····return-wide·p0 | 651 | ····return-wide·p0 |
630 | .end·method | 652 | .end·method |
| |
631 | .method·static·logTroubleScanning(Ljava/io/File;Ljava/lang/Exception;)V | 653 | .method·static·logTroubleScanning(Ljava/io/File;Ljava/lang/Exception;)V |
632 | ····.locals·2 | 654 | ····.locals·2 |
| |
633 | ····.line·1727 | 655 | ····.line·1735 |
634 | ····sget-boolean·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->LOGW:Z | 656 | ····sget-boolean·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->LOGW:Z |
| |
635 | ····if-eqz·v0,·:cond_0 | 657 | ····if-eqz·v0,·:cond_0 |
| |
636 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 658 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
637 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 659 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
Offset 681, 20 lines modified | Offset 703, 20 lines modified |
681 | ····:cond_0 | 703 | ····:cond_0 |
682 | ····return-void | 704 | ····return-void |
683 | .end·method | 705 | .end·method |
| |
684 | .method·private·static·maybeTruncateXmp(Lcom/android/providers/media/util/XmpInterface;)[B | 706 | .method·private·static·maybeTruncateXmp(Lcom/android/providers/media/util/XmpInterface;)[B |
685 | ····.locals·2 | 707 | ····.locals·2 |
| |
686 | ····.line·1117 | 708 | ····.line·1125 |
687 | ····invoke-virtual·{p0},·Lcom/android/providers/media/util/XmpInterface;->getRedactedXmp()[B | 709 | ····invoke-virtual·{p0},·Lcom/android/providers/media/util/XmpInterface;->getRedactedXmp()[B |
| |
688 | ····move-result-object·p0 | 710 | ····move-result-object·p0 |
| |
689 | ····.line·1118 | 711 | ····.line·1126 |
690 | ····array-length·v0,·p0 | 712 | ····array-length·v0,·p0 |
| |
691 | ····const/high16·v1,·0x100000 | 713 | ····const/high16·v1,·0x100000 |
| |
692 | ····if-le·v0,·v1,·:cond_0 | 714 | ····if-le·v0,·v1,·:cond_0 |
| |
693 | ····const/4·p0,·0x0 | 715 | ····const/4·p0,·0x0 |
Offset 704, 55 lines modified | Offset 726, 55 lines modified |
704 | ····:cond_0 | 726 | ····:cond_0 |
705 | ····return-object·p0 | 727 | ····return-object·p0 |
706 | .end·method | 728 | .end·method |
| |
707 | .method·private·static·newUpsert(Ljava/lang/String;J)Landroid/content/ContentProviderOperation$Builder; | 729 | .method·private·static·newUpsert(Ljava/lang/String;J)Landroid/content/ContentProviderOperation$Builder; |
708 | ····.locals·2 | 730 | ····.locals·2 |
| |
709 | ····.line·1401 | 731 | ····.line·1409 |
710 | ····invoke-static·{p0},·Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;)Landroid/net/Uri; | 732 | ····invoke-static·{p0},·Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;)Landroid/net/Uri; |
| |
711 | ····move-result-object·p0 | 733 | ····move-result-object·p0 |
| |
712 | ····const-wide/16·v0,·-0x1 | 734 | ····const-wide/16·v0,·-0x1 |
| |
713 | ····cmp-long·v0,·p1,·v0 | 735 | ····cmp-long·v0,·p1,·v0 |
| |
714 | ····const/4·v1,·0x1 | 736 | ····const/4·v1,·0x1 |
| |
715 | ····if-nez·v0,·:cond_0 | 737 | ····if-nez·v0,·:cond_0 |
| |
716 | ····.line·1403 | 738 | ····.line·1411 |
717 | ····invoke-static·{p0},·Landroid/content/ContentProviderOperation;->newInsert(Landroid/net/Uri;)Landroid/content/ContentProviderOperation$Builder; | 739 | ····invoke-static·{p0},·Landroid/content/ContentProviderOperation;->newInsert(Landroid/net/Uri;)Landroid/content/ContentProviderOperation$Builder; |
| |
718 | ····move-result-object·p0 | 740 | ····move-result-object·p0 |
| |
719 | ····.line·1404 | 741 | ····.line·1412 |
720 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentProviderOperation$Builder;->withExceptionAllowed(Z)Landroid/content/ContentProviderOperation$Builder; | 742 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentProviderOperation$Builder;->withExceptionAllowed(Z)Landroid/content/ContentProviderOperation$Builder; |
| |
721 | ····move-result-object·p0 | 743 | ····move-result-object·p0 |
| |
722 | ····return-object·p0 | 744 | ····return-object·p0 |
| |
723 | ····.line·1406 | 745 | ····.line·1414 |
724 | ····:cond_0 | 746 | ····:cond_0 |
725 | ····invoke-static·{p0,·p1,·p2},·Landroid/content/ContentUris;->withAppendedId(Landroid/net/Uri;J)Landroid/net/Uri; | 747 | ····invoke-static·{p0,·p1,·p2},·Landroid/content/ContentUris;->withAppendedId(Landroid/net/Uri;J)Landroid/net/Uri; |
| |
726 | ····move-result-object·p0 | 748 | ····move-result-object·p0 |
| |
727 | ····invoke-static·{p0},·Landroid/content/ContentProviderOperation;->newUpdate(Landroid/net/Uri;)Landroid/content/ContentProviderOperation$Builder; | 749 | ····invoke-static·{p0},·Landroid/content/ContentProviderOperation;->newUpdate(Landroid/net/Uri;)Landroid/content/ContentProviderOperation$Builder; |
| |
728 | ····move-result-object·p0 | 750 | ····move-result-object·p0 |
| |
729 | ····.line·1407 | 751 | ····.line·1415 |
730 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentProviderOperation$Builder;->withExpectedCount(I)Landroid/content/ContentProviderOperation$Builder; | 752 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentProviderOperation$Builder;->withExpectedCount(I)Landroid/content/ContentProviderOperation$Builder; |
| |
731 | ····move-result-object·p0 | 753 | ····move-result-object·p0 |
| |
732 | ····.line·1408 | 754 | ····.line·1416 |
733 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentProviderOperation$Builder;->withExceptionAllowed(Z)Landroid/content/ContentProviderOperation$Builder; | 755 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentProviderOperation$Builder;->withExceptionAllowed(Z)Landroid/content/ContentProviderOperation$Builder; |
| |
734 | ····move-result-object·p0 | 756 | ····move-result-object·p0 |
| |
735 | ····return-object·p0 | 757 | ····return-object·p0 |
736 | .end·method | 758 | .end·method |
| |
Offset 772, 30 lines modified | Offset 794, 30 lines modified |
| |
772 | ····.annotation·system·Ldalvik/annotation/Throws; | 794 | ····.annotation·system·Ldalvik/annotation/Throws; |
773 | ········value·=·{ | 795 | ········value·=·{ |
774 | ············Ljava/text/ParseException; | 796 | ············Ljava/text/ParseException; |
775 | ········} | 797 | ········} |
776 | ····.end·annotation | 798 | ····.end·annotation |
| |
777 | ····.line·1576 | 799 | ····.line·1584 |
778 | ····invoke-virtual·{p1,·p0},·Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date; | 800 | ····invoke-virtual·{p1,·p0},·Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date; |
| |
779 | ····move-result-object·p0 | 801 | ····move-result-object·p0 |
| |
780 | ····invoke-virtual·{p0},·Ljava/util/Date;->getTime()J | 802 | ····invoke-virtual·{p0},·Ljava/util/Date;->getTime()J |
| |
781 | ····move-result-wide·p0 | 803 | ····move-result-wide·p0 |
| |
782 | ····const-wide/16·v0,·0x0 | 804 | ····const-wide/16·v0,·0x0 |
| |
783 | ····cmp-long·v0,·p0,·v0 | 805 | ····cmp-long·v0,·p0,·v0 |
| |
784 | ····if-lez·v0,·:cond_0 | 806 | ····if-lez·v0,·:cond_0 |
| |
785 | ····.line·1577 | 807 | ····.line·1585 |
786 | ····invoke-static·{p0,·p1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 808 | ····invoke-static·{p0,·p1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
787 | ····move-result-object·p0 | 809 | ····move-result-object·p0 |
| |
788 | ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional; | 810 | ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional; |
| |
789 | ····move-result-object·p0 | 811 | ····move-result-object·p0 |
Offset 821, 22 lines modified | Offset 843, 22 lines modified |
821 | ············"Ljava/util/Optional<", | 843 | ············"Ljava/util/Optional<", |
822 | ············"TT;>;" | 844 | ············"TT;>;" |
823 | ········} | 845 | ········} |
824 | ····.end·annotation | 846 | ····.end·annotation |
| |
825 | ····if-nez·p0,·:cond_0 | 847 | ····if-nez·p0,·:cond_0 |
| |
826 | ····.line·1428 | 848 | ····.line·1436 |
827 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; | 849 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; |
| |
828 | ····move-result-object·p0 | 850 | ····move-result-object·p0 |
| |
829 | ····return-object·p0 | 851 | ····return-object·p0 |
| |
830 | ····.line·1429 | 852 | ····.line·1437 |
831 | ····:cond_0 | 853 | ····:cond_0 |
832 | ····instance-of·v0,·p0,·Ljava/lang/String; | 854 | ····instance-of·v0,·p0,·Ljava/lang/String; |
| |
833 | ····if-eqz·v0,·:cond_1 | 855 | ····if-eqz·v0,·:cond_1 |
| |
834 | ····move-object·v1,·p0 | 856 | ····move-object·v1,·p0 |
| |
Offset 844, 70 lines modified | Offset 866, 70 lines modified |
| |
844 | ····invoke-virtual·{v1},·Ljava/lang/String;->length()I | 866 | ····invoke-virtual·{v1},·Ljava/lang/String;->length()I |
| |
845 | ····move-result·v1 | 867 | ····move-result·v1 |
| |
846 | ····if-nez·v1,·:cond_1 | 868 | ····if-nez·v1,·:cond_1 |
| |
847 | ····.line·1430 | 869 | ····.line·1438 |
848 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; | 870 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; |
| |
849 | ····move-result-object·p0 | 871 | ····move-result-object·p0 |
| |
850 | ····return-object·p0 | 872 | ····return-object·p0 |
| |
851 | ····:cond_1 | 873 | ····:cond_1 |
852 | ····if-eqz·v0,·:cond_2 | 874 | ····if-eqz·v0,·:cond_2 |
| |
853 | ····.line·1431 | 875 | ····.line·1439 |
854 | ····move-object·v1,·p0 | 876 | ····move-object·v1,·p0 |
| |
855 | ····check-cast·v1,·Ljava/lang/String; | 877 | ····check-cast·v1,·Ljava/lang/String; |
| |
856 | ····const-string·v2,·"-1" | 878 | ····const-string·v2,·"-1" |
| |
857 | ····invoke-virtual·{v1,·v2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 879 | ····invoke-virtual·{v1,·v2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
858 | ····move-result·v1 | 880 | ····move-result·v1 |
| |
859 | ····if-eqz·v1,·:cond_2 | 881 | ····if-eqz·v1,·:cond_2 |
| |
860 | ····.line·1432 | 882 | ····.line·1440 |
861 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; | 883 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; |
| |
862 | ····move-result-object·p0 | 884 | ····move-result-object·p0 |
| |
863 | ····return-object·p0 | 885 | ····return-object·p0 |
| |
864 | ····:cond_2 | 886 | ····:cond_2 |
865 | ····if-eqz·v0,·:cond_3 | 887 | ····if-eqz·v0,·:cond_3 |
| |
866 | ····.line·1433 | 888 | ····.line·1441 |
867 | ····move-object·v0,·p0 | 889 | ····move-object·v0,·p0 |
| |
868 | ····check-cast·v0,·Ljava/lang/String; | 890 | ····check-cast·v0,·Ljava/lang/String; |
| |
869 | ····invoke-virtual·{v0},·Ljava/lang/String;->trim()Ljava/lang/String; | 891 | ····invoke-virtual·{v0},·Ljava/lang/String;->trim()Ljava/lang/String; |
| |
870 | ····move-result-object·v0 | 892 | ····move-result-object·v0 |
| |
871 | ····invoke-virtual·{v0},·Ljava/lang/String;->length()I | 893 | ····invoke-virtual·{v0},·Ljava/lang/String;->length()I |
| |
872 | ····move-result·v0 | 894 | ····move-result·v0 |
| |
873 | ····if-nez·v0,·:cond_3 | 895 | ····if-nez·v0,·:cond_3 |
| |
874 | ····.line·1434 | 896 | ····.line·1442 |
875 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; | 897 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; |
| |
876 | ····move-result-object·p0 | 898 | ····move-result-object·p0 |
| |
877 | ····return-object·p0 | 899 | ····return-object·p0 |
| |
878 | ····.line·1435 | 900 | ····.line·1443 |
879 | ····:cond_3 | 901 | ····:cond_3 |
880 | ····instance-of·v0,·p0,·Ljava/lang/Number; | 902 | ····instance-of·v0,·p0,·Ljava/lang/Number; |
| |
881 | ····if-eqz·v0,·:cond_4 | 903 | ····if-eqz·v0,·:cond_4 |
| |
882 | ····move-object·v0,·p0 | 904 | ····move-object·v0,·p0 |
| |
Offset 917, 22 lines modified | Offset 939, 22 lines modified |
| |
917 | ····move-result·v0 | 939 | ····move-result·v0 |
| |
918 | ····const/4·v1,·-0x1 | 940 | ····const/4·v1,·-0x1 |
| |
919 | ····if-ne·v0,·v1,·:cond_4 | 941 | ····if-ne·v0,·v1,·:cond_4 |
| |
920 | ····.line·1436 | 942 | ····.line·1444 |
921 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; | 943 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; |
| |
922 | ····move-result-object·p0 | 944 | ····move-result-object·p0 |
| |
923 | ····return-object·p0 | 945 | ····return-object·p0 |
| |
924 | ····.line·1438 | 946 | ····.line·1446 |
925 | ····:cond_4 | 947 | ····:cond_4 |
926 | ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional; | 948 | ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional; |
| |
927 | ····move-result-object·p0 | 949 | ····move-result-object·p0 |
| |
928 | ····return-object·p0 | 950 | ····return-object·p0 |
929 | .end·method | 951 | .end·method |
Offset 946, 50 lines modified | Offset 968, 50 lines modified |
946 | ············")", | 968 | ············")", |
947 | ············"Ljava/util/Optional<", | 969 | ············"Ljava/util/Optional<", |
948 | ············"Ljava/lang/Long;", | 970 | ············"Ljava/lang/Long;", |
949 | ············">;" | 971 | ············">;" |
950 | ········} | 972 | ········} |
951 | ····.end·annotation | 973 | ····.end·annotation |
| |
952 | ····.line·1553 | 974 | ····.line·1561 |
953 | ····invoke-static·{p0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 975 | ····invoke-static·{p0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
954 | ····move-result·v0 | 976 | ····move-result·v0 |
| |
955 | ····if-eqz·v0,·:cond_0 | 977 | ····if-eqz·v0,·:cond_0 |
| |
956 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; | 978 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; |
| |
957 | ····move-result-object·p0 | 979 | ····move-result-object·p0 |
| |
958 | ····return-object·p0 | 980 | ····return-object·p0 |
| |
959 | ····.line·1555 | 981 | ····.line·1563 |
960 | ····:cond_0 | 982 | ····:cond_0 |
961 | ····:try_start_0 | 983 | ····:try_start_0 |
962 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->S_DATE_FORMAT_WITH_MILLIS:Ljava/text/SimpleDateFormat; | 984 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->S_DATE_FORMAT_WITH_MILLIS:Ljava/text/SimpleDateFormat; |
| |
963 | ····monitor-enter·v0 | 985 | ····monitor-enter·v0 |
964 | ····:try_end_0 | 986 | ····:try_end_0 |
965 | ····.catch·Ljava/text/ParseException;·{:try_start_0·..·:try_end_0}·:catch_0 | 987 | ····.catch·Ljava/text/ParseException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
966 | ····.line·1556 | 988 | ····.line·1564 |
967 | ····:try_start_1 | 989 | ····:try_start_1 |
968 | ····invoke-static·{p0,·v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->parseDateWithFormat(Ljava/lang/String;Ljava/text/SimpleDateFormat;)Ljava/util/Optional; | 990 | ····invoke-static·{p0,·v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->parseDateWithFormat(Ljava/lang/String;Ljava/text/SimpleDateFormat;)Ljava/util/Optional; |
| |
969 | ····move-result-object·v1 | 991 | ····move-result-object·v1 |
| |
970 | ····monitor-exit·v0 | 992 | ····monitor-exit·v0 |
| |
971 | ····return-object·v1 | 993 | ····return-object·v1 |
| |
972 | ····:catchall_0 | 994 | ····:catchall_0 |
973 | ····move-exception·v1 | 995 | ····move-exception·v1 |
| |
974 | ····.line·1557 | 996 | ····.line·1565 |
975 | ····monitor-exit·v0 | 997 | ····monitor-exit·v0 |
976 | ····:try_end_1 | 998 | ····:try_end_1 |
977 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 999 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
| |
978 | ····:try_start_2 | 1000 | ····:try_start_2 |
979 | ····throw·v1 | 1001 | ····throw·v1 |
980 | ····:try_end_2 | 1002 | ····:try_end_2 |
Offset 1004, 43 lines modified | Offset 1026, 43 lines modified |
| |
1004 | ····new-array·v3,·v2,·[Ljava/lang/Object; | 1026 | ····new-array·v3,·v2,·[Ljava/lang/Object; |
| |
1005 | ····const/4·v4,·0x0 | 1027 | ····const/4·v4,·0x0 |
| |
1006 | ····aput-object·p0,·v3,·v4 | 1028 | ····aput-object·p0,·v3,·v4 |
| |
1007 | ····.line·1560 | 1029 | ····.line·1568 |
1008 | ····invoke-static·{v1,·v3},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 1030 | ····invoke-static·{v1,·v3},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
| |
1009 | ····move-result-object·v1 | 1031 | ····move-result-object·v1 |
| |
1010 | ····invoke-static·{v0,·v1},·Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I | 1032 | ····invoke-static·{v0,·v1},·Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
| |
1011 | ····.line·1565 | 1033 | ····.line·1573 |
1012 | ····:try_start_3 | 1034 | ····:try_start_3 |
1013 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->S_DATE_FORMAT:Ljava/text/SimpleDateFormat; | 1035 | ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->S_DATE_FORMAT:Ljava/text/SimpleDateFormat; |
| |
1014 | ····monitor-enter·v0 | 1036 | ····monitor-enter·v0 |
1015 | ····:try_end_3 | 1037 | ····:try_end_3 |
1016 | ····.catch·Ljava/text/ParseException;·{:try_start_3·..·:try_end_3}·:catch_1 | 1038 | ····.catch·Ljava/text/ParseException;·{:try_start_3·..·:try_end_3}·:catch_1 |
| |
1017 | ····.line·1566 | 1039 | ····.line·1574 |
1018 | ····:try_start_4 | 1040 | ····:try_start_4 |
1019 | ····invoke-static·{p0,·v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->parseDateWithFormat(Ljava/lang/String;Ljava/text/SimpleDateFormat;)Ljava/util/Optional; | 1041 | ····invoke-static·{p0,·v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->parseDateWithFormat(Ljava/lang/String;Ljava/text/SimpleDateFormat;)Ljava/util/Optional; |
| |
1020 | ····move-result-object·v1 | 1042 | ····move-result-object·v1 |
| |
1021 | ····monitor-exit·v0 | 1043 | ····monitor-exit·v0 |
| |
1022 | ····return-object·v1 | 1044 | ····return-object·v1 |
| |
1023 | ····:catchall_1 | 1045 | ····:catchall_1 |
1024 | ····move-exception·v1 | 1046 | ····move-exception·v1 |
| |
1025 | ····.line·1567 | 1047 | ····.line·1575 |
1026 | ····monitor-exit·v0 | 1048 | ····monitor-exit·v0 |
1027 | ····:try_end_4 | 1049 | ····:try_end_4 |
1028 | ····.catchall·{:try_start_4·..·:try_end_4}·:catchall_1 | 1050 | ····.catchall·{:try_start_4·..·:try_end_4}·:catchall_1 |
| |
1029 | ····:try_start_5 | 1051 | ····:try_start_5 |
1030 | ····throw·v1 | 1052 | ····throw·v1 |
1031 | ····:try_end_5 | 1053 | ····:try_end_5 |
Offset 1051, 22 lines modified | Offset 1073, 22 lines modified |
| |
1051 | ····const-string·v1,·"Parsing·date·without·millis·failed·for·[%s]" | 1073 | ····const-string·v1,·"Parsing·date·without·millis·failed·for·[%s]" |
| |
1052 | ····new-array·v2,·v2,·[Ljava/lang/Object; | 1074 | ····new-array·v2,·v2,·[Ljava/lang/Object; |
| |
1053 | ····aput-object·p0,·v2,·v4 | 1075 | ····aput-object·p0,·v2,·v4 |
| |
1054 | ····.line·1569 | 1076 | ····.line·1577 |
1055 | ····invoke-static·{v1,·v2},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 1077 | ····invoke-static·{v1,·v2},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
| |
1056 | ····move-result-object·p0 | 1078 | ····move-result-object·p0 |
| |
1057 | ····invoke-static·{v0,·p0},·Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I | 1079 | ····invoke-static·{v0,·p0},·Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
| |
1058 | ····.line·1570 | 1080 | ····.line·1578 |
1059 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; | 1081 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; |
| |
1060 | ····move-result-object·p0 | 1082 | ····move-result-object·p0 |
| |
1061 | ····return-object·p0 | 1083 | ····return-object·p0 |
1062 | .end·method | 1084 | .end·method |
| |
Offset 1079, 40 lines modified | Offset 1101, 40 lines modified |
1079 | ············"J)", | 1101 | ············"J)", |
1080 | ············"Ljava/util/Optional<", | 1102 | ············"Ljava/util/Optional<", |
1081 | ············"Ljava/lang/Long;", | 1103 | ············"Ljava/lang/Long;", |
1082 | ············">;" | 1104 | ············">;" |
1083 | ········} | 1105 | ········} |
1084 | ····.end·annotation | 1106 | ····.end·annotation |
| |
1085 | ····.line·1480 | 1107 | ····.line·1488 |
1086 | ····invoke-static·{p0},·Lcom/android/providers/media/util/ExifUtils;->getDateTimeOriginal(Landroid/media/ExifInterface;)J | 1108 | ····invoke-static·{p0},·Lcom/android/providers/media/util/ExifUtils;->getDateTimeOriginal(Landroid/media/ExifInterface;)J |
| |
1087 | ····move-result-wide·v0 | 1109 | ····move-result-wide·v0 |
| |
1088 | ····const-string·v2,·"OffsetTimeOriginal" | 1110 | ····const-string·v2,·"OffsetTimeOriginal" |
| |
1089 | ····.line·1481 | 1111 | ····.line·1489 |
1090 | ····invoke-virtual·{p0,·v2},·Landroid/media/ExifInterface;->hasAttribute(Ljava/lang/String;)Z | 1112 | ····invoke-virtual·{p0,·v2},·Landroid/media/ExifInterface;->hasAttribute(Ljava/lang/String;)Z |
| |
1091 | ····move-result·v2 | 1113 | ····move-result·v2 |
| |
1092 | ····if-eqz·v2,·:cond_0 | 1114 | ····if-eqz·v2,·:cond_0 |
| |
1093 | ····.line·1483 | 1115 | ····.line·1491 |
1094 | ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 1116 | ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
1095 | ····move-result-object·p0 | 1117 | ····move-result-object·p0 |
| |
1096 | ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional; | 1118 | ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional; |
| |
1097 | ····move-result-object·p0 | 1119 | ····move-result-object·p0 |
| |
1098 | ····return-object·p0 | 1120 | ····return-object·p0 |
| |
1099 | ····.line·1487 | 1121 | ····.line·1495 |
1100 | ····:cond_0 | 1122 | ····:cond_0 |
1101 | ····invoke-static·{p0},·Lcom/android/providers/media/util/ExifUtils;->getGpsDateTime(Landroid/media/ExifInterface;)J | 1123 | ····invoke-static·{p0},·Lcom/android/providers/media/util/ExifUtils;->getGpsDateTime(Landroid/media/ExifInterface;)J |
| |
1102 | ····move-result-wide·v2 | 1124 | ····move-result-wide·v2 |
| |
1103 | ····const-wide/16·v4,·0x0 | 1125 | ····const-wide/16·v4,·0x0 |
| |
Offset 1124, 39 lines modified | Offset 1146, 39 lines modified |
| |
1124 | ····const-wide/32·v9,·0x5265c00 | 1146 | ····const-wide/32·v9,·0x5265c00 |
| |
1125 | ····if-lez·p0,·:cond_1 | 1147 | ····if-lez·p0,·:cond_1 |
| |
1126 | ····sub-long/2addr·v2,·v0 | 1148 | ····sub-long/2addr·v2,·v0 |
| |
1127 | ····.line·1490 | 1149 | ····.line·1498 |
1128 | ····invoke-static·{v2,·v3},·Ljava/lang/Math;->abs(J)J | 1150 | ····invoke-static·{v2,·v3},·Ljava/lang/Math;->abs(J)J |
| |
1129 | ····move-result-wide·v11 | 1151 | ····move-result-wide·v11 |
| |
1130 | ····cmp-long·p0,·v11,·v9 | 1152 | ····cmp-long·p0,·v11,·v9 |
| |
1131 | ····if-gez·p0,·:cond_1 | 1153 | ····if-gez·p0,·:cond_1 |
| |
1132 | ····long-to-float·p0,·v2 | 1154 | ····long-to-float·p0,·v2 |
| |
1133 | ····div-float/2addr·p0,·v8 | 1155 | ····div-float/2addr·p0,·v8 |
| |
1134 | ····.line·1491 | 1156 | ····.line·1499 |
1135 | ····invoke-static·{p0},·Ljava/lang/Math;->round(F)I | 1157 | ····invoke-static·{p0},·Ljava/lang/Math;->round(F)I |
| |
1136 | ····move-result·p0 | 1158 | ····move-result·p0 |
| |
1137 | ····int-to-long·p0,·p0 | 1159 | ····int-to-long·p0,·p0 |
| |
1138 | ····mul-long/2addr·p0,·v6 | 1160 | ····mul-long/2addr·p0,·v6 |
| |
1139 | ····add-long/2addr·v0,·p0 | 1161 | ····add-long/2addr·v0,·p0 |
| |
1140 | ····.line·1492 | 1162 | ····.line·1500 |
1141 | ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 1163 | ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
1142 | ····move-result-object·p0 | 1164 | ····move-result-object·p0 |
| |
1143 | ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional; | 1165 | ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional; |
| |
1144 | ····move-result-object·p0 | 1166 | ····move-result-object·p0 |
Offset 1166, 50 lines modified | Offset 1188, 50 lines modified |
1166 | ····:cond_1 | 1188 | ····:cond_1 |
1167 | ····cmp-long·p0,·p1,·v4 | 1189 | ····cmp-long·p0,·p1,·v4 |
| |
1168 | ····if-lez·p0,·:cond_2 | 1190 | ····if-lez·p0,·:cond_2 |
| |
1169 | ····sub-long/2addr·p1,·v0 | 1191 | ····sub-long/2addr·p1,·v0 |
| |
1170 | ····.line·1497 | 1192 | ····.line·1505 |
1171 | ····invoke-static·{p1,·p2},·Ljava/lang/Math;->abs(J)J | 1193 | ····invoke-static·{p1,·p2},·Ljava/lang/Math;->abs(J)J |
| |
1172 | ····move-result-wide·v2 | 1194 | ····move-result-wide·v2 |
| |
1173 | ····cmp-long·p0,·v2,·v9 | 1195 | ····cmp-long·p0,·v2,·v9 |
| |
1174 | ····if-gez·p0,·:cond_2 | 1196 | ····if-gez·p0,·:cond_2 |
| |
1175 | ····long-to-float·p0,·p1 | 1197 | ····long-to-float·p0,·p1 |
| |
1176 | ····div-float/2addr·p0,·v8 | 1198 | ····div-float/2addr·p0,·v8 |
| |
1177 | ····.line·1498 | 1199 | ····.line·1506 |
1178 | ····invoke-static·{p0},·Ljava/lang/Math;->round(F)I | 1200 | ····invoke-static·{p0},·Ljava/lang/Math;->round(F)I |
| |
1179 | ····move-result·p0 | 1201 | ····move-result·p0 |
| |
1180 | ····int-to-long·p0,·p0 | 1202 | ····int-to-long·p0,·p0 |
| |
1181 | ····mul-long/2addr·p0,·v6 | 1203 | ····mul-long/2addr·p0,·v6 |
| |
1182 | ····add-long/2addr·v0,·p0 | 1204 | ····add-long/2addr·v0,·p0 |
| |
1183 | ····.line·1499 | 1205 | ····.line·1507 |
1184 | ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 1206 | ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
1185 | ····move-result-object·p0 | 1207 | ····move-result-object·p0 |
| |
1186 | ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional; | 1208 | ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional; |
| |
1187 | ····move-result-object·p0 | 1209 | ····move-result-object·p0 |
| |
1188 | ····return-object·p0 | 1210 | ····return-object·p0 |
| |
1189 | ····.line·1502 | 1211 | ····.line·1510 |
1190 | ····:cond_2 | 1212 | ····:cond_2 |
1191 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; | 1213 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; |
| |
1192 | ····move-result-object·p0 | 1214 | ····move-result-object·p0 |
| |
1193 | ····return-object·p0 | 1215 | ····return-object·p0 |
1194 | .end·method | 1216 | .end·method |
Offset 1225, 35 lines modified | Offset 1247, 35 lines modified |
1225 | ············"Ljava/lang/String;", | 1247 | ············"Ljava/lang/String;", |
1226 | ············">;" | 1248 | ············">;" |
1227 | ········} | 1249 | ········} |
1228 | ····.end·annotation | 1250 | ····.end·annotation |
| |
1229 | ····const/16·v0,·0x1d | 1251 | ····const/16·v0,·0x1d |
| |
1230 | ····.line·1528 | 1252 | ····.line·1536 |
1231 | ····invoke-virtual·{p0,·v0},·Landroid/media/MediaMetadataRetriever;->extractMetadata(I)Ljava/lang/String; | 1253 | ····invoke-virtual·{p0,·v0},·Landroid/media/MediaMetadataRetriever;->extractMetadata(I)Ljava/lang/String; |
| |
1232 | ····move-result-object·v0 | 1254 | ····move-result-object·v0 |
| |
1233 | ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->parseOptional(Ljava/lang/Object;)Ljava/util/Optional; | 1255 | ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->parseOptional(Ljava/lang/Object;)Ljava/util/Optional; |
| |
1234 | ····move-result-object·v0 | 1256 | ····move-result-object·v0 |
| |
1235 | ····const/16·v1,·0x1e | 1257 | ····const/16·v1,·0x1e |
| |
1236 | ····.line·1529 | 1258 | ····.line·1537 |
1237 | ····invoke-virtual·{p0,·v1},·Landroid/media/MediaMetadataRetriever;->extractMetadata(I)Ljava/lang/String; | 1259 | ····invoke-virtual·{p0,·v1},·Landroid/media/MediaMetadataRetriever;->extractMetadata(I)Ljava/lang/String; |
| |
1238 | ····move-result-object·p0 | 1260 | ····move-result-object·p0 |
| |
1239 | ····invoke-static·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner;->parseOptional(Ljava/lang/Object;)Ljava/util/Optional; | 1261 | ····invoke-static·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner;->parseOptional(Ljava/lang/Object;)Ljava/util/Optional; |
| |
1240 | ····move-result-object·p0 | 1262 | ····move-result-object·p0 |
| |
1241 | ····.line·1530 | 1263 | ····.line·1538 |
1242 | ····invoke-static·{v0,·p0},·Lcom/android/providers/media/scan/ModernMediaScanner;->parseOptionalResolution(Ljava/util/Optional;Ljava/util/Optional;)Ljava/util/Optional; | 1264 | ····invoke-static·{v0,·p0},·Lcom/android/providers/media/scan/ModernMediaScanner;->parseOptionalResolution(Ljava/util/Optional;Ljava/util/Optional;)Ljava/util/Optional; |
| |
1243 | ····move-result-object·p0 | 1265 | ····move-result-object·p0 |
| |
1244 | ····return-object·p0 | 1266 | ····return-object·p0 |
1245 | .end·method | 1267 | .end·method |
| |
Offset 1267, 15 lines modified | Offset 1289, 15 lines modified |
1267 | ············")", | 1289 | ············")", |
1268 | ············"Ljava/util/Optional<", | 1290 | ············"Ljava/util/Optional<", |
1269 | ············"Ljava/lang/String;", | 1291 | ············"Ljava/lang/String;", |
1270 | ············">;" | 1292 | ············">;" |
1271 | ········} | 1293 | ········} |
1272 | ····.end·annotation | 1294 | ····.end·annotation |
| |
1273 | ····.line·1617 | 1295 | ····.line·1625 |
1274 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 1296 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
1275 | ····move-result·v0 | 1297 | ····move-result·v0 |
| |
1276 | ····if-eqz·v0,·:cond_0 | 1298 | ····if-eqz·v0,·:cond_0 |
| |
1277 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; | 1299 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; |
Offset 1283, 24 lines modified | Offset 1305, 24 lines modified |
1283 | ····move-result-object·p0 | 1305 | ····move-result-object·p0 |
| |
1284 | ····return-object·p0 | 1306 | ····return-object·p0 |
| |
1285 | ····:cond_0 | 1307 | ····:cond_0 |
1286 | ····const/16·v0,·0x2f | 1308 | ····const/16·v0,·0x2f |
| |
1287 | ····.line·1620 | 1309 | ····.line·1628 |
1288 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->indexOf(I)I | 1310 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->indexOf(I)I |
| |
1289 | ····move-result·v0 | 1311 | ····move-result·v0 |
| |
1290 | ····const/4·v1,·-0x1 | 1312 | ····const/4·v1,·-0x1 |
| |
1291 | ····if-ne·v0,·v1,·:cond_1 | 1313 | ····if-ne·v0,·v1,·:cond_1 |
| |
1292 | ····.line·1621 | 1314 | ····.line·1629 |
1293 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; | 1315 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; |
| |
1294 | ····move-result-object·p0 | 1316 | ····move-result-object·p0 |
| |
1295 | ····return-object·p0 | 1317 | ····return-object·p0 |
| |
1296 | ····:cond_1 | 1318 | ····:cond_1 |
Offset 1312, 29 lines modified | Offset 1334, 29 lines modified |
| |
1312 | ····add-int/lit8·v5,·v0,·0x1 | 1334 | ····add-int/lit8·v5,·v0,·0x1 |
| |
1313 | ····move-object·v0,·p0 | 1335 | ····move-object·v0,·p0 |
| |
1314 | ····move-object·v3,·p1 | 1336 | ····move-object·v3,·p1 |
| |
1315 | ····.line·1623 | 1337 | ····.line·1631 |
1316 | ····invoke-virtual/range·{v0·..·v5},·Ljava/lang/String;->regionMatches(ZILjava/lang/String;II)Z | 1338 | ····invoke-virtual/range·{v0·..·v5},·Ljava/lang/String;->regionMatches(ZILjava/lang/String;II)Z |
| |
1317 | ····move-result·p0 | 1339 | ····move-result·p0 |
| |
1318 | ····if-eqz·p0,·:cond_2 | 1340 | ····if-eqz·p0,·:cond_2 |
| |
1319 | ····.line·1624 | 1341 | ····.line·1632 |
1320 | ····invoke-static·{p1},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional; | 1342 | ····invoke-static·{p1},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional; |
| |
1321 | ····move-result-object·p0 | 1343 | ····move-result-object·p0 |
| |
1322 | ····return-object·p0 | 1344 | ····return-object·p0 |
| |
1323 | ····.line·1626 | 1345 | ····.line·1634 |
1324 | ····:cond_2 | 1346 | ····:cond_2 |
1325 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; | 1347 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; |
| |
1326 | ····move-result-object·p0 | 1348 | ····move-result-object·p0 |
| |
1327 | ····return-object·p0 | 1349 | ····return-object·p0 |
1328 | .end·method | 1350 | .end·method |
Offset 1348, 52 lines modified | Offset 1370, 52 lines modified |
1348 | ············")", | 1370 | ············")", |
1349 | ············"Ljava/util/Optional<", | 1371 | ············"Ljava/util/Optional<", |
1350 | ············"Ljava/lang/Integer;", | 1372 | ············"Ljava/lang/Integer;", |
1351 | ············">;" | 1373 | ············">;" |
1352 | ········} | 1374 | ········} |
1353 | ····.end·annotation | 1375 | ····.end·annotation |
| |
1354 | ····.line·1455 | 1376 | ····.line·1463 |
1355 | ····invoke-static·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner;->parseOptional(Ljava/lang/Object;)Ljava/util/Optional; | 1377 | ····invoke-static·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner;->parseOptional(Ljava/lang/Object;)Ljava/util/Optional; |
| |
1356 | ····move-result-object·p0 | 1378 | ····move-result-object·p0 |
| |
1357 | ····.line·1456 | 1379 | ····.line·1464 |
1358 | ····invoke-virtual·{p0},·Ljava/util/Optional;->isPresent()Z | 1380 | ····invoke-virtual·{p0},·Ljava/util/Optional;->isPresent()Z |
| |
1359 | ····move-result·v0 | 1381 | ····move-result·v0 |
| |
1360 | ····if-eqz·v0,·:cond_1 | 1382 | ····if-eqz·v0,·:cond_1 |
| |
1361 | ····.line·1457 | 1383 | ····.line·1465 |
1362 | ····invoke-virtual·{p0},·Ljava/util/Optional;->get()Ljava/lang/Object; | 1384 | ····invoke-virtual·{p0},·Ljava/util/Optional;->get()Ljava/lang/Object; |
| |
1363 | ····move-result-object·p0 | 1385 | ····move-result-object·p0 |
| |
1364 | ····check-cast·p0,·Ljava/lang/String; | 1386 | ····check-cast·p0,·Ljava/lang/String; |
| |
1365 | ····const/16·v0,·0x2f | 1387 | ····const/16·v0,·0x2f |
| |
1366 | ····.line·1458 | 1388 | ····.line·1466 |
1367 | ····invoke-virtual·{p0,·v0},·Ljava/lang/String;->indexOf(I)I | 1389 | ····invoke-virtual·{p0,·v0},·Ljava/lang/String;->indexOf(I)I |
| |
1368 | ····move-result·v0 | 1390 | ····move-result·v0 |
| |
1369 | ····const/4·v1,·-0x1 | 1391 | ····const/4·v1,·-0x1 |
| |
1370 | ····if-eq·v0,·v1,·:cond_0 | 1392 | ····if-eq·v0,·v1,·:cond_0 |
| |
Max diff block lines reached; 92808/120047 bytes (77.31%) of diff not shown.
|