Offset 90, 193 lines modifiedOffset 90, 193 lines modified
90 .method·static·constructor·<clinit>()V90 .method·static·constructor·<clinit>()V
91 ····.locals·391 ····.locals·3
  
92 ····const-string·v0,·"ModernMediaScanner"92 ····const-string·v0,·"ModernMediaScanner"
  
93 ····const/4·v1,·0x593 ····const/4·v1,·0x5
  
94 ····.line·14294 ····.line·141
95 ····invoke-static·{v0,·v1},·Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z95 ····invoke-static·{v0,·v1},·Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
  
96 ····move-result·v196 ····move-result·v1
  
97 ····sput-boolean·v1,·Lcom/android/providers/media/scan/ModernMediaScanner;->LOGW:Z97 ····sput-boolean·v1,·Lcom/android/providers/media/scan/ModernMediaScanner;->LOGW:Z
  
98 ····const/4·v1,·0x398 ····const/4·v1,·0x3
  
99 ····.line·14399 ····.line·142
100 ····invoke-static·{v0,·v1},·Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z100 ····invoke-static·{v0,·v1},·Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
  
101 ····move-result·v1101 ····move-result·v1
  
102 ····sput-boolean·v1,·Lcom/android/providers/media/scan/ModernMediaScanner;->LOGD:Z102 ····sput-boolean·v1,·Lcom/android/providers/media/scan/ModernMediaScanner;->LOGD:Z
  
103 ····const/4·v1,·0x2103 ····const/4·v1,·0x2
  
104 ····.line·144104 ····.line·143
105 ····invoke-static·{v0,·v1},·Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z105 ····invoke-static·{v0,·v1},·Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
  
106 ····move-result·v0106 ····move-result·v0
  
107 ····sput-boolean·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->LOGV:Z107 ····sput-boolean·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->LOGV:Z
  
108 ····.line·155108 ····.line·154
109 ····new-instance·v0,·Ljava/text/SimpleDateFormat;109 ····new-instance·v0,·Ljava/text/SimpleDateFormat;
  
110 ····const-string·v1,·"yyyyMMdd\'T\'HHmmss"110 ····const-string·v1,·"yyyyMMdd\'T\'HHmmss"
  
111 ····invoke-direct·{v0,·v1},·Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V111 ····invoke-direct·{v0,·v1},·Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V
  
112 ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sDateFormat:Ljava/text/SimpleDateFormat;112 ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sDateFormat:Ljava/text/SimpleDateFormat;
  
113 ····const-string·v1,·"UTC"113 ····const-string·v1,·"UTC"
  
114 ····.line·156114 ····.line·155
115 ····invoke-static·{v1},·Ljava/util/TimeZone;->getTimeZone(Ljava/lang/String;)Ljava/util/TimeZone;115 ····invoke-static·{v1},·Ljava/util/TimeZone;->getTimeZone(Ljava/lang/String;)Ljava/util/TimeZone;
  
116 ····move-result-object·v1116 ····move-result-object·v1
  
117 ····invoke-virtual·{v0,·v1},·Ljava/text/SimpleDateFormat;->setTimeZone(Ljava/util/TimeZone;)V117 ····invoke-virtual·{v0,·v1},·Ljava/text/SimpleDateFormat;->setTimeZone(Ljava/util/TimeZone;)V
  
118 ····const-string·v0,·"(?i)^/storage/[^/]+(?:/[0-9]+)?(?:/Android/sandbox/([^/]+))?$"118 ····const-string·v0,·"(?i)^/storage/[^/]+(?:/[0-9]+)?(?:/Android/sandbox/([^/]+))?$"
  
119 ····.line·161119 ····.line·160
120 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;120 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
  
121 ····move-result-object·v0121 ····move-result-object·v0
  
122 ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_VISIBLE:Ljava/util/regex/Pattern;122 ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_VISIBLE:Ljava/util/regex/Pattern;
  
123 ····const-string·v0,·"(?i)^/storage/[^/]+(?:/[0-9]+)?(?:/Android/sandbox/([^/]+))?/(?:(?:Android/(?:data|obb)$)|(?:(?:Movies|Music|Pictures)/.thumbnails$))"123 ····const-string·v0,·"(?i)^/storage/[^/]+(?:/[0-9]+)?(?:/Android/sandbox/([^/]+))?/(?:(?:Android/(?:data|obb)$)|(?:(?:Movies|Music|Pictures)/.thumbnails$))"
  
124 ····.line·163124 ····.line·162
125 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;125 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
  
126 ····move-result-object·v0126 ····move-result-object·v0
  
127 ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_INVISIBLE:Ljava/util/regex/Pattern;127 ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_INVISIBLE:Ljava/util/regex/Pattern;
  
128 ····const-string·v0,·"([1-9][0-9][0-9][0-9])"128 ····const-string·v0,·"([1-9][0-9][0-9][0-9])"
  
129 ····.line·167129 ····.line·166
130 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;130 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
  
131 ····move-result-object·v0131 ····move-result-object·v0
  
132 ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_YEAR:Ljava/util/regex/Pattern;132 ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_YEAR:Ljava/util/regex/Pattern;
  
133 ····const-string·v0,·"(?i)(?:(?:^folder|(?:^AlbumArt(?:(?:_\\{.*\\}_)?(?:small|large))?))(?:\\.jpg$)|(?:\\._.*))"133 ····const-string·v0,·"(?i)(?:(?:^folder|(?:^AlbumArt(?:(?:_\\{.*\\}_)?(?:small|large))?))(?:\\.jpg$)|(?:\\._.*))"
  
134 ····.line·169134 ····.line·168
135 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;135 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
  
136 ····move-result-object·v0136 ····move-result-object·v0
  
137 ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_ALBUM_ART:Ljava/util/regex/Pattern;137 ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_ALBUM_ART:Ljava/util/regex/Pattern;
  
138 ····.line·987138 ····.line·952
139 ····new-instance·v0,·Landroid/util/ArrayMap;139 ····new-instance·v0,·Landroid/util/ArrayMap;
  
140 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V140 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V
  
141 ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap;141 ····sput-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap;
  
142 ····.line·990142 ····.line·955
143 ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_RINGTONES:Ljava/lang/String;143 ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_RINGTONES:Ljava/lang/String;
  
144 ····const-string·v2,·"is_ringtone"144 ····const-string·v2,·"is_ringtone"
  
145 ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;145 ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
  
146 ····.line·991146 ····.line·956
147 ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap;147 ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap;
  
148 ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_NOTIFICATIONS:Ljava/lang/String;148 ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_NOTIFICATIONS:Ljava/lang/String;
  
149 ····const-string·v2,·"is_notification"149 ····const-string·v2,·"is_notification"
  
150 ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;150 ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
  
151 ····.line·992151 ····.line·957
152 ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap;152 ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap;
  
153 ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_ALARMS:Ljava/lang/String;153 ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_ALARMS:Ljava/lang/String;
  
