Offset 90, 166 lines modifiedOffset 90, 166 lines modified
90 .field·final·synthetic·this$0:Lcom/android/providers/media/scan/ModernMediaScanner;90 .field·final·synthetic·this$0:Lcom/android/providers/media/scan/ModernMediaScanner;
  
  
91 #·direct·methods91 #·direct·methods
92 .method·public·constructor·<init>(Lcom/android/providers/media/scan/ModernMediaScanner;Ljava/io/File;ILjava/lang/String;)V92 .method·public·constructor·<init>(Lcom/android/providers/media/scan/ModernMediaScanner;Ljava/io/File;ILjava/lang/String;)V
93 ····.locals·293 ····.locals·2
  
94 ····.line·30494 ····.line·303
95 ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner;95 ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner;
  
96 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V96 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
97 ····.line·28697 ····.line·285
98 ····new-instance·v0,·Landroid/util/ArraySet;98 ····new-instance·v0,·Landroid/util/ArraySet;
  
99 ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V99 ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V
  
100 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mAcquiredDirectoryLocks:Ljava/util/Set;100 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mAcquiredDirectoryLocks:Ljava/util/Set;
  
101 ····.line·287101 ····.line·286
102 ····new-instance·v0,·Ljava/util/ArrayList;102 ····new-instance·v0,·Ljava/util/ArrayList;
  
103 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V103 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V
  
104 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList;104 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList;
  
105 ····.line·288105 ····.line·287
106 ····new-instance·v0,·Lcom/android/providers/media/util/LongArray;106 ····new-instance·v0,·Lcom/android/providers/media/util/LongArray;
  
107 ····invoke-direct·{v0},·Lcom/android/providers/media/util/LongArray;-><init>()V107 ····invoke-direct·{v0},·Lcom/android/providers/media/util/LongArray;-><init>()V
  
108 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray;108 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray;
  
109 ····.line·289109 ····.line·288
110 ····new-instance·v0,·Lcom/android/providers/media/util/LongArray;110 ····new-instance·v0,·Lcom/android/providers/media/util/LongArray;
  
111 ····invoke-direct·{v0},·Lcom/android/providers/media/util/LongArray;-><init>()V111 ····invoke-direct·{v0},·Lcom/android/providers/media/util/LongArray;-><init>()V
  
112 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray;112 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray;
  
113 ····const-wide/16·v0,·-0x1113 ····const-wide/16·v0,·-0x1
  
114 ····.line·291114 ····.line·290
115 ····iput-wide·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J115 ····iput-wide·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J
  
116 ····const-string·v0,·"ctor"116 ····const-string·v0,·"ctor"
  
117 ····.line·305117 ····.line·304
118 ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V118 ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V
  