154 ····const-string·v2,·"is_alarm"154 ····const-string·v2,·"is_alarm"
  
155 ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;155 ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
  
156 ····.line·993156 ····.line·958
157 ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap;157 ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap;
  
158 ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_PODCASTS:Ljava/lang/String;158 ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_PODCASTS:Ljava/lang/String;
  
159 ····const-string·v2,·"is_podcast"159 ····const-string·v2,·"is_podcast"
  
160 ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;160 ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
  
161 ····.line·994161 ····.line·959
162 ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap;162 ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap;
  
163 ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_AUDIOBOOKS:Ljava/lang/String;163 ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_AUDIOBOOKS:Ljava/lang/String;
  
164 ····const-string·v2,·"is_audiobook"164 ····const-string·v2,·"is_audiobook"
  
165 ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;165 ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
  
166 ····.line·995166 ····.line·960
167 ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap;167 ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sAudioTypes:Landroid/util/ArrayMap;
  
168 ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_MUSIC:Ljava/lang/String;168 ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_MUSIC:Ljava/lang/String;
  
169 ····const-string·v2,·"is_music"169 ····const-string·v2,·"is_music"
  
170 ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;170 ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
  
171 ····return-void171 ····return-void
172 .end·method172 .end·method
  
173 .method·public·constructor·<init>(Landroid/content/Context;)V173 .method·public·constructor·<init>(Landroid/content/Context;)V
174 ····.locals·3174 ····.locals·3
  
175 ····.line·205175 ····.line·204
176 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V176 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
177 ····.line·179177 ····.line·178
178 ····new-instance·v0,·Landroid/util/ArrayMap;178 ····new-instance·v0,·Landroid/util/ArrayMap;
  
179 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V179 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V
  
180 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mSignals:Landroid/util/ArrayMap;180 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mSignals:Landroid/util/ArrayMap;
  
181 ····.line·196181 ····.line·195
182 ····new-instance·v0,·Landroid/util/ArrayMap;182 ····new-instance·v0,·Landroid/util/ArrayMap;
  
183 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V183 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V
  
184 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDirectoryLocks:Ljava/util/Map;184 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDirectoryLocks:Ljava/util/Map;
  
185 ····.line·203185 ····.line·202
186 ····new-instance·v0,·Landroid/util/ArraySet;186 ····new-instance·v0,·Landroid/util/ArraySet;
  
187 ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V187 ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V
  
188 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDrmMimeTypes:Ljava/util/Set;188 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDrmMimeTypes:Ljava/util/Set;
  
189 ····.line·206189 ····.line·205
190 ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mContext:Landroid/content/Context;190 ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mContext:Landroid/content/Context;
  
191 ····.line·207191 ····.line·206
192 ····new-instance·v0,·Landroid/drm/DrmManagerClient;192 ····new-instance·v0,·Landroid/drm/DrmManagerClient;
  
193 ····invoke-direct·{v0,·p1},·Landroid/drm/DrmManagerClient;-><init>(Landroid/content/Context;)V193 ····invoke-direct·{v0,·p1},·Landroid/drm/DrmManagerClient;-><init>(Landroid/content/Context;)V
  
194 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDrmClient:Landroid/drm/DrmManagerClient;194 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDrmClient:Landroid/drm/DrmManagerClient;
  
195 ····.line·211195 ····.line·210
196 ····invoke-virtual·{v0},·Landroid/drm/DrmManagerClient;->getAvailableDrmSupportInfo()Ljava/util/Collection;196 ····invoke-virtual·{v0},·Landroid/drm/DrmManagerClient;->getAvailableDrmSupportInfo()Ljava/util/Collection;
  
197 ····move-result-object·p1197 ····move-result-object·p1
  
198 ····invoke-interface·{p1},·Ljava/util/Collection;->iterator()Ljava/util/Iterator;198 ····invoke-interface·{p1},·Ljava/util/Collection;->iterator()Ljava/util/Iterator;
  
199 ····move-result-object·p1199 ····move-result-object·p1
Offset 290, 28 lines modifiedOffset 290, 28 lines modified
  
290 ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object;290 ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
291 ····move-result-object·v0291 ····move-result-object·v0
  
292 ····check-cast·v0,·Landroid/drm/DrmSupportInfo;292 ····check-cast·v0,·Landroid/drm/DrmSupportInfo;
  
293 ····.line·212293 ····.line·211
294 ····invoke-virtual·{v0},·Landroid/drm/DrmSupportInfo;->getMimeTypeIterator()Ljava/util/Iterator;294 ····invoke-virtual·{v0},·Landroid/drm/DrmSupportInfo;->getMimeTypeIterator()Ljava/util/Iterator;
  
295 ····move-result-object·v0295 ····move-result-object·v0
  
296 ····.line·213296 ····.line·212
297 ····:goto_0297 ····:goto_0
298 ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z298 ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z
  
299 ····move-result·v1299 ····move-result·v1
  
300 ····if-eqz·v1,·:cond_0300 ····if-eqz·v1,·:cond_0
  
301 ····.line·214301 ····.line·213
302 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDrmMimeTypes:Ljava/util/Set;302 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDrmMimeTypes:Ljava/util/Set;
  
303 ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object;303 ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
304 ····move-result-object·v2304 ····move-result-object·v2
  
305 ····check-cast·v2,·Ljava/lang/String;305 ····check-cast·v2,·Ljava/lang/String;
Offset 323, 82 lines modifiedOffset 323, 82 lines modified
323 ····:cond_1323 ····:cond_1
324 ····return-void324 ····return-void
325 .end·method325 .end·method
  
326 .method·static·synthetic·access$000(Lcom/android/providers/media/scan/ModernMediaScanner;)Landroid/content/Context;326 .method·static·synthetic·access$000(Lcom/android/providers/media/scan/ModernMediaScanner;)Landroid/content/Context;
327 ····.locals·0327 ····.locals·0
  
328 ····.line·140328 ····.line·139
329 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mContext:Landroid/content/Context;329 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mContext:Landroid/content/Context;
  
330 ····return-object·p0330 ····return-object·p0
331 .end·method331 .end·method
  
332 .method·static·synthetic·access$100(Lcom/android/providers/media/scan/ModernMediaScanner;Ljava/lang/String;)Landroid/os/CancellationSignal;332 .method·static·synthetic·access$100(Lcom/android/providers/media/scan/ModernMediaScanner;Ljava/lang/String;)Landroid/os/CancellationSignal;
333 ····.locals·0333 ····.locals·0
  
334 ····.line·140334 ····.line·139
335 ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->getOrCreateSignal(Ljava/lang/String;)Landroid/os/CancellationSignal;335 ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->getOrCreateSignal(Ljava/lang/String;)Landroid/os/CancellationSignal;
  
336 ····move-result-object·p0336 ····move-result-object·p0
  
337 ····return-object·p0337 ····return-object·p0
338 .end·method338 .end·method
  
339 .method·static·synthetic·access$200()Z339 .method·static·synthetic·access$200()Z
340 ····.locals·1340 ····.locals·1
  
341 ····.line·140341 ····.line·139
342 ····sget-boolean·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->LOGV:Z342 ····sget-boolean·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->LOGV:Z
  
343 ····return·v0343 ····return·v0
344 .end·method344 .end·method
  
345 .method·static·synthetic·access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map;345 .method·static·synthetic·access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map;
346 ····.locals·0346 ····.locals·0
  
347 ····.line·140347 ····.line·139
348 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDirectoryLocks:Ljava/util/Map;348 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDirectoryLocks:Ljava/util/Map;
  
349 ····return-object·p0349 ····return-object·p0
350 .end·method350 .end·method
  
351 .method·static·synthetic·access$500(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Set;351 .method·static·synthetic·access$500(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Set;
352 ····.locals·0352 ····.locals·0
  
353 ····.line·140353 ····.line·139
354 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDrmMimeTypes:Ljava/util/Set;354 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDrmMimeTypes:Ljava/util/Set;
  
355 ····return-object·p0355 ····return-object·p0
356 .end·method356 .end·method
  
357 .method·static·synthetic·access$600(Lcom/android/providers/media/scan/ModernMediaScanner;)Landroid/drm/DrmManagerClient;357 .method·static·synthetic·access$600(Lcom/android/providers/media/scan/ModernMediaScanner;)Landroid/drm/DrmManagerClient;
358 ····.locals·0358 ····.locals·0
  
359 ····.line·140359 ····.line·139
360 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDrmClient:Landroid/drm/DrmManagerClient;360 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mDrmClient:Landroid/drm/DrmManagerClient;
  
361 ····return-object·p0361 ····return-object·p0
362 .end·method362 .end·method
  
363 .method·static·synthetic·access$700(Ljava/io/File;Ljava/lang/String;Z)I363 .method·static·synthetic·access$700(Ljava/io/File;Ljava/lang/String;Z)I
364 ····.locals·0364 ····.locals·0
  
365 ····.line·140365 ····.line·139
366 ····invoke-static·{p0,·p1,·p2},·Lcom/android/providers/media/scan/ModernMediaScanner;->resolveMediaTypeFromFilePath(Ljava/io/File;Ljava/lang/String;Z)I366 ····invoke-static·{p0,·p1,·p2},·Lcom/android/providers/media/scan/ModernMediaScanner;->resolveMediaTypeFromFilePath(Ljava/io/File;Ljava/lang/String;Z)I
  
367 ····move-result·p0367 ····move-result·p0
  
368 ····return·p0368 ····return·p0
369 .end·method369 .end·method
  
370 .method·static·synthetic·access$800(JLjava/io/File;Ljava/nio/file/attribute/BasicFileAttributes;Ljava/lang/String;ILjava/lang/String;)Landroid/content/ContentProviderOperation$Builder;370 .method·static·synthetic·access$800(JLjava/io/File;Ljava/nio/file/attribute/BasicFileAttributes;Ljava/lang/String;ILjava/lang/String;)Landroid/content/ContentProviderOperation$Builder;
371 ····.locals·0371 ····.locals·0
  
372 ····.line·140372 ····.line·139
373 ····invoke-static/range·{p0·..·p6},·Lcom/android/providers/media/scan/ModernMediaScanner;->scanItem(JLjava/io/File;Ljava/nio/file/attribute/BasicFileAttributes;Ljava/lang/String;ILjava/lang/String;)Landroid/content/ContentProviderOperation$Builder;373 ····invoke-static/range·{p0·..·p6},·Lcom/android/providers/media/scan/ModernMediaScanner;->scanItem(JLjava/io/File;Ljava/nio/file/attribute/BasicFileAttributes;Ljava/lang/String;ILjava/lang/String;)Landroid/content/ContentProviderOperation$Builder;
  
374 ····move-result-object·p0374 ····move-result-object·p0
  
375 ····return-object·p0375 ····return-object·p0
376 .end·method376 .end·method
  
Offset 415, 98 lines modifiedOffset 415, 98 lines modified
415 ············"TT;>;"415 ············"TT;>;"
416 ········}416 ········}
417 ····.end·annotation417 ····.end·annotation
  
418 ····.annotation·runtime·Ljava/lang/SafeVarargs;418 ····.annotation·runtime·Ljava/lang/SafeVarargs;
419 ····.end·annotation419 ····.end·annotation
  
420 ····.line·1185420 ····.line·1154
421 ····array-length·v0,·p0421 ····array-length·v0,·p0
  
422 ····const/4·v1,·0x0422 ····const/4·v1,·0x0
  
423 ····:goto_0423 ····:goto_0
424 ····if-ge·v1,·v0,·:cond_1424 ····if-ge·v1,·v0,·:cond_1
  
425 ····aget-object·v2,·p0,·v1425 ····aget-object·v2,·p0,·v1
  
426 ····.line·1186426 ····.line·1155
427 ····invoke-virtual·{v2},·Ljava/util/Optional;->isPresent()Z427 ····invoke-virtual·{v2},·Ljava/util/Optional;->isPresent()Z
  
428 ····move-result·v3428 ····move-result·v3
  
429 ····if-eqz·v3,·:cond_0429 ····if-eqz·v3,·:cond_0
  
430 ····return-object·v2430 ····return-object·v2
  
431 ····:cond_0431 ····:cond_0
432 ····add-int/lit8·v1,·v1,·0x1432 ····add-int/lit8·v1,·v1,·0x1
  
433 ····goto·:goto_0433 ····goto·:goto_0
  
434 ····.line·1190434 ····.line·1159
435 ····:cond_1435 ····:cond_1
436 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;436 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;
  
437 ····move-result-object·p0437 ····move-result-object·p0
  
438 ····return-object·p0438 ····return-object·p0
439 .end·method439 .end·method
  
440 .method·private·getOrCreateSignal(Ljava/lang/String;)Landroid/os/CancellationSignal;440 .method·private·getOrCreateSignal(Ljava/lang/String;)Landroid/os/CancellationSignal;
441 ····.locals·2441 ····.locals·2
  
442 ····.line·258442 ····.line·257
443 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mSignals:Landroid/util/ArrayMap;443 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mSignals:Landroid/util/ArrayMap;
  
444 ····monitor-enter·v0444 ····monitor-enter·v0
  
445 ····.line·259445 ····.line·258
446 ····:try_start_0446 ····:try_start_0
447 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mSignals:Landroid/util/ArrayMap;447 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mSignals:Landroid/util/ArrayMap;
  
448 ····invoke-virtual·{v1,·p1},·Landroid/util/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;448 ····invoke-virtual·{v1,·p1},·Landroid/util/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
  
449 ····move-result-object·v1449 ····move-result-object·v1
  