119 ····.line·307119 ····.line·306
120 ····invoke-static·{p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$000(Lcom/android/providers/media/scan/ModernMediaScanner;)Landroid/content/Context;120 ····invoke-static·{p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$000(Lcom/android/providers/media/scan/ModernMediaScanner;)Landroid/content/Context;
  
121 ····move-result-object·v0121 ····move-result-object·v0
  
122 ····invoke-virtual·{v0},·Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;122 ····invoke-virtual·{v0},·Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
  
123 ····move-result-object·v0123 ····move-result-object·v0
  
124 ····const-string·v1,·"media"124 ····const-string·v1,·"media"
  
125 ····.line·308125 ····.line·307
126 ····invoke-virtual·{v0,·v1},·Landroid/content/ContentResolver;->acquireContentProviderClient(Ljava/lang/String;)Landroid/content/ContentProviderClient;126 ····invoke-virtual·{v0,·v1},·Landroid/content/ContentResolver;->acquireContentProviderClient(Ljava/lang/String;)Landroid/content/ContentProviderClient;
  
127 ····move-result-object·v0127 ····move-result-object·v0
  
128 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mClient:Landroid/content/ContentProviderClient;128 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mClient:Landroid/content/ContentProviderClient;
  
129 ····.line·309129 ····.line·308
130 ····invoke-virtual·{v0},·Landroid/content/ContentProviderClient;->getLocalContentProvider()Landroid/content/ContentProvider;130 ····invoke-virtual·{v0},·Landroid/content/ContentProviderClient;->getLocalContentProvider()Landroid/content/ContentProvider;
  
131 ····move-result-object·v0131 ····move-result-object·v0
  
132 ····invoke-static·{v0},·Landroid/content/ContentResolver;->wrap(Landroid/content/ContentProvider;)Landroid/content/ContentResolver;132 ····invoke-static·{v0},·Landroid/content/ContentResolver;->wrap(Landroid/content/ContentProvider;)Landroid/content/ContentResolver;
  
133 ····move-result-object·v0133 ····move-result-object·v0
  
134 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver;134 ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver;
  
135 ····.line·311135 ····.line·310
136 ····iput-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File;136 ····iput-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File;
  
137 ····.line·312137 ····.line·311
138 ····iput·p3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mReason:I138 ····iput·p3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mReason:I
  
139 ····.line·313139 ····.line·312
140 ····invoke-static·{p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$000(Lcom/android/providers/media/scan/ModernMediaScanner;)Landroid/content/Context;140 ····invoke-static·{p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$000(Lcom/android/providers/media/scan/ModernMediaScanner;)Landroid/content/Context;
  
141 ····move-result-object·p3141 ····move-result-object·p3
  
142 ····invoke-static·{p3,·p2},·Lcom/android/providers/media/util/FileUtils;->getVolumeName(Landroid/content/Context;Ljava/io/File;)Ljava/lang/String;142 ····invoke-static·{p3,·p2},·Lcom/android/providers/media/util/FileUtils;->getVolumeName(Landroid/content/Context;Ljava/io/File;)Ljava/lang/String;
  
143 ····move-result-object·p2143 ····move-result-object·p2
  
144 ····iput-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String;144 ····iput-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String;
  
145 ····.line·314145 ····.line·313
146 ····invoke-static·{p2},·Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;)Landroid/net/Uri;146 ····invoke-static·{p2},·Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;)Landroid/net/Uri;
  
147 ····move-result-object·p2147 ····move-result-object·p2
  
148 ····iput-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFilesUri:Landroid/net/Uri;148 ····iput-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFilesUri:Landroid/net/Uri;
  
149 ····.line·315149 ····.line·314
150 ····iget-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String;150 ····iget-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String;
  
151 ····invoke-static·{p1,·p2},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$100(Lcom/android/providers/media/scan/ModernMediaScanner;Ljava/lang/String;)Landroid/os/CancellationSignal;151 ····invoke-static·{p1,·p2},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$100(Lcom/android/providers/media/scan/ModernMediaScanner;Ljava/lang/String;)Landroid/os/CancellationSignal;
  
152 ····move-result-object·p1152 ····move-result-object·p1
  
153 ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal;153 ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal;
  
154 ····.line·317154 ····.line·316
155 ····iget-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver;155 ····iget-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver;
  
156 ····iget-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String;156 ····iget-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String;
  
157 ····invoke-static·{p1,·p2},·Landroid/provider/MediaStore;->getGeneration(Landroid/content/ContentResolver;Ljava/lang/String;)J157 ····invoke-static·{p1,·p2},·Landroid/provider/MediaStore;->getGeneration(Landroid/content/ContentResolver;Ljava/lang/String;)J
  
158 ····move-result-wide·p1158 ····move-result-wide·p1
  
159 ····iput-wide·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mStartGeneration:J159 ····iput-wide·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mStartGeneration:J
  
160 ····.line·318160 ····.line·317
161 ····iget-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File;161 ····iget-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File;
  
162 ····invoke-virtual·{p1},·Ljava/io/File;->isFile()Z162 ····invoke-virtual·{p1},·Ljava/io/File;->isFile()Z
  
163 ····move-result·p1163 ····move-result·p1
  
164 ····iput-boolean·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSingleFile:Z164 ····iput-boolean·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSingleFile:Z
  
165 ····.line·319165 ····.line·318
166 ····iput-object·p4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mOwnerPackage:Ljava/lang/String;166 ····iput-object·p4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mOwnerPackage:Ljava/lang/String;
  
167 ····.line·321167 ····.line·320
168 ····invoke-static·{},·Landroid/os/Trace;->endSection()V168 ····invoke-static·{},·Landroid/os/Trace;->endSection()V
  
169 ····return-void169 ····return-void
170 .end·method170 .end·method
  
171 .method·private·acquireDirectoryLock(Ljava/nio/file/Path;)V171 .method·private·acquireDirectoryLock(Ljava/nio/file/Path;)V
172 ····.locals·3172 ····.locals·3
  
173 ····const-string·v0,·"acquireDirectoryLock"173 ····const-string·v0,·"acquireDirectoryLock"
  
174 ····.line·469174 ····.line·468
175 ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V175 ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V
  
176 ····.line·471176 ····.line·470
177 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner;177 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner;
  
178 ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map;178 ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map;
  
179 ····move-result-object·v0179 ····move-result-object·v0
  
180 ····monitor-enter·v0180 ····monitor-enter·v0
  
181 ····.line·472181 ····.line·471
182 ····:try_start_0182 ····:try_start_0
183 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner;183 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner;
  
184 ····invoke-static·{v1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map;184 ····invoke-static·{v1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map;
  
185 ····move-result-object·v1185 ····move-result-object·v1
  
Offset 257, 106 lines modifiedOffset 257, 106 lines modified
  
257 ····move-result-object·v1257 ····move-result-object·v1
  
258 ····check-cast·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;258 ····check-cast·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;
  
259 ····if-nez·v1,·:cond_0259 ····if-nez·v1,·:cond_0
  
260 ····.line·474260 ····.line·473
261 ····new-instance·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;261 ····new-instance·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;
  
262 ····const/4·v2,·0x0262 ····const/4·v2,·0x0
  
263 ····invoke-direct·{v1,·v2},·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;-><init>(Lcom/android/providers/media/scan/ModernMediaScanner$1;)V263 ····invoke-direct·{v1,·v2},·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;-><init>(Lcom/android/providers/media/scan/ModernMediaScanner$1;)V
  
264 ····.line·475264 ····.line·474
265 ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner;265 ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner;
  
266 ····invoke-static·{v2},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map;266 ····invoke-static·{v2},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map;
  
267 ····move-result-object·v2267 ····move-result-object·v2
  
268 ····invoke-interface·{v2,·p1,·v1},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;268 ····invoke-interface·{v2,·p1,·v1},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
  
269 ····.line·477269 ····.line·476
270 ····:cond_0270 ····:cond_0
271 ····iget·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I271 ····iget·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I
  
272 ····add-int/lit8·v2,·v2,·0x1272 ····add-int/lit8·v2,·v2,·0x1
  
273 ····iput·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I273 ····iput·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I
  
274 ····.line·478274 ····.line·477
275 ····monitor-exit·v0275 ····monitor-exit·v0
276 ····:try_end_0276 ····:try_end_0
277 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0277 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0
  
278 ····.line·479278 ····.line·478
279 ····iget-object·v0,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->lock:Ljava/util/concurrent/locks/Lock;279 ····iget-object·v0,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->lock:Ljava/util/concurrent/locks/Lock;
  
280 ····invoke-interface·{v0},·Ljava/util/concurrent/locks/Lock;->lock()V280 ····invoke-interface·{v0},·Ljava/util/concurrent/locks/Lock;->lock()V
  
281 ····.line·480281 ····.line·479
282 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mAcquiredDirectoryLocks:Ljava/util/Set;282 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mAcquiredDirectoryLocks:Ljava/util/Set;
  
283 ····invoke-interface·{p0,·p1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z283 ····invoke-interface·{p0,·p1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z
  
284 ····.line·481284 ····.line·480
285 ····invoke-static·{},·Landroid/os/Trace;->endSection()V285 ····invoke-static·{},·Landroid/os/Trace;->endSection()V
  
286 ····return-void286 ····return-void
  
287 ····:catchall_0287 ····:catchall_0
288 ····move-exception·p0288 ····move-exception·p0
  
289 ····.line·478289 ····.line·477
290 ····:try_start_1290 ····:try_start_1
291 ····monitor-exit·v0291 ····monitor-exit·v0
292 ····:try_end_1292 ····:try_end_1
293 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0293 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0
  
294 ····throw·p0294 ····throw·p0
295 .end·method295 .end·method
  
296 .method·private·addPending(Landroid/content/ContentProviderOperation;)V296 .method·private·addPending(Landroid/content/ContentProviderOperation;)V
297 ····.locals·1297 ····.locals·1
  
298 ····.line·681298 ····.line·680
299 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList;299 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList;
  
300 ····invoke-virtual·{v0,·p1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z300 ····invoke-virtual·{v0,·p1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
  
301 ····.line·683301 ····.line·682
302 ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isInsert()Z302 ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isInsert()Z
  
303 ····move-result·v0303 ····move-result·v0
  
304 ····if-eqz·v0,·:cond_0304 ····if-eqz·v0,·:cond_0
  
305 ····iget·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mInsertCount:I305 ····iget·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mInsertCount:I
  
306 ····add-int/lit8·v0,·v0,·0x1306 ····add-int/lit8·v0,·v0,·0x1
  
307 ····iput·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mInsertCount:I307 ····iput·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mInsertCount:I
  
308 ····.line·684308 ····.line·683
309 ····:cond_0309 ····:cond_0
310 ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isUpdate()Z310 ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isUpdate()Z
  
311 ····move-result·v0311 ····move-result·v0
  
312 ····if-eqz·v0,·:cond_1312 ····if-eqz·v0,·:cond_1
  
313 ····iget·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUpdateCount:I313 ····iget·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUpdateCount:I
  
314 ····add-int/lit8·v0,·v0,·0x1314 ····add-int/lit8·v0,·v0,·0x1
  
315 ····iput·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUpdateCount:I315 ····iput·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUpdateCount:I
  
316 ····.line·685316 ····.line·684
317 ····:cond_1317 ····:cond_1
318 ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isDelete()Z318 ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isDelete()Z
  
319 ····move-result·p1319 ····move-result·p1
  
320 ····if-eqz·p1,·:cond_2320 ····if-eqz·p1,·:cond_2
  
Offset 371, 69 lines modifiedOffset 371, 69 lines modified
371 .end·method371 .end·method
  
372 .method·private·applyPending()V372 .method·private·applyPending()V
373 ····.locals·9373 ····.locals·9
  
374 ····const-string·v0,·"ModernMediaScanner"374 ····const-string·v0,·"ModernMediaScanner"
  
375 ····.line·696375 ····.line·695
376 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList;376 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList;
  
377 ····invoke-virtual·{v1},·Ljava/util/ArrayList;->isEmpty()Z377 ····invoke-virtual·{v1},·Ljava/util/ArrayList;->isEmpty()Z
  
378 ····move-result·v1378 ····move-result·v1
  
379 ····if-eqz·v1,·:cond_0379 ····if-eqz·v1,·:cond_0
  
380 ····return-void380 ····return-void
  
381 ····:cond_0381 ····:cond_0
382 ····const-string·v1,·"applyPending"382 ····const-string·v1,·"applyPending"
  
383 ····.line·698383 ····.line·697
384 ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V384 ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V
  
385 ····.line·700385 ····.line·699
386 ····:try_start_0386 ····:try_start_0
387 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver;387 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver;
  
388 ····const-string·v2,·"media"388 ····const-string·v2,·"media"
  
389 ····iget-object·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList;389 ····iget-object·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList;
  
390 ····invoke-virtual·{v1,·v2,·v3},·Landroid/content/ContentResolver;->applyBatch(Ljava/lang/String;Ljava/util/ArrayList;)[Landroid/content/ContentProviderResult;390 ····invoke-virtual·{v1,·v2,·v3},·Landroid/content/ContentResolver;->applyBatch(Ljava/lang/String;Ljava/util/ArrayList;)[Landroid/content/ContentProviderResult;
  
391 ····move-result-object·v1391 ····move-result-object·v1
  
392 ····const/4·v2,·0x0392 ····const/4·v2,·0x0
  
393 ····.line·701393 ····.line·700
394 ····:goto_0394 ····:goto_0
395 ····array-length·v3,·v1395 ····array-length·v3,·v1
  
396 ····if-ge·v2,·v3,·:cond_4396 ····if-ge·v2,·v3,·:cond_4
  
397 ····.line·702397 ····.line·701
398 ····aget-object·v3,·v1,·v2398 ····aget-object·v3,·v1,·v2
  
399 ····.line·703399 ····.line·702
400 ····iget-object·v4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList;400 ····iget-object·v4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList;
  
401 ····invoke-virtual·{v4,·v2},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object;401 ····invoke-virtual·{v4,·v2},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
  
402 ····move-result-object·v4402 ····move-result-object·v4
  
403 ····check-cast·v4,·Landroid/content/ContentProviderOperation;403 ····check-cast·v4,·Landroid/content/ContentProviderOperation;
  
404 ····.line·705404 ····.line·704
405 ····iget-object·v5,·v3,·Landroid/content/ContentProviderResult;->exception:Ljava/lang/Throwable;405 ····iget-object·v5,·v3,·Landroid/content/ContentProviderResult;->exception:Ljava/lang/Throwable;
  
406 ····if-eqz·v5,·:cond_1406 ····if-eqz·v5,·:cond_1
  
407 ····.line·706407 ····.line·705
408 ····new-instance·v5,·Ljava/lang/StringBuilder;408 ····new-instance·v5,·Ljava/lang/StringBuilder;
  
409 ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V409 ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V
  
410 ····const-string·v6,·"Failed·to·apply·"410 ····const-string·v6,·"Failed·to·apply·"
  
411 ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;411 ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
Offset 444, 38 lines modifiedOffset 444, 38 lines modified
  
444 ····move-result-object·v4444 ····move-result-object·v4
  
445 ····iget-object·v5,·v3,·Landroid/content/ContentProviderResult;->exception:Ljava/lang/Throwable;445 ····iget-object·v5,·v3,·Landroid/content/ContentProviderResult;->exception:Ljava/lang/Throwable;
  
446 ····invoke-static·{v0,·v4,·v5},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I446 ····invoke-static·{v0,·v4,·v5},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
  
447 ····.line·709447 ····.line·708
448 ····:cond_1448 ····:cond_1
449 ····iget-object·v3,·v3,·Landroid/content/ContentProviderResult;->uri:Landroid/net/Uri;449 ····iget-object·v3,·v3,·Landroid/content/ContentProviderResult;->uri:Landroid/net/Uri;
  
450 ····if-eqz·v3,·:cond_3450 ····if-eqz·v3,·:cond_3
  
451 ····.line·711451 ····.line·710
452 ····invoke-static·{v3},·Landroid/content/ContentUris;->parseId(Landroid/net/Uri;)J452 ····invoke-static·{v3},·Landroid/content/ContentUris;->parseId(Landroid/net/Uri;)J
  
453 ····move-result-wide·v3453 ····move-result-wide·v3
  
454 ····.line·712454 ····.line·711
455 ····iget-wide·v5,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J455 ····iget-wide·v5,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J
  
456 ····const-wide/16·v7,·-0x1456 ····const-wide/16·v7,·-0x1
  
457 ····cmp-long·v5,·v5,·v7457 ····cmp-long·v5,·v5,·v7
  
458 ····if-nez·v5,·:cond_2458 ····if-nez·v5,·:cond_2
  
459 ····.line·713459 ····.line·712
460 ····iput-wide·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J460 ····iput-wide·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J
  
461 ····.line·715461 ····.line·714
462 ····:cond_2462 ····:cond_2
463 ····iget-object·v5,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray;463 ····iget-object·v5,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray;
  
464 ····invoke-virtual·{v5,·v3,·v4},·Lcom/android/providers/media/util/LongArray;->add(J)V464 ····invoke-virtual·{v5,·v3,·v4},·Lcom/android/providers/media/util/LongArray;->add(J)V
465 ····:try_end_0465 ····:try_end_0
466 ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0466 ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0
467 ····.catch·Landroid/content/OperationApplicationException;·{:try_start_0·..·:try_end_0}·:catch_0467 ····.catch·Landroid/content/OperationApplicationException;·{:try_start_0·..·:try_end_0}·:catch_0
Offset 493, 88 lines modifiedOffset 493, 88 lines modified
  
493 ····:catch_0493 ····:catch_0
494 ····move-exception·v1494 ····move-exception·v1
  
495 ····:try_start_1495 ····:try_start_1
496 ····const-string·v2,·"Failed·to·apply"496 ····const-string·v2,·"Failed·to·apply"
  
497 ····.line·719497 ····.line·718
498 ····invoke-static·{v0,·v2,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I498 ····invoke-static·{v0,·v2,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
499 ····:try_end_1499 ····:try_end_1
500 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0500 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0
  
501 ····.line·721501 ····.line·720
502 ····:cond_4502 ····:cond_4
503 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList;503 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList;
  
504 ····invoke-virtual·{p0},·Ljava/util/ArrayList;->clear()V504 ····invoke-virtual·{p0},·Ljava/util/ArrayList;->clear()V
  
505 ····.line·722505 ····.line·721
506 ····invoke-static·{},·Landroid/os/Trace;->endSection()V506 ····invoke-static·{},·Landroid/os/Trace;->endSection()V
  
507 ····return-void507 ····return-void
  
508 ····.line·721508 ····.line·720
509 ····:goto_1509 ····:goto_1
510 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList;510 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList;
  
511 ····invoke-virtual·{p0},·Ljava/util/ArrayList;->clear()V511 ····invoke-virtual·{p0},·Ljava/util/ArrayList;->clear()V
  
512 ····.line·722512 ····.line·721
513 ····invoke-static·{},·Landroid/os/Trace;->endSection()V513 ····invoke-static·{},·Landroid/os/Trace;->endSection()V
  
514 ····.line·723514 ····.line·722
515 ····throw·v0515 ····throw·v0
516 .end·method516 .end·method
  
517 .method·private·maybeApplyPending()V517 .method·private·maybeApplyPending()V
518 ····.locals·2518 ····.locals·2
  
519 ····.line·689519 ····.line·688
520 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList;520 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList;
  
521 ····invoke-virtual·{v0},·Ljava/util/ArrayList;->size()I521 ····invoke-virtual·{v0},·Ljava/util/ArrayList;->size()I
  
522 ····move-result·v0522 ····move-result·v0
  
523 ····const/16·v1,·0x20523 ····const/16·v1,·0x20
  
524 ····if-le·v0,·v1,·:cond_0524 ····if-le·v0,·v1,·:cond_0
  
525 ····.line·690525 ····.line·689
526 ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->applyPending()V526 ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->applyPending()V
  
527 ····:cond_0527 ····:cond_0
528 ····return-void528 ····return-void
529 .end·method529 .end·method
  
530 .method·private·reconcileAndClean()V530 .method·private·reconcileAndClean()V
531 ····.locals·7531 ····.locals·7
  
532 ····.line·382532 ····.line·381
533 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray;533 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray;
  
534 ····invoke-virtual·{v0},·Lcom/android/providers/media/util/LongArray;->toArray()[J534 ····invoke-virtual·{v0},·Lcom/android/providers/media/util/LongArray;->toArray()[J
  
535 ····move-result-object·v0535 ····move-result-object·v0
  
536 ····.line·383536 ····.line·382
537 ····invoke-static·{v0},·Ljava/util/Arrays;->sort([J)V537 ····invoke-static·{v0},·Ljava/util/Arrays;->sort([J)V
  
538 ····.line·387538 ····.line·386
539 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal;539 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal;
  
540 ····invoke-virtual·{v1},·Landroid/os/CancellationSignal;->throwIfCanceled()V540 ····invoke-virtual·{v1},·Landroid/os/CancellationSignal;->throwIfCanceled()V
  
541 ····const-string·v1,·"reconcile"541 ····const-string·v1,·"reconcile"
  
542 ····.line·388542 ····.line·387
543 ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V543 ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V
  
544 ····.line·396544 ····.line·395
545 ····new-instance·v1,·Ljava/lang/StringBuilder;545 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
546 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V546 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V
  
547 ····const-string·v2,·"generation_added·<=·"547 ····const-string·v2,·"generation_added·<=·"
  
548 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;548 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
Offset 583, 20 lines modifiedOffset 583, 20 lines modified
  
583 ····invoke-virtual·{v1,·v2,·v3},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;583 ····invoke-virtual·{v1,·v2,·v3},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
  
584 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;584 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
585 ····move-result-object·v1585 ····move-result-object·v1
  
586 ····.line·398586 ····.line·397
587 ····new-instance·v2,·Landroid/os/Bundle;587 ····new-instance·v2,·Landroid/os/Bundle;
  
588 ····invoke-direct·{v2},·Landroid/os/Bundle;-><init>()V588 ····invoke-direct·{v2},·Landroid/os/Bundle;-><init>()V
  
589 ····.line·399589 ····.line·398
590 ····new-instance·v3,·Ljava/lang/StringBuilder;590 ····new-instance·v3,·Ljava/lang/StringBuilder;
  
591 ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V591 ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V
  
592 ····const-string·v4,·"ifnull(format,12288)·!=·47621·AND·(_data·LIKE·?·ESCAPE·\'\\\'·OR·_data·LIKE·?·ESCAPE·\'\\\')·AND·"592 ····const-string·v4,·"ifnull(format,12288)·!=·47621·AND·(_data·LIKE·?·ESCAPE·\'\\\'·OR·_data·LIKE·?·ESCAPE·\'\\\')·AND·"
  
593 ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;593 ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
Offset 607, 30 lines modifiedOffset 607, 30 lines modified
  
607 ····move-result-object·v1607 ····move-result-object·v1
  
608 ····const-string·v3,·"android:query-arg-sql-selection"608 ····const-string·v3,·"android:query-arg-sql-selection"
  
609 ····invoke-virtual·{v2,·v3,·v1},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V609 ····invoke-virtual·{v2,·v3,·v1},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
  
610 ····.line·401610 ····.line·400
611 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File;611 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File;
  
612 ····invoke-virtual·{v1},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String;612 ····invoke-virtual·{v1},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
  
613 ····move-result-object·v1613 ····move-result-object·v1
  
614 ····invoke-static·{v1},·Lcom/android/providers/media/util/DatabaseUtils;->escapeForLike(Ljava/lang/String;)Ljava/lang/String;614 ····invoke-static·{v1},·Lcom/android/providers/media/util/DatabaseUtils;->escapeForLike(Ljava/lang/String;)Ljava/lang/String;
  
615 ····move-result-object·v1615 ····move-result-object·v1
  
616 ····const/4·v3,·0x2616 ····const/4·v3,·0x2
  
617 ····new-array·v4,·v3,·[Ljava/lang/String;617 ····new-array·v4,·v3,·[Ljava/lang/String;
  
618 ····.line·402618 ····.line·401
619 ····new-instance·v5,·Ljava/lang/StringBuilder;619 ····new-instance·v5,·Ljava/lang/StringBuilder;
  
620 ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V620 ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V
  
621 ····invoke-virtual·{v5,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;621 ····invoke-virtual·{v5,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
622 ····const-string·v6,·"/%"622 ····const-string·v6,·"/%"
Offset 653, 33 lines modifiedOffset 653, 33 lines modified
  
653 ····invoke-virtual·{v2,·v1,·v4},·Landroid/os/Bundle;->putStringArray(Ljava/lang/String;[Ljava/lang/String;)V653 ····invoke-virtual·{v2,·v1,·v4},·Landroid/os/Bundle;->putStringArray(Ljava/lang/String;[Ljava/lang/String;)V
  
654 ····const-string·v1,·"android:query-arg-sql-sort-order"654 ····const-string·v1,·"android:query-arg-sql-sort-order"
  
655 ····const-string·v4,·"_id·DESC"655 ····const-string·v4,·"_id·DESC"
  
656 ····.line·404656 ····.line·403
657 ····invoke-virtual·{v2,·v1,·v4},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V657 ····invoke-virtual·{v2,·v1,·v4},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
  
658 ····const-string·v1,·"android:query-arg-match-pending"658 ····const-string·v1,·"android:query-arg-match-pending"
  
659 ····.line·406659 ····.line·405
660 ····invoke-virtual·{v2,·v1,·v3},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V660 ····invoke-virtual·{v2,·v1,·v3},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
  
661 ····const-string·v1,·"android:query-arg-match-trashed"661 ····const-string·v1,·"android:query-arg-match-trashed"
  
662 ····.line·407662 ····.line·406
663 ····invoke-virtual·{v2,·v1,·v5},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V663 ····invoke-virtual·{v2,·v1,·v5},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
  
664 ····const-string·v1,·"android:query-arg-match-favorite"664 ····const-string·v1,·"android:query-arg-match-favorite"
  
665 ····.line·408665 ····.line·407
666 ····invoke-virtual·{v2,·v1,·v5},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V666 ····invoke-virtual·{v2,·v1,·v5},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
  
667 ····.line·410667 ····.line·409
668 ····:try_start_0668 ····:try_start_0
669 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver;669 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver;
  
670 ····iget-object·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFilesUri:Landroid/net/Uri;670 ····iget-object·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFilesUri:Landroid/net/Uri;
  
671 ····const-string·v4,·"_id"671 ····const-string·v4,·"_id"
  
Offset 691, 87 lines modifiedOffset 691, 87 lines modified
  
691 ····invoke-virtual·{v1,·v3,·v4,·v2,·v5},·Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/database/Cursor;691 ····invoke-virtual·{v1,·v3,·v4,·v2,·v5},·Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/database/Cursor;
  
692 ····move-result-object·v1692 ····move-result-object·v1
693 ····:try_end_0693 ····:try_end_0
694 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_3694 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_3
  
695 ····.line·412695 ····.line·411
696 ····:cond_0696 ····:cond_0
697 ····:goto_0697 ····:goto_0
698 ····:try_start_1698 ····:try_start_1
699 ····invoke-interface·{v1},·Landroid/database/Cursor;->moveToNext()Z699 ····invoke-interface·{v1},·Landroid/database/Cursor;->moveToNext()Z
  
700 ····move-result·v2700 ····move-result·v2
  
701 ····if-eqz·v2,·:cond_1701 ····if-eqz·v2,·:cond_1
  
702 ····.line·413702 ····.line·412
703 ····invoke-interface·{v1,·v6},·Landroid/database/Cursor;->getLong(I)J703 ····invoke-interface·{v1,·v6},·Landroid/database/Cursor;->getLong(I)J
  
704 ····move-result-wide·v2704 ····move-result-wide·v2
  
705 ····.line·414705 ····.line·413
706 ····invoke-static·{v0,·v2,·v3},·Ljava/util/Arrays;->binarySearch([JJ)I706 ····invoke-static·{v0,·v2,·v3},·Ljava/util/Arrays;->binarySearch([JJ)I
  
707 ····move-result·v4707 ····move-result·v4
  
708 ····if-gez·v4,·:cond_0708 ····if-gez·v4,·:cond_0
  
709 ····.line·415709 ····.line·414
710 ····iget-object·v4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray;710 ····iget-object·v4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray;
  
711 ····invoke-virtual·{v4,·v2,·v3},·Lcom/android/providers/media/util/LongArray;->add(J)V711 ····invoke-virtual·{v4,·v2,·v3},·Lcom/android/providers/media/util/LongArray;->add(J)V
712 ····:try_end_1712 ····:try_end_1
713 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_1713 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_1
  
714 ····goto·:goto_0714 ····goto·:goto_0
  
715 ····:cond_1715 ····:cond_1
716 ····if-eqz·v1,·:cond_2716 ····if-eqz·v1,·:cond_2
  
717 ····.line·418717 ····.line·417
718 ····:try_start_2718 ····:try_start_2
719 ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V719 ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V
720 ····:try_end_2720 ····:try_end_2
721 ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_3721 ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_3
  
722 ····.line·419722 ····.line·418
723 ····:cond_2723 ····:cond_2
724 ····invoke-static·{},·Landroid/os/Trace;->endSection()V724 ····invoke-static·{},·Landroid/os/Trace;->endSection()V
  
725 ····.line·423725 ····.line·422
726 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal;726 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal;
  
727 ····invoke-virtual·{v0},·Landroid/os/CancellationSignal;->throwIfCanceled()V727 ····invoke-virtual·{v0},·Landroid/os/CancellationSignal;->throwIfCanceled()V
  
728 ····const-string·v0,·"clean"728 ····const-string·v0,·"clean"
  
729 ····.line·424729 ····.line·423
730 ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V730 ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V
  
731 ····.line·426731 ····.line·425
732 ····:goto_1732 ····:goto_1
733 ····:try_start_3733 ····:try_start_3
734 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray;734 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray;
  
735 ····invoke-virtual·{v0},·Lcom/android/providers/media/util/LongArray;->size()I735 ····invoke-virtual·{v0},·Lcom/android/providers/media/util/LongArray;->size()I
  
736 ····move-result·v0736 ····move-result·v0
  
737 ····if-ge·v6,·v0,·:cond_4737 ····if-ge·v6,·v0,·:cond_4
  
738 ····.line·427738 ····.line·426
739 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray;739 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray;
  
740 ····invoke-virtual·{v0,·v6},·Lcom/android/providers/media/util/LongArray;->get(I)J740 ····invoke-virtual·{v0,·v6},·Lcom/android/providers/media/util/LongArray;->get(I)J
  
741 ····move-result-wide·v0741 ····move-result-wide·v0
  
742 ····.line·428742 ····.line·427
743 ····invoke-static·{},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$200()Z743 ····invoke-static·{},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$200()Z
  
744 ····move-result·v2744 ····move-result·v2
  
745 ····if-eqz·v2,·:cond_3745 ····if-eqz·v2,·:cond_3
  
746 ····const-string·v2,·"ModernMediaScanner"746 ····const-string·v2,·"ModernMediaScanner"
Offset 788, 15 lines modifiedOffset 788, 15 lines modified
  
788 ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;788 ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
789 ····move-result-object·v3789 ····move-result-object·v3
  
790 ····invoke-static·{v2,·v3},·Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I790 ····invoke-static·{v2,·v3},·Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
  
791 ····.line·429791 ····.line·428
792 ····:cond_3792 ····:cond_3
793 ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String;793 ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String;
  
794 ····invoke-static·{v2,·v0,·v1},·Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;J)Landroid/net/Uri;794 ····invoke-static·{v2,·v0,·v1},·Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;J)Landroid/net/Uri;
  
795 ····move-result-object·v0795 ····move-result-object·v0
  
Offset 804, 67 lines modifiedOffset 804, 67 lines modified
  
804 ····move-result-object·v0804 ····move-result-object·v0
  
805 ····const-string·v1,·"deletedata"805 ····const-string·v1,·"deletedata"
  
806 ····const-string·v2,·"false"806 ····const-string·v2,·"false"
  
807 ····.line·430807 ····.line·429
808 ····invoke-virtual·{v0,·v1,·v2},·Landroid/net/Uri$Builder;->appendQueryParameter(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder;808 ····invoke-virtual·{v0,·v1,·v2},·Landroid/net/Uri$Builder;->appendQueryParameter(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder;
  
809 ····move-result-object·v0809 ····move-result-object·v0
  
810 ····.line·431810 ····.line·430
811 ····invoke-virtual·{v0},·Landroid/net/Uri$Builder;->build()Landroid/net/Uri;811 ····invoke-virtual·{v0},·Landroid/net/Uri$Builder;->build()Landroid/net/Uri;
  
812 ····move-result-object·v0812 ····move-result-object·v0
  
813 ····.line·432813 ····.line·431
814 ····invoke-static·{v0},·Landroid/content/ContentProviderOperation;->newDelete(Landroid/net/Uri;)Landroid/content/ContentProviderOperation$Builder;814 ····invoke-static·{v0},·Landroid/content/ContentProviderOperation;->newDelete(Landroid/net/Uri;)Landroid/content/ContentProviderOperation$Builder;
  
815 ····move-result-object·v0815 ····move-result-object·v0
  
816 ····invoke-virtual·{v0},·Landroid/content/ContentProviderOperation$Builder;->build()Landroid/content/ContentProviderOperation;816 ····invoke-virtual·{v0},·Landroid/content/ContentProviderOperation$Builder;->build()Landroid/content/ContentProviderOperation;
  
817 ····move-result-object·v0817 ····move-result-object·v0
  
818 ····invoke-direct·{p0,·v0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->addPending(Landroid/content/ContentProviderOperation;)V818 ····invoke-direct·{p0,·v0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->addPending(Landroid/content/ContentProviderOperation;)V
  
819 ····.line·433819 ····.line·432
820 ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->maybeApplyPending()V820 ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->maybeApplyPending()V
  
821 ····add-int/lit8·v6,·v6,·0x1821 ····add-int/lit8·v6,·v6,·0x1
  
822 ····goto·:goto_1822 ····goto·:goto_1
  
823 ····.line·435823 ····.line·434
824 ····:cond_4824 ····:cond_4
825 ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->applyPending()V825 ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->applyPending()V
826 ····:try_end_3826 ····:try_end_3
827 ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_0827 ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_0
  
828 ····.line·437828 ····.line·436
829 ····invoke-static·{},·Landroid/os/Trace;->endSection()V829 ····invoke-static·{},·Landroid/os/Trace;->endSection()V
  
830 ····return-void830 ····return-void
  
831 ····:catchall_0831 ····:catchall_0
832 ····move-exception·p0832 ····move-exception·p0
  
833 ····invoke-static·{},·Landroid/os/Trace;->endSection()V833 ····invoke-static·{},·Landroid/os/Trace;->endSection()V
  
834 ····.line·438834 ····.line·437
835 ····throw·p0835 ····throw·p0
  
836 ····:catchall_1836 ····:catchall_1
837 ····move-exception·p0837 ····move-exception·p0
  
838 ····if-eqz·v1,·:cond_5838 ····if-eqz·v1,·:cond_5
  
839 ····.line·410839 ····.line·409
840 ····:try_start_4840 ····:try_start_4
841 ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V841 ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V
842 ····:try_end_4842 ····:try_end_4
843 ····.catchall·{:try_start_4·..·:try_end_4}·:catchall_2843 ····.catchall·{:try_start_4·..·:try_end_4}·:catchall_2
  
844 ····goto·:goto_2844 ····goto·:goto_2
  
Offset 879, 39 lines modifiedOffset 879, 39 lines modified
879 ····throw·p0879 ····throw·p0
880 ····:try_end_5880 ····:try_end_5
881 ····.catchall·{:try_start_5·..·:try_end_5}·:catchall_3881 ····.catchall·{:try_start_5·..·:try_end_5}·:catchall_3
  
882 ····:catchall_3882 ····:catchall_3
883 ····move-exception·p0883 ····move-exception·p0
  
884 ····.line·419884 ····.line·418
885 ····invoke-static·{},·Landroid/os/Trace;->endSection()V885 ····invoke-static·{},·Landroid/os/Trace;->endSection()V
  
886 ····.line·420886 ····.line·419
887 ····throw·p0887 ····throw·p0
888 .end·method888 .end·method
  
889 .method·private·releaseDirectoryLock(Ljava/nio/file/Path;)V889 .method·private·releaseDirectoryLock(Ljava/nio/file/Path;)V
890 ····.locals·3890 ····.locals·3
  
891 ····const-string·v0,·"releaseDirectoryLock"891 ····const-string·v0,·"releaseDirectoryLock"
  
892 ····.line·490892 ····.line·489
893 ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V893 ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V
  
894 ····.line·492894 ····.line·491
895 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner;895 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner;
  
896 ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map;896 ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map;
  
897 ····move-result-object·v0897 ····move-result-object·v0
  
898 ····monitor-enter·v0898 ····monitor-enter·v0
  
899 ····.line·493899 ····.line·492
900 ····:try_start_0900 ····:try_start_0
901 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner;901 ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner;
  
902 ····invoke-static·{v1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map;902 ····invoke-static·{v1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map;
  
903 ····move-result-object·v1903 ····move-result-object·v1
  
Offset 919, 108 lines modifiedOffset 919, 108 lines modified
  
919 ····move-result-object·v1919 ····move-result-object·v1
  
920 ····check-cast·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;920 ····check-cast·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;
  
921 ····if-eqz·v1,·:cond_1921 ····if-eqz·v1,·:cond_1
  
922 ····.line·497922 ····.line·496
923 ····iget·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I923 ····iget·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I
  
924 ····add-int/lit8·v2,·v2,·-0x1924 ····add-int/lit8·v2,·v2,·-0x1
  
925 ····iput·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I925 ····iput·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I
  
926 ····if-nez·v2,·:cond_0926 ····if-nez·v2,·:cond_0
  
927 ····.line·498927 ····.line·497
928 ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner;928 ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner;
  
929 ····invoke-static·{v2},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map;929 ····invoke-static·{v2},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map;
  
930 ····move-result-object·v2930 ····move-result-object·v2
  
931 ····invoke-interface·{v2,·p1},·Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;931 ····invoke-interface·{v2,·p1},·Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
  
932 ····.line·500932 ····.line·499
933 ····:cond_0933 ····:cond_0
934 ····monitor-exit·v0934 ····monitor-exit·v0
935 ····:try_end_0935 ····:try_end_0
936 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0936 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0
  
937 ····.line·501937 ····.line·500
938 ····iget-object·v0,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->lock:Ljava/util/concurrent/locks/Lock;938 ····iget-object·v0,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->lock:Ljava/util/concurrent/locks/Lock;
  
939 ····invoke-interface·{v0},·Ljava/util/concurrent/locks/Lock;->unlock()V939 ····invoke-interface·{v0},·Ljava/util/concurrent/locks/Lock;->unlock()V
  
940 ····.line·502940 ····.line·501
941 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mAcquiredDirectoryLocks:Ljava/util/Set;941 ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mAcquiredDirectoryLocks:Ljava/util/Set;
  
942 ····invoke-interface·{p0,·p1},·Ljava/util/Set;->remove(Ljava/lang/Object;)Z942 ····invoke-interface·{p0,·p1},·Ljava/util/Set;->remove(Ljava/lang/Object;)Z
  
943 ····.line·503943 ····.line·502
944 ····invoke-static·{},·Landroid/os/Trace;->endSection()V944 ····invoke-static·{},·Landroid/os/Trace;->endSection()V
  
945 ····return-void945 ····return-void
  
946 ····.line·495946 ····.line·494
947 ····:cond_1947 ····:cond_1
948 ····:try_start_1948 ····:try_start_1
949 ····new-instance·p0,·Ljava/lang/IllegalStateException;949 ····new-instance·p0,·Ljava/lang/IllegalStateException;
  
950 ····invoke-direct·{p0},·Ljava/lang/IllegalStateException;-><init>()V950 ····invoke-direct·{p0},·Ljava/lang/IllegalStateException;-><init>()V
  
951 ····throw·p0951 ····throw·p0
  
952 ····:catchall_0952 ····:catchall_0
953 ····move-exception·p0953 ····move-exception·p0
  
954 ····.line·500954 ····.line·499
955 ····monitor-exit·v0955 ····monitor-exit·v0
956 ····:try_end_1956 ····:try_end_1
957 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0957 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0
  
958 ····throw·p0958 ····throw·p0
959 .end·method959 .end·method
  
960 .method·private·resolvePlaylists()V960 .method·private·resolvePlaylists()V
961 ····.locals·5961 ····.locals·5
  
962 ····.line·442962 ····.line·441
963 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal;963 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal;
  
964 ····invoke-virtual·{v0},·Landroid/os/CancellationSignal;->throwIfCanceled()V964 ····invoke-virtual·{v0},·Landroid/os/CancellationSignal;->throwIfCanceled()V
  
965 ····.line·445965 ····.line·444
966 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String;966 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String;
  
967 ····const-string·v1,·"internal"967 ····const-string·v1,·"internal"
  
968 ····invoke-virtual·{v1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z968 ····invoke-virtual·{v1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
969 ····move-result·v0969 ····move-result·v0
  
970 ····if-eqz·v0,·:cond_0970 ····if-eqz·v0,·:cond_0
  
971 ····return-void971 ····return-void
  
972 ····.line·447972 ····.line·446
973 ····:cond_0973 ····:cond_0
974 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String;974 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String;
  
975 ····invoke-static·{v0},·Landroid/provider/MediaStore$Audio$Playlists;->getContentUri(Ljava/lang/String;)Landroid/net/Uri;975 ····invoke-static·{v0},·Landroid/provider/MediaStore$Audio$Playlists;->getContentUri(Ljava/lang/String;)Landroid/net/Uri;
  
976 ····move-result-object·v0976 ····move-result-object·v0
  
977 ····.line·448977 ····.line·447
978 ····new-instance·v1,·Landroid/os/Bundle;978 ····new-instance·v1,·Landroid/os/Bundle;
  
979 ····invoke-direct·{v1},·Landroid/os/Bundle;-><init>()V979 ····invoke-direct·{v1},·Landroid/os/Bundle;-><init>()V
  
980 ····.line·449980 ····.line·448
981 ····new-instance·v2,·Ljava/lang/StringBuilder;981 ····new-instance·v2,·Ljava/lang/StringBuilder;
  
982 ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V982 ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V
  
983 ····const-string·v3,·"generation_modified·>·"983 ····const-string·v3,·"generation_modified·>·"
  
984 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;984 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
Offset 1033, 15 lines modifiedOffset 1033, 15 lines modified
  
1033 ····move-result-object·v21033 ····move-result-object·v2
  
1034 ····const-string·v3,·"android:query-arg-sql-selection"1034 ····const-string·v3,·"android:query-arg-sql-selection"
  
1035 ····invoke-virtual·{v1,·v3,·v2},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V1035 ····invoke-virtual·{v1,·v3,·v2},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
  
1036 ····.line·4511036 ····.line·450
1037 ····:try_start_01037 ····:try_start_0
1038 ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver;1038 ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver;
  
1039 ····const-string·v3,·"_id"1039 ····const-string·v3,·"_id"
  
1040 ····filled-new-array·{v3},·[Ljava/lang/String;1040 ····filled-new-array·{v3},·[Ljava/lang/String;
  
Offset 1051, 66 lines modifiedOffset 1051, 66 lines modified
  
1051 ····invoke-virtual·{v2,·v0,·v3,·v1,·v4},·Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/database/Cursor;1051 ····invoke-virtual·{v2,·v0,·v3,·v1,·v4},·Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/database/Cursor;
  
1052 ····move-result-object·v11052 ····move-result-object·v1
1053 ····:try_end_01053 ····:try_end_0
1054 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_21054 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_2
  
1055 ····.line·4531055 ····.line·452
1056 ····:goto_01056 ····:goto_0
1057 ····:try_start_11057 ····:try_start_1
1058 ····invoke-interface·{v1},·Landroid/database/Cursor;->moveToNext()Z1058 ····invoke-interface·{v1},·Landroid/database/Cursor;->moveToNext()Z
  
1059 ····move-result·v21059 ····move-result·v2
  
1060 ····if-eqz·v2,·:cond_11060 ····if-eqz·v2,·:cond_1
  
1061 ····const/4·v2,·0x01061 ····const/4·v2,·0x0
  
1062 ····.line·4541062 ····.line·453
1063 ····invoke-interface·{v1,·v2},·Landroid/database/Cursor;->getLong(I)J1063 ····invoke-interface·{v1,·v2},·Landroid/database/Cursor;->getLong(I)J
  
1064 ····move-result-wide·v21064 ····move-result-wide·v2
  
1065 ····.line·4551065 ····.line·454
1066 ····iget-object·v4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver;1066 ····iget-object·v4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver;
  
1067 ····.line·4561067 ····.line·455
1068 ····invoke-static·{v0,·v2,·v3},·Landroid/content/ContentUris;->withAppendedId(Landroid/net/Uri;J)Landroid/net/Uri;1068 ····invoke-static·{v0,·v2,·v3},·Landroid/content/ContentUris;->withAppendedId(Landroid/net/Uri;J)Landroid/net/Uri;
  
1069 ····move-result-object·v21069 ····move-result-object·v2
  
1070 ····.line·4551070 ····.line·454
1071 ····invoke-static·{v4,·v2},·Landroid/provider/MediaStore;->resolvePlaylistMembers(Landroid/content/ContentResolver;Landroid/net/Uri;)V1071 ····invoke-static·{v4,·v2},·Landroid/provider/MediaStore;->resolvePlaylistMembers(Landroid/content/ContentResolver;Landroid/net/Uri;)V
1072 ····:try_end_11072 ····:try_end_1
1073 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_01073 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0
  
1074 ····goto·:goto_01074 ····goto·:goto_0
  
1075 ····:cond_11075 ····:cond_1
1076 ····if-eqz·v1,·:cond_21076 ····if-eqz·v1,·:cond_2
  
1077 ····.line·4581077 ····.line·457
1078 ····:try_start_21078 ····:try_start_2
1079 ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V1079 ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V
1080 ····:try_end_21080 ····:try_end_2
1081 ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_21081 ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_2
  
1082 ····.line·4591082 ····.line·458
1083 ····:cond_21083 ····:cond_2
1084 ····invoke-static·{},·Landroid/os/Trace;->endSection()V1084 ····invoke-static·{},·Landroid/os/Trace;->endSection()V
  
1085 ····return-void1085 ····return-void
  
1086 ····:catchall_01086 ····:catchall_0
1087 ····move-exception·p01087 ····move-exception·p0
  
1088 ····if-eqz·v1,·:cond_31088 ····if-eqz·v1,·:cond_3
  
1089 ····.line·4511089 ····.line·450
1090 ····:try_start_31090 ····:try_start_3
1091 ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V1091 ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V
1092 ····:try_end_31092 ····:try_end_3
1093 ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_11093 ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_1
  
1094 ····goto·:goto_11094 ····goto·:goto_1
  
Offset 1125, 30 lines modifiedOffset 1125, 30 lines modified
1125 ····throw·p01125 ····throw·p0
1126 ····:try_end_41126 ····:try_end_4
1127 ····.catchall·{:try_start_4·..·:try_end_4}·:catchall_21127 ····.catchall·{:try_start_4·..·:try_end_4}·:catchall_2
  
1128 ····:catchall_21128 ····:catchall_2
1129 ····move-exception·p01129 ····move-exception·p0
  
1130 ····.line·4591130 ····.line·458
1131 ····invoke-static·{},·Landroid/os/Trace;->endSection()V1131 ····invoke-static·{},·Landroid/os/Trace;->endSection()V
  
1132 ····.line·4601132 ····.line·459
1133 ····throw·p01133 ····throw·p0
1134 .end·method1134 .end·method
  
1135 .method·private·walkFileTree()V1135 .method·private·walkFileTree()V
1136 ····.locals·21136 ····.locals·2
  
1137 ····.line·3521137 ····.line·351
1138 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal;1138 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal;
  
1139 ····invoke-virtual·{v0},·Landroid/os/CancellationSignal;->throwIfCanceled()V1139 ····invoke-virtual·{v0},·Landroid/os/CancellationSignal;->throwIfCanceled()V
  
1140 ····.line·3541140 ····.line·353
1141 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSingleFile:Z1141 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSingleFile:Z
  
1142 ····if-eqz·v0,·:cond_01142 ····if-eqz·v0,·:cond_0
  
1143 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File;1143 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File;
  
1144 ····invoke-virtual·{v0},·Ljava/io/File;->getParentFile()Ljava/io/File;1144 ····invoke-virtual·{v0},·Ljava/io/File;->getParentFile()Ljava/io/File;
Offset 1161, 172 lines modifiedOffset 1161, 172 lines modified
1161 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File;1161 ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File;
  
1162 ····:goto_01162 ····:goto_0
1163 ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->shouldScanPathAndIsPathHidden(Ljava/io/File;)Landroid/util/Pair;1163 ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->shouldScanPathAndIsPathHidden(Ljava/io/File;)Landroid/util/Pair;
  
1164 ····move-result-object·v01164 ····move-result-object·v0
  
1165 ····.line·3551165 ····.line·354
1166 ····iget-object·v1,·v0,·Landroid/util/Pair;->first:Ljava/lang/Object;1166 ····iget-object·v1,·v0,·Landroid/util/Pair;->first:Ljava/lang/Object;
  
1167 ····check-cast·v1,·Ljava/lang/Boolean;1167 ····check-cast·v1,·Ljava/lang/Boolean;
  
1168 ····invoke-virtual·{v1},·Ljava/lang/Boolean;->booleanValue()Z1168 ····invoke-virtual·{v1},·Ljava/lang/Boolean;->booleanValue()Z
  
1169 ····move-result·v11169 ····move-result·v1
  
1170 ····if-eqz·v1,·:cond_51170 ····if-eqz·v1,·:cond_5
  
1171 ····const-string·v1,·"walkFileTree"1171 ····const-string·v1,·"walkFileTree"
  
1172 ····.line·3571172 ····.line·356
1173 ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V1173 ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V
  
1174 ····.line·3591174 ····.line·358
1175 ····iget-object·v0,·v0,·Landroid/util/Pair;->second:Ljava/lang/Object;1175 ····iget-object·v0,·v0,·Landroid/util/Pair;->second:Ljava/lang/Object;
  
1176 ····check-cast·v0,·Ljava/lang/Boolean;1176 ····check-cast·v0,·Ljava/lang/Boolean;
  
1177 ····invoke-virtual·{v0},·Ljava/lang/Boolean;->booleanValue()Z1177 ····invoke-virtual·{v0},·Ljava/lang/Boolean;->booleanValue()Z
  
Max diff block lines reached; 31805/65330 bytes (48.68%) of diff not shown.