450 ····check-cast·v1,·Landroid/os/CancellationSignal;450 ····check-cast·v1,·Landroid/os/CancellationSignal;
  
451 ····if-nez·v1,·:cond_0451 ····if-nez·v1,·:cond_0
  
452 ····.line·261452 ····.line·260
453 ····new-instance·v1,·Landroid/os/CancellationSignal;453 ····new-instance·v1,·Landroid/os/CancellationSignal;
  
454 ····invoke-direct·{v1},·Landroid/os/CancellationSignal;-><init>()V454 ····invoke-direct·{v1},·Landroid/os/CancellationSignal;-><init>()V
  
455 ····.line·262455 ····.line·261
456 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mSignals:Landroid/util/ArrayMap;456 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner;->mSignals:Landroid/util/ArrayMap;
  
457 ····invoke-virtual·{p0,·p1,·v1},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;457 ····invoke-virtual·{p0,·p1,·v1},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
  
458 ····.line·264458 ····.line·263
459 ····:cond_0459 ····:cond_0
460 ····monitor-exit·v0460 ····monitor-exit·v0
  
461 ····return-object·v1461 ····return-object·v1
  
462 ····:catchall_0462 ····:catchall_0
463 ····move-exception·p0463 ····move-exception·p0
  
464 ····.line·265464 ····.line·264
465 ····monitor-exit·v0465 ····monitor-exit·v0
466 ····:try_end_0466 ····:try_end_0
467 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0467 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0
  
468 ····throw·p0468 ····throw·p0
469 .end·method469 .end·method
  
470 .method·static·isFileAlbumArt(Ljava/io/File;)Z470 .method·static·isFileAlbumArt(Ljava/io/File;)Z
471 ····.locals·1471 ····.locals·1
  
472 ····.line·1469472 ····.line·1442
473 ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_ALBUM_ART:Ljava/util/regex/Pattern;473 ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->PATTERN_ALBUM_ART:Ljava/util/regex/Pattern;
  
474 ····invoke-virtual·{p0},·Ljava/io/File;->getName()Ljava/lang/String;474 ····invoke-virtual·{p0},·Ljava/io/File;->getName()Ljava/lang/String;
  
475 ····move-result-object·p0475 ····move-result-object·p0
  
476 ····invoke-virtual·{v0,·p0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;476 ····invoke-virtual·{v0,·p0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
Offset 519, 37 lines modifiedOffset 519, 37 lines modified
  
519 ····return·p0519 ····return·p0
520 .end·method520 .end·method
  
521 .method·static·isZero(Ljava/lang/String;)Z521 .method·static·isZero(Ljava/lang/String;)Z
522 ····.locals·4522 ····.locals·4
  
523 ····.line·1473523 ····.line·1446
524 ····invoke-virtual·{p0},·Ljava/lang/String;->length()I524 ····invoke-virtual·{p0},·Ljava/lang/String;->length()I
  
525 ····move-result·v0525 ····move-result·v0
  
526 ····const/4·v1,·0x0526 ····const/4·v1,·0x0
  
527 ····if-nez·v0,·:cond_0527 ····if-nez·v0,·:cond_0
  
528 ····return·v1528 ····return·v1
  
529 ····:cond_0529 ····:cond_0
530 ····move·v0,·v1530 ····move·v0,·v1
  
531 ····.line·1476531 ····.line·1449
532 ····:goto_0532 ····:goto_0
533 ····invoke-virtual·{p0},·Ljava/lang/String;->length()I533 ····invoke-virtual·{p0},·Ljava/lang/String;->length()I
  
534 ····move-result·v2534 ····move-result·v2
  
535 ····if-ge·v0,·v2,·:cond_2535 ····if-ge·v0,·v2,·:cond_2
  
536 ····.line·1477536 ····.line·1450
537 ····invoke-virtual·{p0,·v0},·Ljava/lang/String;->charAt(I)C537 ····invoke-virtual·{p0,·v0},·Ljava/lang/String;->charAt(I)C
  
538 ····move-result·v2538 ····move-result·v2
  
539 ····const/16·v3,·0x30539 ····const/16·v3,·0x30
  
540 ····if-eq·v2,·v3,·:cond_1540 ····if-eq·v2,·v3,·:cond_1
Offset 566, 53 lines modifiedOffset 566, 53 lines modified
  
566 ····return·p0566 ····return·p0
567 .end·method567 .end·method
  
568 .method·public·static·lastModifiedTime(Ljava/io/File;Ljava/nio/file/attribute/BasicFileAttributes;)J568 .method·public·static·lastModifiedTime(Ljava/io/File;Ljava/nio/file/attribute/BasicFileAttributes;)J
569 ····.locals·2569 ····.locals·2
  
570 ····.line·1395570 ····.line·1368
571 ····invoke-static·{},·Landroid/os/Environment;->getStorageDirectory()Ljava/io/File;571 ····invoke-static·{},·Landroid/os/Environment;->getStorageDirectory()Ljava/io/File;
  
572 ····move-result-object·v0572 ····move-result-object·v0
  
573 ····invoke-static·{v0,·p0},·Lcom/android/providers/media/util/FileUtils;->contains(Ljava/io/File;Ljava/io/File;)Z573 ····invoke-static·{v0,·p0},·Lcom/android/providers/media/util/FileUtils;->contains(Ljava/io/File;Ljava/io/File;)Z
  
574 ····move-result·p0574 ····move-result·p0
  
575 ····const-wide/16·v0,·0x3e8575 ····const-wide/16·v0,·0x3e8
  
576 ····if-eqz·p0,·:cond_0576 ····if-eqz·p0,·:cond_0
  
577 ····.line·1396577 ····.line·1369
578 ····invoke-interface·{p1},·Ljava/nio/file/attribute/BasicFileAttributes;->lastModifiedTime()Ljava/nio/file/attribute/FileTime;578 ····invoke-interface·{p1},·Ljava/nio/file/attribute/BasicFileAttributes;->lastModifiedTime()Ljava/nio/file/attribute/FileTime;
  
579 ····move-result-object·p0579 ····move-result-object·p0
  
580 ····invoke-virtual·{p0},·Ljava/nio/file/attribute/FileTime;->toMillis()J580 ····invoke-virtual·{p0},·Ljava/nio/file/attribute/FileTime;->toMillis()J
  
581 ····move-result-wide·p0581 ····move-result-wide·p0
  
582 ····div-long/2addr·p0,·v0582 ····div-long/2addr·p0,·v0
  
583 ····return-wide·p0583 ····return-wide·p0
  
584 ····.line·1398584 ····.line·1371
585 ····:cond_0585 ····:cond_0
586 ····sget-wide·p0,·Landroid/os/Build;->TIME:J586 ····sget-wide·p0,·Landroid/os/Build;->TIME:J
  
587 ····div-long/2addr·p0,·v0587 ····div-long/2addr·p0,·v0
  
588 ····return-wide·p0588 ····return-wide·p0
589 .end·method589 .end·method
  
590 .method·static·logTroubleScanning(Ljava/io/File;Ljava/lang/Exception;)V590 .method·static·logTroubleScanning(Ljava/io/File;Ljava/lang/Exception;)V
591 ····.locals·2591 ····.locals·2
  
592 ····.line·1485592 ····.line·1458
593 ····sget-boolean·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->LOGW:Z593 ····sget-boolean·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->LOGW:Z
  
594 ····if-eqz·v0,·:cond_0594 ····if-eqz·v0,·:cond_0
  
595 ····new-instance·v0,·Ljava/lang/StringBuilder;595 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
596 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V596 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V
Offset 640, 55 lines modifiedOffset 640, 55 lines modified
640 ····:cond_0640 ····:cond_0
641 ····return-void641 ····return-void
642 .end·method642 .end·method
  
643 .method·private·static·newUpsert(Ljava/lang/String;J)Landroid/content/ContentProviderOperation$Builder;643 .method·private·static·newUpsert(Ljava/lang/String;J)Landroid/content/ContentProviderOperation$Builder;
644 ····.locals·2644 ····.locals·2
  
645 ····.line·1169645 ····.line·1138
646 ····invoke-static·{p0},·Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;)Landroid/net/Uri;646 ····invoke-static·{p0},·Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;)Landroid/net/Uri;
  
647 ····move-result-object·p0647 ····move-result-object·p0
  
648 ····const-wide/16·v0,·-0x1648 ····const-wide/16·v0,·-0x1
  
649 ····cmp-long·v0,·p1,·v0649 ····cmp-long·v0,·p1,·v0
  
650 ····const/4·v1,·0x1650 ····const/4·v1,·0x1
  
651 ····if-nez·v0,·:cond_0651 ····if-nez·v0,·:cond_0
  
652 ····.line·1171652 ····.line·1140
653 ····invoke-static·{p0},·Landroid/content/ContentProviderOperation;->newInsert(Landroid/net/Uri;)Landroid/content/ContentProviderOperation$Builder;653 ····invoke-static·{p0},·Landroid/content/ContentProviderOperation;->newInsert(Landroid/net/Uri;)Landroid/content/ContentProviderOperation$Builder;
  
654 ····move-result-object·p0654 ····move-result-object·p0
  
655 ····.line·1172655 ····.line·1141
656 ····invoke-virtual·{p0,·v1},·Landroid/content/ContentProviderOperation$Builder;->withExceptionAllowed(Z)Landroid/content/ContentProviderOperation$Builder;656 ····invoke-virtual·{p0,·v1},·Landroid/content/ContentProviderOperation$Builder;->withExceptionAllowed(Z)Landroid/content/ContentProviderOperation$Builder;
  
657 ····move-result-object·p0657 ····move-result-object·p0
  
658 ····return-object·p0658 ····return-object·p0
  
659 ····.line·1174659 ····.line·1143
660 ····:cond_0660 ····:cond_0
661 ····invoke-static·{p0,·p1,·p2},·Landroid/content/ContentUris;->withAppendedId(Landroid/net/Uri;J)Landroid/net/Uri;661 ····invoke-static·{p0,·p1,·p2},·Landroid/content/ContentUris;->withAppendedId(Landroid/net/Uri;J)Landroid/net/Uri;
  
662 ····move-result-object·p0662 ····move-result-object·p0
  
663 ····invoke-static·{p0},·Landroid/content/ContentProviderOperation;->newUpdate(Landroid/net/Uri;)Landroid/content/ContentProviderOperation$Builder;663 ····invoke-static·{p0},·Landroid/content/ContentProviderOperation;->newUpdate(Landroid/net/Uri;)Landroid/content/ContentProviderOperation$Builder;
  
664 ····move-result-object·p0664 ····move-result-object·p0
  
665 ····.line·1175665 ····.line·1144
666 ····invoke-virtual·{p0,·v1},·Landroid/content/ContentProviderOperation$Builder;->withExpectedCount(I)Landroid/content/ContentProviderOperation$Builder;666 ····invoke-virtual·{p0,·v1},·Landroid/content/ContentProviderOperation$Builder;->withExpectedCount(I)Landroid/content/ContentProviderOperation$Builder;
  
667 ····move-result-object·p0667 ····move-result-object·p0
  
668 ····.line·1176668 ····.line·1145
669 ····invoke-virtual·{p0,·v1},·Landroid/content/ContentProviderOperation$Builder;->withExceptionAllowed(Z)Landroid/content/ContentProviderOperation$Builder;669 ····invoke-virtual·{p0,·v1},·Landroid/content/ContentProviderOperation$Builder;->withExceptionAllowed(Z)Landroid/content/ContentProviderOperation$Builder;
  
670 ····move-result-object·p0670 ····move-result-object·p0
  
671 ····return-object·p0671 ····return-object·p0
672 .end·method672 .end·method
  
Offset 702, 22 lines modifiedOffset 702, 22 lines modified
702 ············"Ljava/util/Optional<",702 ············"Ljava/util/Optional<",
703 ············"TT;>;"703 ············"TT;>;"
704 ········}704 ········}
705 ····.end·annotation705 ····.end·annotation
  
706 ····if-nez·p0,·:cond_0706 ····if-nez·p0,·:cond_0
  
707 ····.line·1196707 ····.line·1165
708 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;708 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;
  
709 ····move-result-object·p0709 ····move-result-object·p0
  
710 ····return-object·p0710 ····return-object·p0
  
711 ····.line·1197711 ····.line·1166
712 ····:cond_0712 ····:cond_0
713 ····instance-of·v0,·p0,·Ljava/lang/String;713 ····instance-of·v0,·p0,·Ljava/lang/String;
  
714 ····if-eqz·v0,·:cond_1714 ····if-eqz·v0,·:cond_1
  
715 ····move-object·v1,·p0715 ····move-object·v1,·p0
  
Offset 725, 70 lines modifiedOffset 725, 70 lines modified
  
725 ····invoke-virtual·{v1},·Ljava/lang/String;->length()I725 ····invoke-virtual·{v1},·Ljava/lang/String;->length()I
  
726 ····move-result·v1726 ····move-result·v1
  
727 ····if-nez·v1,·:cond_1727 ····if-nez·v1,·:cond_1
  
728 ····.line·1198728 ····.line·1167
729 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;729 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;
  
730 ····move-result-object·p0730 ····move-result-object·p0
  
731 ····return-object·p0731 ····return-object·p0
  
732 ····:cond_1732 ····:cond_1
733 ····if-eqz·v0,·:cond_2733 ····if-eqz·v0,·:cond_2
  
734 ····.line·1199734 ····.line·1168
735 ····move-object·v1,·p0735 ····move-object·v1,·p0
  
736 ····check-cast·v1,·Ljava/lang/String;736 ····check-cast·v1,·Ljava/lang/String;
  
737 ····const-string·v2,·"-1"737 ····const-string·v2,·"-1"
  
738 ····invoke-virtual·{v1,·v2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z738 ····invoke-virtual·{v1,·v2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
739 ····move-result·v1739 ····move-result·v1
  
740 ····if-eqz·v1,·:cond_2740 ····if-eqz·v1,·:cond_2
  
741 ····.line·1200741 ····.line·1169
742 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;742 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;
  
743 ····move-result-object·p0743 ····move-result-object·p0
  
744 ····return-object·p0744 ····return-object·p0
  
745 ····:cond_2745 ····:cond_2
746 ····if-eqz·v0,·:cond_3746 ····if-eqz·v0,·:cond_3
  
747 ····.line·1201747 ····.line·1170
748 ····move-object·v0,·p0748 ····move-object·v0,·p0
  
749 ····check-cast·v0,·Ljava/lang/String;749 ····check-cast·v0,·Ljava/lang/String;
  
750 ····invoke-virtual·{v0},·Ljava/lang/String;->trim()Ljava/lang/String;750 ····invoke-virtual·{v0},·Ljava/lang/String;->trim()Ljava/lang/String;
  
751 ····move-result-object·v0751 ····move-result-object·v0
  
752 ····invoke-virtual·{v0},·Ljava/lang/String;->length()I752 ····invoke-virtual·{v0},·Ljava/lang/String;->length()I
  
753 ····move-result·v0753 ····move-result·v0
  
754 ····if-nez·v0,·:cond_3754 ····if-nez·v0,·:cond_3
  
755 ····.line·1202755 ····.line·1171
756 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;756 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;
  
757 ····move-result-object·p0757 ····move-result-object·p0
  
758 ····return-object·p0758 ····return-object·p0
  
759 ····.line·1203759 ····.line·1172
760 ····:cond_3760 ····:cond_3
761 ····instance-of·v0,·p0,·Ljava/lang/Number;761 ····instance-of·v0,·p0,·Ljava/lang/Number;
  
762 ····if-eqz·v0,·:cond_4762 ····if-eqz·v0,·:cond_4
  
763 ····move-object·v0,·p0763 ····move-object·v0,·p0
  
Offset 798, 22 lines modifiedOffset 798, 22 lines modified
  
798 ····move-result·v0798 ····move-result·v0
  
799 ····const/4·v1,·-0x1799 ····const/4·v1,·-0x1
  
800 ····if-ne·v0,·v1,·:cond_4800 ····if-ne·v0,·v1,·:cond_4
  
801 ····.line·1204801 ····.line·1173
802 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;802 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;
  
803 ····move-result-object·p0803 ····move-result-object·p0
  
804 ····return-object·p0804 ····return-object·p0
  
805 ····.line·1206805 ····.line·1175
806 ····:cond_4806 ····:cond_4
807 ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional;807 ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional;
  
808 ····move-result-object·p0808 ····move-result-object·p0
  
809 ····return-object·p0809 ····return-object·p0
810 .end·method810 .end·method
Offset 827, 37 lines modifiedOffset 827, 37 lines modified
827 ············")",827 ············")",
828 ············"Ljava/util/Optional<",828 ············"Ljava/util/Optional<",
829 ············"Ljava/lang/Long;",829 ············"Ljava/lang/Long;",
830 ············">;"830 ············">;"
831 ········}831 ········}
832 ····.end·annotation832 ····.end·annotation
  
833 ····.line·1321833 ····.line·1294
834 ····invoke-static·{p0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z834 ····invoke-static·{p0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
  
835 ····move-result·v0835 ····move-result·v0
  
836 ····if-eqz·v0,·:cond_0836 ····if-eqz·v0,·:cond_0
  
837 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;837 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;
  
838 ····move-result-object·p0838 ····move-result-object·p0
  
839 ····return-object·p0839 ····return-object·p0
  
840 ····.line·1323840 ····.line·1296
841 ····:cond_0841 ····:cond_0
842 ····:try_start_0842 ····:try_start_0
843 ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sDateFormat:Ljava/text/SimpleDateFormat;843 ····sget-object·v0,·Lcom/android/providers/media/scan/ModernMediaScanner;->sDateFormat:Ljava/text/SimpleDateFormat;
  
844 ····monitor-enter·v0844 ····monitor-enter·v0
845 ····:try_end_0845 ····:try_end_0
846 ····.catch·Ljava/text/ParseException;·{:try_start_0·..·:try_end_0}·:catch_0846 ····.catch·Ljava/text/ParseException;·{:try_start_0·..·:try_end_0}·:catch_0
  
847 ····.line·1324847 ····.line·1297
848 ····:try_start_1848 ····:try_start_1
849 ····sget-object·v1,·Lcom/android/providers/media/scan/ModernMediaScanner;->sDateFormat:Ljava/text/SimpleDateFormat;849 ····sget-object·v1,·Lcom/android/providers/media/scan/ModernMediaScanner;->sDateFormat:Ljava/text/SimpleDateFormat;
  
850 ····invoke-virtual·{v1,·p0},·Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;850 ····invoke-virtual·{v1,·p0},·Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;
  
851 ····move-result-object·p0851 ····move-result-object·p0
  
Offset 867, 15 lines modifiedOffset 867, 15 lines modified
  
867 ····const-wide/16·v3,·0x0867 ····const-wide/16·v3,·0x0
  
868 ····cmp-long·p0,·v1,·v3868 ····cmp-long·p0,·v1,·v3
  
869 ····if-lez·p0,·:cond_1869 ····if-lez·p0,·:cond_1
  
870 ····.line·1325870 ····.line·1298
871 ····invoke-static·{v1,·v2},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;871 ····invoke-static·{v1,·v2},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
  
872 ····move-result-object·p0872 ····move-result-object·p0
  
873 ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional;873 ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional;
  
874 ····move-result-object·p0874 ····move-result-object·p0
Offset 891, 25 lines modifiedOffset 891, 25 lines modified
891 ····monitor-exit·v0891 ····monitor-exit·v0
  
892 ····return-object·p0892 ····return-object·p0
  
893 ····:catchall_0893 ····:catchall_0
894 ····move-exception·p0894 ····move-exception·p0
  
895 ····.line·1326895 ····.line·1299
896 ····monitor-exit·v0896 ····monitor-exit·v0
897 ····:try_end_1897 ····:try_end_1
898 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0898 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0
  
899 ····:try_start_2899 ····:try_start_2
900 ····throw·p0900 ····throw·p0
901 ····:try_end_2901 ····:try_end_2
902 ····.catch·Ljava/text/ParseException;·{:try_start_2·..·:try_end_2}·:catch_0902 ····.catch·Ljava/text/ParseException;·{:try_start_2·..·:try_end_2}·:catch_0
  
903 ····.line·1328903 ····.line·1301
904 ····:catch_0904 ····:catch_0
905 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;905 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;
  
906 ····move-result-object·p0906 ····move-result-object·p0
  
907 ····return-object·p0907 ····return-object·p0
908 .end·method908 .end·method
Offset 923, 40 lines modifiedOffset 923, 40 lines modified
923 ············"J)",923 ············"J)",
924 ············"Ljava/util/Optional<",924 ············"Ljava/util/Optional<",
925 ············"Ljava/lang/Long;",925 ············"Ljava/lang/Long;",
926 ············">;"926 ············">;"
927 ········}927 ········}
928 ····.end·annotation928 ····.end·annotation
  
929 ····.line·1248929 ····.line·1217
930 ····invoke-static·{p0},·Lcom/android/providers/media/util/ExifUtils;->getDateTimeOriginal(Landroid/media/ExifInterface;)J930 ····invoke-static·{p0},·Lcom/android/providers/media/util/ExifUtils;->getDateTimeOriginal(Landroid/media/ExifInterface;)J
  
931 ····move-result-wide·v0931 ····move-result-wide·v0
  
932 ····const-string·v2,·"OffsetTimeOriginal"932 ····const-string·v2,·"OffsetTimeOriginal"
  
933 ····.line·1249933 ····.line·1218
934 ····invoke-virtual·{p0,·v2},·Landroid/media/ExifInterface;->hasAttribute(Ljava/lang/String;)Z934 ····invoke-virtual·{p0,·v2},·Landroid/media/ExifInterface;->hasAttribute(Ljava/lang/String;)Z
  
935 ····move-result·v2935 ····move-result·v2
  
936 ····if-eqz·v2,·:cond_0936 ····if-eqz·v2,·:cond_0
  
937 ····.line·1251937 ····.line·1220
938 ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;938 ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
  
939 ····move-result-object·p0939 ····move-result-object·p0
  
940 ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional;940 ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional;
  
941 ····move-result-object·p0941 ····move-result-object·p0
  
942 ····return-object·p0942 ····return-object·p0
  
943 ····.line·1255943 ····.line·1224
944 ····:cond_0944 ····:cond_0
945 ····invoke-static·{p0},·Lcom/android/providers/media/util/ExifUtils;->getGpsDateTime(Landroid/media/ExifInterface;)J945 ····invoke-static·{p0},·Lcom/android/providers/media/util/ExifUtils;->getGpsDateTime(Landroid/media/ExifInterface;)J
  
946 ····move-result-wide·v2946 ····move-result-wide·v2
  
947 ····const-wide/16·v4,·0x0947 ····const-wide/16·v4,·0x0
  
Offset 968, 39 lines modifiedOffset 968, 39 lines modified
  
968 ····const-wide/32·v9,·0x5265c00968 ····const-wide/32·v9,·0x5265c00
  
969 ····if-lez·p0,·:cond_1969 ····if-lez·p0,·:cond_1
  
970 ····sub-long/2addr·v2,·v0970 ····sub-long/2addr·v2,·v0
  
971 ····.line·1258971 ····.line·1227
972 ····invoke-static·{v2,·v3},·Ljava/lang/Math;->abs(J)J972 ····invoke-static·{v2,·v3},·Ljava/lang/Math;->abs(J)J
  
973 ····move-result-wide·v11973 ····move-result-wide·v11
  
974 ····cmp-long·p0,·v11,·v9974 ····cmp-long·p0,·v11,·v9
  
975 ····if-gez·p0,·:cond_1975 ····if-gez·p0,·:cond_1
  
976 ····long-to-float·p0,·v2976 ····long-to-float·p0,·v2
  
977 ····div-float/2addr·p0,·v8977 ····div-float/2addr·p0,·v8
  
978 ····.line·1259978 ····.line·1228
979 ····invoke-static·{p0},·Ljava/lang/Math;->round(F)I979 ····invoke-static·{p0},·Ljava/lang/Math;->round(F)I
  
980 ····move-result·p0980 ····move-result·p0
  
981 ····int-to-long·p0,·p0981 ····int-to-long·p0,·p0
  
982 ····mul-long/2addr·p0,·v6982 ····mul-long/2addr·p0,·v6
  
983 ····add-long/2addr·v0,·p0983 ····add-long/2addr·v0,·p0
  
984 ····.line·1260984 ····.line·1229
985 ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;985 ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
  
986 ····move-result-object·p0986 ····move-result-object·p0
  
987 ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional;987 ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional;
  
988 ····move-result-object·p0988 ····move-result-object·p0
Offset 1010, 50 lines modifiedOffset 1010, 50 lines modified
1010 ····:cond_11010 ····:cond_1
1011 ····cmp-long·p0,·p1,·v41011 ····cmp-long·p0,·p1,·v4
  
1012 ····if-lez·p0,·:cond_21012 ····if-lez·p0,·:cond_2
  
1013 ····sub-long/2addr·p1,·v01013 ····sub-long/2addr·p1,·v0
  
1014 ····.line·12651014 ····.line·1234
1015 ····invoke-static·{p1,·p2},·Ljava/lang/Math;->abs(J)J1015 ····invoke-static·{p1,·p2},·Ljava/lang/Math;->abs(J)J
  
1016 ····move-result-wide·v21016 ····move-result-wide·v2
  
1017 ····cmp-long·p0,·v2,·v91017 ····cmp-long·p0,·v2,·v9
  
1018 ····if-gez·p0,·:cond_21018 ····if-gez·p0,·:cond_2
  
1019 ····long-to-float·p0,·p11019 ····long-to-float·p0,·p1
  
1020 ····div-float/2addr·p0,·v81020 ····div-float/2addr·p0,·v8
  
1021 ····.line·12661021 ····.line·1235
1022 ····invoke-static·{p0},·Ljava/lang/Math;->round(F)I1022 ····invoke-static·{p0},·Ljava/lang/Math;->round(F)I
  
1023 ····move-result·p01023 ····move-result·p0
  
1024 ····int-to-long·p0,·p01024 ····int-to-long·p0,·p0
  
1025 ····mul-long/2addr·p0,·v61025 ····mul-long/2addr·p0,·v6
  
1026 ····add-long/2addr·v0,·p01026 ····add-long/2addr·v0,·p0
  
1027 ····.line·12671027 ····.line·1236
1028 ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;1028 ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
  
1029 ····move-result-object·p01029 ····move-result-object·p0
  
1030 ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional;1030 ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional;
  
1031 ····move-result-object·p01031 ····move-result-object·p0
  
1032 ····return-object·p01032 ····return-object·p0
  
1033 ····.line·12701033 ····.line·1239
1034 ····:cond_21034 ····:cond_2
1035 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;1035 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;
  
1036 ····move-result-object·p01036 ····move-result-object·p0
  
1037 ····return-object·p01037 ····return-object·p0
1038 .end·method1038 .end·method
Offset 1069, 36 lines modifiedOffset 1069, 81 lines modified
1069 ············"Ljava/lang/String;",1069 ············"Ljava/lang/String;",
1070 ············">;"1070 ············">;"
1071 ········}1071 ········}
1072 ····.end·annotation1072 ····.end·annotation
  
1073 ····const/16·v0,·0x1d1073 ····const/16·v0,·0x1d
  
1074 ····.line·12961074 ····.line·1269
1075 ····invoke-virtual·{p0,·v0},·Landroid/media/MediaMetadataRetriever;->extractMetadata(I)Ljava/lang/String;1075 ····invoke-virtual·{p0,·v0},·Landroid/media/MediaMetadataRetriever;->extractMetadata(I)Ljava/lang/String;
  
1076 ····move-result-object·v01076 ····move-result-object·v0
  
1077 ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->parseOptional(Ljava/lang/Object;)Ljava/util/Optional;1077 ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->parseOptional(Ljava/lang/Object;)Ljava/util/Optional;
  
1078 ····move-result-object·v01078 ····move-result-object·v0
  
1079 ····const/16·v1,·0x1e1079 ····const/16·v1,·0x1e
  
1080 ····.line·12971080 ····.line·1270
1081 ····invoke-virtual·{p0,·v1},·Landroid/media/MediaMetadataRetriever;->extractMetadata(I)Ljava/lang/String;1081 ····invoke-virtual·{p0,·v1},·Landroid/media/MediaMetadataRetriever;->extractMetadata(I)Ljava/lang/String;
  
1082 ····move-result-object·p01082 ····move-result-object·p0
  
1083 ····invoke-static·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner;->parseOptional(Ljava/lang/Object;)Ljava/util/Optional;1083 ····invoke-static·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner;->parseOptional(Ljava/lang/Object;)Ljava/util/Optional;
  
1084 ····move-result-object·p01084 ····move-result-object·p0
  
1085 ····.line·12981085 ····.line·1271
1086 ····invoke-static·{v0,·p0},·Lcom/android/providers/media/scan/ModernMediaScanner;->parseOptionalResolution(Ljava/util/Optional;Ljava/util/Optional;)Ljava/util/Optional;1086 ····invoke-virtual·{v0},·Ljava/util/Optional;->isPresent()Z
  
 1087 ····move-result·v1
  
 1088 ····if-eqz·v1,·:cond_0
  
 1089 ····invoke-virtual·{p0},·Ljava/util/Optional;->isPresent()Z
  
 1090 ····move-result·v1
  
 1091 ····if-eqz·v1,·:cond_0
  
 1092 ····.line·1272
 1093 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
 1094 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V
  
 1095 ····invoke-virtual·{v0},·Ljava/util/Optional;->get()Ljava/lang/Object;
  
 1096 ····move-result-object·v0
  
 1097 ····invoke-virtual·{v1,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
  
 1098 ····const-string·v0,·"\u00d7"
  
 1099 ····invoke-virtual·{v1,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
 1100 ····invoke-virtual·{p0},·Ljava/util/Optional;->get()Ljava/lang/Object;
  
 1101 ····move-result-object·p0
  
 1102 ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
  
 1103 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
 1104 ····move-result-object·p0
  
 1105 ····invoke-static·{p0},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional;
  
 1106 ····move-result-object·p0
  
 1107 ····return-object·p0
  
 1108 ····.line·1274
 1109 ····:cond_0
 1110 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;
  
1087 ····move-result-object·p01111 ····move-result-object·p0
  
1088 ····return-object·p01112 ····return-object·p0
1089 .end·method1113 .end·method
  
1090 .method·static·parseOptionalMimeType(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Optional;1114 .method·static·parseOptionalMimeType(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Optional;
Offset 1111, 15 lines modifiedOffset 1156, 15 lines modified
1111 ············")",1156 ············")",
1112 ············"Ljava/util/Optional<",1157 ············"Ljava/util/Optional<",
1113 ············"Ljava/lang/String;",1158 ············"Ljava/lang/String;",
1114 ············">;"1159 ············">;"
1115 ········}1160 ········}
1116 ····.end·annotation1161 ····.end·annotation
  
1117 ····.line·13691162 ····.line·1342
1118 ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z1163 ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
  
1119 ····move-result·v01164 ····move-result·v0
  
1120 ····if-eqz·v0,·:cond_01165 ····if-eqz·v0,·:cond_0
  
1121 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;1166 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;
Offset 1127, 24 lines modifiedOffset 1172, 24 lines modified
1127 ····move-result-object·p01172 ····move-result-object·p0
  
1128 ····return-object·p01173 ····return-object·p0
  
1129 ····:cond_01174 ····:cond_0
1130 ····const/16·v0,·0x2f1175 ····const/16·v0,·0x2f
  
1131 ····.line·13721176 ····.line·1345
1132 ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->indexOf(I)I1177 ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->indexOf(I)I
  
1133 ····move-result·v01178 ····move-result·v0
  
1134 ····const/4·v1,·-0x11179 ····const/4·v1,·-0x1
  
1135 ····if-ne·v0,·v1,·:cond_11180 ····if-ne·v0,·v1,·:cond_1
  
1136 ····.line·13731181 ····.line·1346
1137 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;1182 ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional;
  
1138 ····move-result-object·p01183 ····move-result-object·p0
  
1139 ····return-object·p01184 ····return-object·p0
  
1140 ····:cond_11185 ····:cond_1
Offset 1156, 55 lines modifiedOffset 1201, 55 lines modified
  
1156 ····add-int/lit8·v5,·v0,·0x11201 ····add-int/lit8·v5,·v0,·0x1
  
1157 ····move-object·v0,·p01202 ····move-object·v0,·p0
  
1158 ····move-object·v3,·p11203 ····move-object·v3,·p1
  
1159 ····.line·13751204 ····.line·1348
1160 ····invoke-virtual/range·{v0·..·v5},·Ljava/lang/String;->regionMatches(ZILjava/lang/String;II)Z1205 ····invoke-virtual/range·{v0·..·v5},·Ljava/lang/String;->regionMatches(ZILjava/lang/String;II)Z
  
1161 ····move-result·v01206 ····move-result·v0
  
1162 ····if-eqz·v0,·:cond_21207 ····if-eqz·v0,·:cond_2
  
1163 ····.line·13761208 ····.line·1349
1164 ····invoke-static·{p1},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional;1209 ····invoke-static·{p1},·Ljava/util/Optional;->of(Ljava/lang/Object;)Ljava/util/Optional;
  
1165 ····move-result-object·p01210 ····move-result-object·p0
Max diff block lines reached; 92274/120302 bytes (76.70%) of diff not shown.