Offset 20, 37 lines modifiedOffset 20, 35 lines modified
20 #·static·fields20 #·static·fields
21 .field·public·static·final·CURRENT_GENERATION_CLAUSE:Ljava/lang/String;·=·"SELECT·generation·FROM·local_metadata"21 .field·public·static·final·CURRENT_GENERATION_CLAUSE:Ljava/lang/String;·=·"SELECT·generation·FROM·local_metadata"
  
22 .field·static·final·EXTERNAL_DATABASE_NAME:Ljava/lang/String;·=·"external.db"22 .field·static·final·EXTERNAL_DATABASE_NAME:Ljava/lang/String;·=·"external.db"
  
23 .field·static·final·INTERNAL_DATABASE_NAME:Ljava/lang/String;·=·"internal.db"23 .field·static·final·INTERNAL_DATABASE_NAME:Ljava/lang/String;·=·"internal.db"
  
24 .field·private·static·final·NOTIFY_BATCH_SIZE:I·=·0x10024 .field·private·static·final·RENAME_TIMEOUT:J·=·0x2710L
  
25 .field·private·static·final·PASSTHROUGH_WAIT_TIMEOUT:J·=·0x2710L 
  
26 .field·static·final·VERSION_J:I·=·0x1fd25 .field·static·final·VERSION_J:I·=·0x1fd
  
27 .field·static·final·VERSION_K:I·=·0x2bc26 .field·static·final·VERSION_K:I·=·0x2bc
  
28 .field·static·final·VERSION_L:I·=·0x2bc27 .field·static·final·VERSION_L:I·=·0x2bc
  
29 .field·static·final·VERSION_LATEST:I·=·0x45a28 .field·static·final·VERSION_LATEST:I·=·0x45b
  
30 .field·static·final·VERSION_M:I·=·0x32029 .field·static·final·VERSION_M:I·=·0x320
  
31 .field·static·final·VERSION_N:I·=·0x32030 .field·static·final·VERSION_N:I·=·0x320
  
32 .field·static·final·VERSION_O:I·=·0x32031 .field·static·final·VERSION_O:I·=·0x320
  
33 .field·static·final·VERSION_P:I·=·0x38432 .field·static·final·VERSION_P:I·=·0x384
  
34 .field·static·final·VERSION_Q:I·=·0x3ff33 .field·static·final·VERSION_Q:I·=·0x3ff
  
35 .field·static·final·VERSION_R:I·=·0x45a34 .field·static·final·VERSION_R:I·=·0x45b
  
36 .field·private·static·final·XATTR_UUID:Ljava/lang/String;·=·"user.uuid"35 .field·private·static·final·XATTR_UUID:Ljava/lang/String;·=·"user.uuid"
  
37 .field·private·static·final·sMigrateColumns:Landroid/util/ArraySet;36 .field·private·static·final·sMigrateColumns:Landroid/util/ArraySet;
38 ····.annotation·system·Ldalvik/annotation/Signature;37 ····.annotation·system·Ldalvik/annotation/Signature;
39 ········value·=·{38 ········value·=·{
40 ············"Landroid/util/ArraySet<",39 ············"Landroid/util/ArraySet<",
Offset 146, 15 lines modifiedOffset 144, 15 lines modified
146 .field·final·mVolumeName:Ljava/lang/String;144 .field·final·mVolumeName:Ljava/lang/String;
  
  
147 #·direct·methods145 #·direct·methods
148 .method·static·constructor·<clinit>()V146 .method·static·constructor·<clinit>()V
149 ····.locals·1147 ····.locals·1
  
150 ····.line·1091148 ····.line·919
151 ····new-instance·v0,·Landroid/util/ArraySet;149 ····new-instance·v0,·Landroid/util/ArraySet;
  
152 ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V150 ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V
  
153 ····sput-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;151 ····sput-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;
  
154 ····return-void152 ····return-void
Offset 179, 224 lines modifiedOffset 177, 224 lines modified
179 ············"Ljava/lang/String;",177 ············"Ljava/lang/String;",
180 ············">;)V"178 ············">;)V"
181 ········}179 ········}
182 ····.end·annotation180 ····.end·annotation
  
183 ····const/4·v0,·0x0181 ····const/4·v0,·0x0
  
184 ····.line·185182 ····.line·176
185 ····invoke-direct·{p0,·p1,·p2,·v0,·p3},·Landroid/database/sqlite/SQLiteOpenHelper;-><init>(Landroid/content/Context;Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase$CursorFactory;I)V183 ····invoke-direct·{p0,·p1,·p2,·v0,·p3},·Landroid/database/sqlite/SQLiteOpenHelper;-><init>(Landroid/content/Context;Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase$CursorFactory;I)V
  
186 ····.line·120184 ····.line·111
187 ····new-instance·v0,·Landroid/util/ArraySet;185 ····new-instance·v0,·Landroid/util/ArraySet;
  
188 ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V186 ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V
  
189 ····iput-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mFilterVolumeNames:Ljava/util/Set;187 ····iput-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mFilterVolumeNames:Ljava/util/Set;
  
190 ····.line·142188 ····.line·133
191 ····new-instance·v0,·Ljava/util/concurrent/locks/ReentrantReadWriteLock;189 ····new-instance·v0,·Ljava/util/concurrent/locks/ReentrantReadWriteLock;
  
192 ····invoke-direct·{v0},·Ljava/util/concurrent/locks/ReentrantReadWriteLock;-><init>()V190 ····invoke-direct·{v0},·Ljava/util/concurrent/locks/ReentrantReadWriteLock;-><init>()V
  
193 ····iput-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mSchemaLock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;191 ····iput-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mSchemaLock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
  
194 ····.line·393192 ····.line·384
195 ····new-instance·v0,·Landroid/util/ArrayMap;193 ····new-instance·v0,·Landroid/util/ArrayMap;
  
196 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V194 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V
  
197 ····iput-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mProjectionMapCache:Landroid/util/ArrayMap;195 ····iput-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mProjectionMapCache:Landroid/util/ArrayMap;
  
198 ····.line·438196 ····.line·429
199 ····new-instance·v0,·Ljava/lang/ThreadLocal;197 ····new-instance·v0,·Ljava/lang/ThreadLocal;
  
200 ····invoke-direct·{v0},·Ljava/lang/ThreadLocal;-><init>()V198 ····invoke-direct·{v0},·Ljava/lang/ThreadLocal;-><init>()V
  
201 ····iput-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mTransactionState:Ljava/lang/ThreadLocal;199 ····iput-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mTransactionState:Ljava/lang/ThreadLocal;
  
202 ····.line·1094200 ····.line·922
203 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;201 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;
  
204 ····const-string·v1,·"_id"202 ····const-string·v1,·"_id"
  
205 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z203 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
206 ····.line·1095204 ····.line·923
207 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;205 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;
  
208 ····const-string·v1,·"_data"206 ····const-string·v1,·"_data"
  
209 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z207 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
210 ····.line·1096208 ····.line·924
211 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;209 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;
  
212 ····const-string·v1,·"volume_name"210 ····const-string·v1,·"volume_name"
  
213 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z211 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
214 ····.line·1097212 ····.line·925
215 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;213 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;
  
216 ····const-string·v1,·"media_type"214 ····const-string·v1,·"media_type"
  
217 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z215 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
218 ····.line·1099216 ····.line·927
219 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;217 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;
  
220 ····const-string·v1,·"date_added"218 ····const-string·v1,·"date_added"
  
221 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z219 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
222 ····.line·1100220 ····.line·928
223 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;221 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;
  
224 ····const-string·v1,·"date_expires"222 ····const-string·v1,·"date_expires"
  
225 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z223 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
226 ····.line·1101224 ····.line·929
227 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;225 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;
  
228 ····const-string·v1,·"is_pending"226 ····const-string·v1,·"is_pending"
  
229 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z227 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
230 ····.line·1102228 ····.line·930
231 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;229 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;
  
232 ····const-string·v1,·"is_trashed"230 ····const-string·v1,·"is_trashed"
  
233 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z231 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
234 ····.line·1103232 ····.line·931
235 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;233 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;
  
236 ····const-string·v1,·"is_favorite"234 ····const-string·v1,·"is_favorite"
  
237 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z235 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
238 ····.line·1104236 ····.line·932
239 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;237 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;
  
240 ····const-string·v1,·"owner_package_name"238 ····const-string·v1,·"owner_package_name"
  
241 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z239 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
242 ····.line·1106240 ····.line·934
243 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;241 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;
  
244 ····const-string·v1,·"bookmark"242 ····const-string·v1,·"bookmark"
  
245 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z243 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
246 ····.line·1108244 ····.line·936
247 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;245 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;
  
248 ····const-string·v2,·"tags"246 ····const-string·v2,·"tags"
  
249 ····invoke-virtual·{v0,·v2},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z247 ····invoke-virtual·{v0,·v2},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
250 ····.line·1109248 ····.line·937
251 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;249 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;
  
252 ····const-string·v2,·"category"250 ····const-string·v2,·"category"
  
253 ····invoke-virtual·{v0,·v2},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z251 ····invoke-virtual·{v0,·v2},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
254 ····.line·1110252 ····.line·938
255 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;253 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;
  
256 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z254 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
257 ····.line·1112255 ····.line·940
258 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;256 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;
  
259 ····const-string·v1,·"download_uri"257 ····const-string·v1,·"download_uri"
  
260 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z258 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
261 ····.line·1113259 ····.line·941
262 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;260 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet;
  
263 ····const-string·v1,·"referer_uri"261 ····const-string·v1,·"referer_uri"
  
264 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z262 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
265 ····.line·186263 ····.line·177
266 ····iput-object·p1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mContext:Landroid/content/Context;264 ····iput-object·p1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mContext:Landroid/content/Context;
  
267 ····.line·187265 ····.line·178
268 ····iput-object·p2,·p0,·Lcom/android/providers/media/DatabaseHelper;->mName:Ljava/lang/String;266 ····iput-object·p2,·p0,·Lcom/android/providers/media/DatabaseHelper;->mName:Ljava/lang/String;
  
269 ····.line·188267 ····.line·179
270 ····iput·p3,·p0,·Lcom/android/providers/media/DatabaseHelper;->mVersion:I268 ····iput·p3,·p0,·Lcom/android/providers/media/DatabaseHelper;->mVersion:I
  
271 ····const-string·p1,·"internal"269 ····const-string·p1,·"internal"
  
272 ····if-eqz·p4,·:cond_0270 ····if-eqz·p4,·:cond_0
  
273 ····move-object·p2,·p1271 ····move-object·p2,·p1
  
274 ····goto·:goto_0272 ····goto·:goto_0
  
275 ····:cond_0273 ····:cond_0
276 ····const-string·p2,·"external"274 ····const-string·p2,·"external"
  
277 ····.line·189275 ····.line·180
278 ····:goto_0276 ····:goto_0
279 ····iput-object·p2,·p0,·Lcom/android/providers/media/DatabaseHelper;->mVolumeName:Ljava/lang/String;277 ····iput-object·p2,·p0,·Lcom/android/providers/media/DatabaseHelper;->mVolumeName:Ljava/lang/String;
  
280 ····.line·190278 ····.line·181
281 ····iput-boolean·p4,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z279 ····iput-boolean·p4,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z
  
282 ····.line·191280 ····.line·182
283 ····iput-boolean·p5,·p0,·Lcom/android/providers/media/DatabaseHelper;->mEarlyUpgrade:Z281 ····iput-boolean·p5,·p0,·Lcom/android/providers/media/DatabaseHelper;->mEarlyUpgrade:Z
  
284 ····.line·192282 ····.line·183
285 ····iput-boolean·p6,·p0,·Lcom/android/providers/media/DatabaseHelper;->mLegacyProvider:Z283 ····iput-boolean·p6,·p0,·Lcom/android/providers/media/DatabaseHelper;->mLegacyProvider:Z
  
286 ····.line·193284 ····.line·184
287 ····iput-object·p7,·p0,·Lcom/android/providers/media/DatabaseHelper;->mColumnAnnotation:Ljava/lang/Class;285 ····iput-object·p7,·p0,·Lcom/android/providers/media/DatabaseHelper;->mColumnAnnotation:Ljava/lang/Class;
  
288 ····.line·194286 ····.line·185
289 ····iput-object·p8,·p0,·Lcom/android/providers/media/DatabaseHelper;->mSchemaListener:Lcom/android/providers/media/DatabaseHelper$OnSchemaChangeListener;287 ····iput-object·p8,·p0,·Lcom/android/providers/media/DatabaseHelper;->mSchemaListener:Lcom/android/providers/media/DatabaseHelper$OnSchemaChangeListener;
  
290 ····.line·195288 ····.line·186
291 ····iput-object·p9,·p0,·Lcom/android/providers/media/DatabaseHelper;->mFilesListener:Lcom/android/providers/media/DatabaseHelper$OnFilesChangeListener;289 ····iput-object·p9,·p0,·Lcom/android/providers/media/DatabaseHelper;->mFilesListener:Lcom/android/providers/media/DatabaseHelper$OnFilesChangeListener;
  
292 ····.line·196290 ····.line·187
293 ····iput-object·p10,·p0,·Lcom/android/providers/media/DatabaseHelper;->mMigrationListener:Lcom/android/providers/media/DatabaseHelper$OnLegacyMigrationListener;291 ····iput-object·p10,·p0,·Lcom/android/providers/media/DatabaseHelper;->mMigrationListener:Lcom/android/providers/media/DatabaseHelper$OnLegacyMigrationListener;
  
294 ····.line·197292 ····.line·188
295 ····iput-object·p11,·p0,·Lcom/android/providers/media/DatabaseHelper;->mIdGenerator:Ljava/util/function/UnaryOperator;293 ····iput-object·p11,·p0,·Lcom/android/providers/media/DatabaseHelper;->mIdGenerator:Ljava/util/function/UnaryOperator;
  
296 ····if-eqz·p4,·:cond_1294 ····if-eqz·p4,·:cond_1
  
297 ····.line·201295 ····.line·192
298 ····iget-object·p2,·p0,·Lcom/android/providers/media/DatabaseHelper;->mFilterVolumeNames:Ljava/util/Set;296 ····iget-object·p2,·p0,·Lcom/android/providers/media/DatabaseHelper;->mFilterVolumeNames:Ljava/util/Set;
  
299 ····invoke-interface·{p2,·p1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z297 ····invoke-interface·{p2,·p1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z
  
300 ····goto·:goto_1298 ····goto·:goto_1
  
301 ····.line·203299 ····.line·194
302 ····:cond_1300 ····:cond_1
303 ····iget-object·p1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mFilterVolumeNames:Ljava/util/Set;301 ····iget-object·p1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mFilterVolumeNames:Ljava/util/Set;
  
304 ····const-string·p2,·"external_primary"302 ····const-string·p2,·"external_primary"
  
305 ····invoke-interface·{p1,·p2},·Ljava/util/Set;->add(Ljava/lang/Object;)Z303 ····invoke-interface·{p1,·p2},·Ljava/util/Set;->add(Ljava/lang/Object;)Z
  
306 ····:goto_1304 ····:goto_1
307 ····const/4·p1,·0x1305 ····const/4·p1,·0x1
  
308 ····.line·206306 ····.line·197
309 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteOpenHelper;->setWriteAheadLoggingEnabled(Z)V307 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteOpenHelper;->setWriteAheadLoggingEnabled(Z)V
  
310 ····return-void308 ····return-void
311 .end·method309 .end·method
  
312 .method·public·constructor·<init>(Landroid/content/Context;Ljava/lang/String;ZZZLjava/lang/Class;Lcom/android/providers/media/DatabaseHelper$OnSchemaChangeListener;Lcom/android/providers/media/DatabaseHelper$OnFilesChangeListener;Lcom/android/providers/media/DatabaseHelper$OnLegacyMigrationListener;Ljava/util/function/UnaryOperator;)V310 .method·public·constructor·<init>(Landroid/content/Context;Ljava/lang/String;ZZZLjava/lang/Class;Lcom/android/providers/media/DatabaseHelper$OnSchemaChangeListener;Lcom/android/providers/media/DatabaseHelper$OnFilesChangeListener;Lcom/android/providers/media/DatabaseHelper$OnLegacyMigrationListener;Ljava/util/function/UnaryOperator;)V
313 ····.locals·12311 ····.locals·12
Offset 415, 15 lines modifiedOffset 413, 15 lines modified
415 ············"Lcom/android/providers/media/DatabaseHelper$OnLegacyMigrationListener;",413 ············"Lcom/android/providers/media/DatabaseHelper$OnLegacyMigrationListener;",
416 ············"Ljava/util/function/UnaryOperator<",414 ············"Ljava/util/function/UnaryOperator<",
417 ············"Ljava/lang/String;",415 ············"Ljava/lang/String;",
418 ············">;)V"416 ············">;)V"
419 ········}417 ········}
420 ····.end·annotation418 ····.end·annotation
  
421 ····.line·174419 ····.line·165
422 ····invoke-static·{p1},·Lcom/android/providers/media/DatabaseHelper;->getDatabaseVersion(Landroid/content/Context;)I420 ····invoke-static·{p1},·Lcom/android/providers/media/DatabaseHelper;->getDatabaseVersion(Landroid/content/Context;)I
  
423 ····move-result·v3421 ····move-result·v3
  
424 ····move-object·v0,·p0422 ····move-object·v0,·p0
  
425 ····move-object·v1,·p1423 ····move-object·v1,·p1
Offset 450, 193 lines modifiedOffset 448, 193 lines modified
  
450 ····return-void448 ····return-void
451 .end·method449 .end·method
  
452 .method·private·beginTransactionInternal()V450 .method·private·beginTransactionInternal()V
453 ····.locals·3451 ····.locals·3
  
454 ····.line·485452 ····.line·476
455 ····iget-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mTransactionState:Ljava/lang/ThreadLocal;453 ····iget-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mTransactionState:Ljava/lang/ThreadLocal;
  
456 ····invoke-virtual·{v0},·Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;454 ····invoke-virtual·{v0},·Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
  
457 ····move-result-object·v0455 ····move-result-object·v0
  
458 ····if-nez·v0,·:cond_0456 ····if-nez·v0,·:cond_0
  
459 ····.line·488457 ····.line·479
460 ····iget-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mTransactionState:Ljava/lang/ThreadLocal;458 ····iget-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mTransactionState:Ljava/lang/ThreadLocal;
  
461 ····new-instance·v1,·Lcom/android/providers/media/DatabaseHelper$TransactionState;459 ····new-instance·v1,·Lcom/android/providers/media/DatabaseHelper$TransactionState;
  
462 ····const/4·v2,·0x0460 ····const/4·v2,·0x0
  
463 ····invoke-direct·{v1,·v2},·Lcom/android/providers/media/DatabaseHelper$TransactionState;-><init>(Lcom/android/providers/media/DatabaseHelper$1;)V461 ····invoke-direct·{v1,·v2},·Lcom/android/providers/media/DatabaseHelper$TransactionState;-><init>(Lcom/android/providers/media/DatabaseHelper$1;)V
  
464 ····invoke-virtual·{v0,·v1},·Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V462 ····invoke-virtual·{v0,·v1},·Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
  
465 ····.line·490463 ····.line·481
466 ····invoke-super·{p0},·Landroid/database/sqlite/SQLiteOpenHelper;->getWritableDatabase()Landroid/database/sqlite/SQLiteDatabase;464 ····invoke-super·{p0},·Landroid/database/sqlite/SQLiteOpenHelper;->getWritableDatabase()Landroid/database/sqlite/SQLiteDatabase;
  
467 ····move-result-object·v0465 ····move-result-object·v0
  
468 ····.line·491466 ····.line·482
469 ····iget-object·p0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mSchemaLock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;467 ····iget-object·p0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mSchemaLock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
  
470 ····invoke-virtual·{p0},·Ljava/util/concurrent/locks/ReentrantReadWriteLock;->readLock()Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;468 ····invoke-virtual·{p0},·Ljava/util/concurrent/locks/ReentrantReadWriteLock;->readLock()Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;
  
471 ····move-result-object·p0469 ····move-result-object·p0
  
472 ····invoke-virtual·{p0},·Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;->lock()V470 ····invoke-virtual·{p0},·Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;->lock()V
  
473 ····.line·492471 ····.line·483
474 ····invoke-virtual·{v0},·Landroid/database/sqlite/SQLiteDatabase;->beginTransaction()V472 ····invoke-virtual·{v0},·Landroid/database/sqlite/SQLiteDatabase;->beginTransaction()V
  
475 ····const-string·p0,·"UPDATE·local_metadata·SET·generation=generation+1;"473 ····const-string·p0,·"UPDATE·local_metadata·SET·generation=generation+1;"
  
476 ····.line·493474 ····.line·484
477 ····invoke-virtual·{v0,·p0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V475 ····invoke-virtual·{v0,·p0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
478 ····return-void476 ····return-void
  
479 ····.line·486477 ····.line·477
480 ····:cond_0478 ····:cond_0
481 ····new-instance·p0,·Ljava/lang/IllegalStateException;479 ····new-instance·p0,·Ljava/lang/IllegalStateException;
  
482 ····const-string·v0,·"Nested·transactions·not·supported"480 ····const-string·v0,·"Nested·transactions·not·supported"
  
483 ····invoke-direct·{p0,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V481 ····invoke-direct·{p0,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
484 ····throw·p0482 ····throw·p0
485 .end·method483 .end·method
  
486 .method·private·static·createLatestIndexes(Landroid/database/sqlite/SQLiteDatabase;Z)V484 .method·private·static·createLatestIndexes(Landroid/database/sqlite/SQLiteDatabase;Z)V
487 ····.locals·0485 ····.locals·0
  
488 ····.line·1257486 ····.line·1085
489 ····invoke-static·{p0},·Lcom/android/providers/media/DatabaseHelper;->makePristineIndexes(Landroid/database/sqlite/SQLiteDatabase;)V487 ····invoke-static·{p0},·Lcom/android/providers/media/DatabaseHelper;->makePristineIndexes(Landroid/database/sqlite/SQLiteDatabase;)V
  
490 ····const-string·p1,·"CREATE·INDEX·image_id_index·on·thumbnails(image_id)"488 ····const-string·p1,·"CREATE·INDEX·image_id_index·on·thumbnails(image_id)"
  
491 ····.line·1259489 ····.line·1087
492 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V490 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
493 ····const-string·p1,·"CREATE·INDEX·video_id_index·on·videothumbnails(video_id)"491 ····const-string·p1,·"CREATE·INDEX·video_id_index·on·videothumbnails(video_id)"
  
494 ····.line·1260492 ····.line·1088
495 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V493 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
496 ····const-string·p1,·"CREATE·INDEX·album_id_idx·ON·files(album_id)"494 ····const-string·p1,·"CREATE·INDEX·album_id_idx·ON·files(album_id)"
  
497 ····.line·1261495 ····.line·1089
498 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V496 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
499 ····const-string·p1,·"CREATE·INDEX·artist_id_idx·ON·files(artist_id)"497 ····const-string·p1,·"CREATE·INDEX·artist_id_idx·ON·files(artist_id)"
  
500 ····.line·1262498 ····.line·1090
501 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V499 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
502 ····const-string·p1,·"CREATE·INDEX·genre_id_idx·ON·files(genre_id)"500 ····const-string·p1,·"CREATE·INDEX·genre_id_idx·ON·files(genre_id)"
  
503 ····.line·1263501 ····.line·1091
504 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V502 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
505 ····const-string·p1,·"CREATE·INDEX·bucket_index·on·files(bucket_id,media_type,datetaken,·_id)"503 ····const-string·p1,·"CREATE·INDEX·bucket_index·on·files(bucket_id,media_type,datetaken,·_id)"
  
506 ····.line·1264504 ····.line·1092
507 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V505 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
508 ····const-string·p1,·"CREATE·INDEX·bucket_name·on·files(bucket_id,media_type,bucket_display_name)"506 ····const-string·p1,·"CREATE·INDEX·bucket_name·on·files(bucket_id,media_type,bucket_display_name)"
  
509 ····.line·1265507 ····.line·1093
510 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V508 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
511 ····const-string·p1,·"CREATE·INDEX·format_index·ON·files(format)"509 ····const-string·p1,·"CREATE·INDEX·format_index·ON·files(format)"
  
512 ····.line·1266510 ····.line·1094
513 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V511 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
514 ····const-string·p1,·"CREATE·INDEX·media_type_index·ON·files(media_type)"512 ····const-string·p1,·"CREATE·INDEX·media_type_index·ON·files(media_type)"
  
515 ····.line·1267513 ····.line·1095
516 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V514 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
517 ····const-string·p1,·"CREATE·INDEX·parent_index·ON·files(parent)"515 ····const-string·p1,·"CREATE·INDEX·parent_index·ON·files(parent)"
  
518 ····.line·1268516 ····.line·1096
519 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V517 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
520 ····const-string·p1,·"CREATE·INDEX·path_index·ON·files(_data)"518 ····const-string·p1,·"CREATE·INDEX·path_index·ON·files(_data)"
  
521 ····.line·1269519 ····.line·1097
522 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V520 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
523 ····const-string·p1,·"CREATE·INDEX·sort_index·ON·files(datetaken·ASC,·_id·ASC)"521 ····const-string·p1,·"CREATE·INDEX·sort_index·ON·files(datetaken·ASC,·_id·ASC)"
  
524 ····.line·1270522 ····.line·1098
525 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V523 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
526 ····const-string·p1,·"CREATE·INDEX·title_idx·ON·files(title)"524 ····const-string·p1,·"CREATE·INDEX·title_idx·ON·files(title)"
  
527 ····.line·1271525 ····.line·1099
528 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V526 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
529 ····const-string·p1,·"CREATE·INDEX·titlekey_index·ON·files(title_key)"527 ····const-string·p1,·"CREATE·INDEX·titlekey_index·ON·files(title_key)"
  
530 ····.line·1272528 ····.line·1100
531 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V529 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
532 ····return-void530 ····return-void
533 .end·method531 .end·method
  
534 .method·private·createLatestSchema(Landroid/database/sqlite/SQLiteDatabase;)V532 .method·private·createLatestSchema(Landroid/database/sqlite/SQLiteDatabase;)V
535 ····.locals·7533 ····.locals·7
  
536 ····.line·749534 ····.line·738
537 ····:try_start_0535 ····:try_start_0
538 ····iget-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mContext:Landroid/content/Context;536 ····iget-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mContext:Landroid/content/Context;
  
539 ····invoke-virtual·{v0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;537 ····invoke-virtual·{v0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
  
540 ····move-result-object·v0538 ····move-result-object·v0
  
541 ····iget-object·v1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mContext:Landroid/content/Context;539 ····iget-object·v1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mContext:Landroid/content/Context;
  
542 ····.line·750540 ····.line·739
543 ····invoke-virtual·{v1},·Landroid/content/Context;->getPackageName()Ljava/lang/String;541 ····invoke-virtual·{v1},·Landroid/content/Context;->getPackageName()Ljava/lang/String;
  
544 ····move-result-object·v1542 ····move-result-object·v1
  
545 ····const/16·v2,·0x8543 ····const/16·v2,·0x8
  
546 ····.line·749544 ····.line·738
547 ····invoke-virtual·{v0,·v1,·v2},·Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;545 ····invoke-virtual·{v0,·v1,·v2},·Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;
  
548 ····move-result-object·v0546 ····move-result-object·v0
  
549 ····if-eqz·v0,·:cond_0547 ····if-eqz·v0,·:cond_0
  
550 ····.line·751548 ····.line·740
551 ····iget-object·v1,·v0,·Landroid/content/pm/PackageInfo;->providers:[Landroid/content/pm/ProviderInfo;549 ····iget-object·v1,·v0,·Landroid/content/pm/PackageInfo;->providers:[Landroid/content/pm/ProviderInfo;
  
552 ····if-eqz·v1,·:cond_0550 ····if-eqz·v1,·:cond_0
  
553 ····.line·752551 ····.line·741
554 ····iget-object·v0,·v0,·Landroid/content/pm/PackageInfo;->providers:[Landroid/content/pm/ProviderInfo;552 ····iget-object·v0,·v0,·Landroid/content/pm/PackageInfo;->providers:[Landroid/content/pm/ProviderInfo;
  
555 ····array-length·v1,·v0553 ····array-length·v1,·v0
  
556 ····const/4·v2,·0x0554 ····const/4·v2,·0x0
  
557 ····:goto_0555 ····:goto_0
558 ····if-ge·v2,·v1,·:cond_0556 ····if-ge·v2,·v1,·:cond_0
  
559 ····aget-object·v3,·v0,·v2557 ····aget-object·v3,·v0,·v2
  
560 ····.line·753558 ····.line·742
561 ····iget-object·v4,·p0,·Lcom/android/providers/media/DatabaseHelper;->mContext:Landroid/content/Context;559 ····iget-object·v4,·p0,·Lcom/android/providers/media/DatabaseHelper;->mContext:Landroid/content/Context;
  
562 ····new-instance·v5,·Ljava/lang/StringBuilder;560 ····new-instance·v5,·Ljava/lang/StringBuilder;
  
563 ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V561 ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V
  
564 ····const-string·v6,·"content://"562 ····const-string·v6,·"content://"
Offset 668, 190 lines modifiedOffset 666, 190 lines modified
668 ····:catch_0666 ····:catch_0
669 ····move-exception·v0667 ····move-exception·v0
  
670 ····const-string·v1,·"MediaProvider"668 ····const-string·v1,·"MediaProvider"
  
671 ····const-string·v2,·"Failed·to·revoke·permissions"669 ····const-string·v2,·"Failed·to·revoke·permissions"
  
672 ····.line·759670 ····.line·748
673 ····invoke-static·{v1,·v2,·v0},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I671 ····invoke-static·{v1,·v2,·v0},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
  
674 ····.line·762672 ····.line·751
675 ····:cond_0673 ····:cond_0
676 ····invoke-static·{p1},·Lcom/android/providers/media/DatabaseHelper;->makePristineSchema(Landroid/database/sqlite/SQLiteDatabase;)V674 ····invoke-static·{p1},·Lcom/android/providers/media/DatabaseHelper;->makePristineSchema(Landroid/database/sqlite/SQLiteDatabase;)V
  
677 ····const-string·v0,·"CREATE·TABLE·local_metadata·(generation·INTEGER·DEFAULT·0)"675 ····const-string·v0,·"CREATE·TABLE·local_metadata·(generation·INTEGER·DEFAULT·0)"
  
678 ····.line·764676 ····.line·753
679 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V677 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
680 ····const-string·v0,·"INSERT·INTO·local_metadata·VALUES·(0)"678 ····const-string·v0,·"INSERT·INTO·local_metadata·VALUES·(0)"
  
681 ····.line·765679 ····.line·754
682 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V680 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
683 ····const-string·v0,·"CREATE·TABLE·android_metadata·(locale·TEXT)"681 ····const-string·v0,·"CREATE·TABLE·android_metadata·(locale·TEXT)"
  
684 ····.line·767682 ····.line·756
685 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V683 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
686 ····const-string·v0,·"CREATE·TABLE·thumbnails·(_id·INTEGER·PRIMARY·KEY,_data·TEXT,image_id·INTEGER,kind·INTEGER,width·INTEGER,height·INTEGER)"684 ····const-string·v0,·"CREATE·TABLE·thumbnails·(_id·INTEGER·PRIMARY·KEY,_data·TEXT,image_id·INTEGER,kind·INTEGER,width·INTEGER,height·INTEGER)"
  
687 ····.line·768685 ····.line·757
688 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V686 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
689 ····const-string·v0,·"CREATE·TABLE·album_art·(album_id·INTEGER·PRIMARY·KEY,_data·TEXT)"687 ····const-string·v0,·"CREATE·TABLE·album_art·(album_id·INTEGER·PRIMARY·KEY,_data·TEXT)"
  
690 ····.line·770688 ····.line·759
691 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V689 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
692 ····const-string·v0,·"CREATE·TABLE·videothumbnails·(_id·INTEGER·PRIMARY·KEY,_data·TEXT,video_id·INTEGER,kind·INTEGER,width·INTEGER,height·INTEGER)"690 ····const-string·v0,·"CREATE·TABLE·videothumbnails·(_id·INTEGER·PRIMARY·KEY,_data·TEXT,video_id·INTEGER,kind·INTEGER,width·INTEGER,height·INTEGER)"
  
693 ····.line·771691 ····.line·760
694 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V692 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
695 ····const-string·v0,·"CREATE·TABLE·files·(_id·INTEGER·PRIMARY·KEY·AUTOINCREMENT,_data·TEXT·UNIQUE·COLLATE·NOCASE,_size·INTEGER,format·INTEGER,parent·INTEGER,date_added·INTEGER,date_modified·INTEGER,mime_type·TEXT,title·TEXT,description·TEXT,_display_name·TEXT,picasa_id·TEXT,orientation·INTEGER,latitude·DOUBLE,longitude·DOUBLE,datetaken·INTEGER,mini_thumb_magic·INTEGER,bucket_id·TEXT,bucket_display_name·TEXT,isprivate·INTEGER,title_key·TEXT,artist_id·INTEGER,album_id·INTEGER,composer·TEXT,track·INTEGER,year·INTEGER·CHECK(year!=0),is_ringtone·INTEGER,is_music·INTEGER,is_alarm·INTEGER,is_notification·INTEGER,is_podcast·INTEGER,album_artist·TEXT,duration·INTEGER,bookmark·INTEGER,artist·TEXT,album·TEXT,resolution·TEXT,tags·TEXT,category·TEXT,language·TEXT,mini_thumb_data·TEXT,name·TEXT,media_type·INTEGER,old_id·INTEGER,is_drm·INTEGER,width·INTEGER,·height·INTEGER,·title_resource_uri·TEXT,owner_package_name·TEXT·DEFAULT·NULL,color_standard·INTEGER,·color_transfer·INTEGER,·color_range·INTEGER,_hash·BLOB·DEFAULT·NULL,·is_pending·INTEGER·DEFAULT·0,is_download·INTEGER·DEFAULT·0,·download_uri·TEXT·DEFAULT·NULL,referer_uri·TEXT·DEFAULT·NULL,·is_audiobook·INTEGER·DEFAULT·0,date_expires·INTEGER·DEFAULT·NULL,is_trashed·INTEGER·DEFAULT·0,group_id·INTEGER·DEFAULT·NULL,primary_directory·TEXT·DEFAULT·NULL,secondary_directory·TEXT·DEFAULT·NULL,document_id·TEXT·DEFAULT·NULL,instance_id·TEXT·DEFAULT·NULL,original_document_id·TEXT·DEFAULT·NULL,relative_path·TEXT·DEFAULT·NULL,volume_name·TEXT·DEFAULT·NULL,artist_key·TEXT·DEFAULT·NULL,album_key·TEXT·DEFAULT·NULL,genre·TEXT·DEFAULT·NULL,genre_key·TEXT·DEFAULT·NULL,genre_id·INTEGER,author·TEXT·DEFAULT·NULL,·bitrate·INTEGER·DEFAULT·NULL,capture_framerate·REAL·DEFAULT·NULL,·cd_track_number·TEXT·DEFAULT·NULL,compilation·INTEGER·DEFAULT·NULL,·disc_number·TEXT·DEFAULT·NULL,is_favorite·INTEGER·DEFAULT·0,·num_tracks·INTEGER·DEFAULT·NULL,writer·TEXT·DEFAULT·NULL,·exposure_time·TEXT·DEFAULT·NULL,f_number·TEXT·DEFAULT·NULL,·iso·INTEGER·DEFAULT·NULL,scene_capture_type·INTEGER·DEFAULT·NULL,·generation_added·INTEGER·DEFAULT·0,generation_modified·INTEGER·DEFAULT·0,·xmp·BLOB·DEFAULT·NULL)"693 ····const-string·v0,·"CREATE·TABLE·files·(_id·INTEGER·PRIMARY·KEY·AUTOINCREMENT,_data·TEXT·UNIQUE·COLLATE·NOCASE,_size·INTEGER,format·INTEGER,parent·INTEGER,date_added·INTEGER,date_modified·INTEGER,mime_type·TEXT,title·TEXT,description·TEXT,_display_name·TEXT,picasa_id·TEXT,orientation·INTEGER,latitude·DOUBLE,longitude·DOUBLE,datetaken·INTEGER,mini_thumb_magic·INTEGER,bucket_id·TEXT,bucket_display_name·TEXT,isprivate·INTEGER,title_key·TEXT,artist_id·INTEGER,album_id·INTEGER,composer·TEXT,track·INTEGER,year·INTEGER·CHECK(year!=0),is_ringtone·INTEGER,is_music·INTEGER,is_alarm·INTEGER,is_notification·INTEGER,is_podcast·INTEGER,album_artist·TEXT,duration·INTEGER,bookmark·INTEGER,artist·TEXT,album·TEXT,resolution·TEXT,tags·TEXT,category·TEXT,language·TEXT,mini_thumb_data·TEXT,name·TEXT,media_type·INTEGER,old_id·INTEGER,is_drm·INTEGER,width·INTEGER,·height·INTEGER,·title_resource_uri·TEXT,owner_package_name·TEXT·DEFAULT·NULL,color_standard·INTEGER,·color_transfer·INTEGER,·color_range·INTEGER,_hash·BLOB·DEFAULT·NULL,·is_pending·INTEGER·DEFAULT·0,is_download·INTEGER·DEFAULT·0,·download_uri·TEXT·DEFAULT·NULL,referer_uri·TEXT·DEFAULT·NULL,·is_audiobook·INTEGER·DEFAULT·0,date_expires·INTEGER·DEFAULT·NULL,is_trashed·INTEGER·DEFAULT·0,group_id·INTEGER·DEFAULT·NULL,primary_directory·TEXT·DEFAULT·NULL,secondary_directory·TEXT·DEFAULT·NULL,document_id·TEXT·DEFAULT·NULL,instance_id·TEXT·DEFAULT·NULL,original_document_id·TEXT·DEFAULT·NULL,relative_path·TEXT·DEFAULT·NULL,volume_name·TEXT·DEFAULT·NULL,artist_key·TEXT·DEFAULT·NULL,album_key·TEXT·DEFAULT·NULL,genre·TEXT·DEFAULT·NULL,genre_key·TEXT·DEFAULT·NULL,genre_id·INTEGER,author·TEXT·DEFAULT·NULL,·bitrate·INTEGER·DEFAULT·NULL,capture_framerate·REAL·DEFAULT·NULL,·cd_track_number·TEXT·DEFAULT·NULL,compilation·INTEGER·DEFAULT·NULL,·disc_number·TEXT·DEFAULT·NULL,is_favorite·INTEGER·DEFAULT·0,·num_tracks·INTEGER·DEFAULT·NULL,writer·TEXT·DEFAULT·NULL,·exposure_time·TEXT·DEFAULT·NULL,f_number·TEXT·DEFAULT·NULL,·iso·INTEGER·DEFAULT·NULL,scene_capture_type·INTEGER·DEFAULT·NULL,·generation_added·INTEGER·DEFAULT·0,generation_modified·INTEGER·DEFAULT·0,·xmp·BLOB·DEFAULT·NULL)"
  
696 ····.line·773694 ····.line·762
697 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V695 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
698 ····const-string·v0,·"CREATE·TABLE·log·(time·DATETIME,·message·TEXT)"696 ····const-string·v0,·"CREATE·TABLE·log·(time·DATETIME,·message·TEXT)"
  
699 ····.line·807697 ····.line·796
700 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V698 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
701 ····.line·808699 ····.line·797
702 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z700 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z
  
703 ····if-nez·v0,·:cond_1701 ····if-nez·v0,·:cond_1
  
704 ····const-string·v0,·"CREATE·TABLE·audio_playlists_map·(_id·INTEGER·PRIMARY·KEY,audio_id·INTEGER·NOT·NULL,playlist_id·INTEGER·NOT·NULL,play_order·INTEGER·NOT·NULL)"702 ····const-string·v0,·"CREATE·TABLE·audio_playlists_map·(_id·INTEGER·PRIMARY·KEY,audio_id·INTEGER·NOT·NULL,playlist_id·INTEGER·NOT·NULL,play_order·INTEGER·NOT·NULL)"
  
705 ····.line·809703 ····.line·798
706 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V704 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
707 ····.line·814705 ····.line·803
708 ····:cond_1706 ····:cond_1
709 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z707 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z
  
710 ····invoke-direct·{p0,·p1,·v0},·Lcom/android/providers/media/DatabaseHelper;->createLatestViews(Landroid/database/sqlite/SQLiteDatabase;Z)V708 ····invoke-direct·{p0,·p1,·v0},·Lcom/android/providers/media/DatabaseHelper;->createLatestViews(Landroid/database/sqlite/SQLiteDatabase;Z)V
  
711 ····.line·815709 ····.line·804
712 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z710 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z
  
713 ····invoke-static·{p1,·v0},·Lcom/android/providers/media/DatabaseHelper;->createLatestTriggers(Landroid/database/sqlite/SQLiteDatabase;Z)V711 ····invoke-static·{p1,·v0},·Lcom/android/providers/media/DatabaseHelper;->createLatestTriggers(Landroid/database/sqlite/SQLiteDatabase;Z)V
  
714 ····.line·816712 ····.line·805
715 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z713 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z
  
716 ····invoke-static·{p1,·v0},·Lcom/android/providers/media/DatabaseHelper;->createLatestIndexes(Landroid/database/sqlite/SQLiteDatabase;Z)V714 ····invoke-static·{p1,·v0},·Lcom/android/providers/media/DatabaseHelper;->createLatestIndexes(Landroid/database/sqlite/SQLiteDatabase;Z)V
  
717 ····.line·820715 ····.line·809
718 ····iget-boolean·p1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mLegacyProvider:Z716 ····iget-boolean·p1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mLegacyProvider:Z
  
719 ····if-nez·p1,·:cond_2717 ····if-nez·p1,·:cond_2
  
720 ····const/4·p1,·0x1718 ····const/4·p1,·0x1
  
721 ····.line·821719 ····.line·810
722 ····iput-boolean·p1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mMigrateFromLegacy:Z720 ····iput-boolean·p1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mMigrateFromLegacy:Z
  
723 ····:cond_2721 ····:cond_2
724 ····return-void722 ····return-void
725 .end·method723 .end·method
  
726 .method·private·static·createLatestTriggers(Landroid/database/sqlite/SQLiteDatabase;Z)V724 .method·private·static·createLatestTriggers(Landroid/database/sqlite/SQLiteDatabase;Z)V
727 ····.locals·0725 ····.locals·0
  
728 ····.line·1224726 ····.line·1052
729 ····invoke-static·{p0},·Lcom/android/providers/media/DatabaseHelper;->makePristineTriggers(Landroid/database/sqlite/SQLiteDatabase;)V727 ····invoke-static·{p0},·Lcom/android/providers/media/DatabaseHelper;->makePristineTriggers(Landroid/database/sqlite/SQLiteDatabase;)V
  
730 ····const-string·p1,·"CREATE·TRIGGER·files_insert·AFTER·INSERT·ON·files·BEGIN·SELECT·_INSERT(new.volume_name||\':\'||new._id||\':\'||new.media_type||\':\'||new.is_download);·END"728 ····const-string·p1,·"CREATE·TRIGGER·files_insert·AFTER·INSERT·ON·files·BEGIN·SELECT·_INSERT(new.volume_name||\':\'||new._id||\':\'||new.media_type||\':\'||new.is_download);·END"
  
731 ····.line·1237729 ····.line·1065
732 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V730 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
733 ····const-string·p1,·"CREATE·TRIGGER·files_update·AFTER·UPDATE·ON·files·BEGIN·SELECT·_UPDATE(old.volume_name||\':\'||old._id||\':\'||old.media_type||\':\'||old.is_download||\':\'||new._id||\':\'||new.media_type||\':\'||new.is_download||\':\'||ifnull(old.owner_package_name,\'null\')||\':\'||ifnull(new.owner_package_name,\'null\')||\':\'||old._data);·END"731 ····const-string·p1,·"CREATE·TRIGGER·files_update·AFTER·UPDATE·ON·files·BEGIN·SELECT·_UPDATE(old.volume_name||\':\'||old._id||\':\'||old.media_type||\':\'||old.is_download||\':\'||new._id||\':\'||new.media_type||\':\'||new.is_download||\':\'||ifnull(old.owner_package_name,\'null\')||\':\'||ifnull(new.owner_package_name,\'null\')||\':\'||old._data);·END"
  
734 ····.line·1239732 ····.line·1067
735 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V733 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
736 ····const-string·p1,·"CREATE·TRIGGER·files_delete·AFTER·DELETE·ON·files·BEGIN·SELECT·_DELETE(old.volume_name||\':\'||old._id||\':\'||old.media_type||\':\'||old.is_download||\':\'||ifnull(old.owner_package_name,\'null\')||\':\'||old._data);·END"734 ····const-string·p1,·"CREATE·TRIGGER·files_delete·AFTER·DELETE·ON·files·BEGIN·SELECT·_DELETE(old.volume_name||\':\'||old._id||\':\'||old.media_type||\':\'||old.is_download||\':\'||ifnull(old.owner_package_name,\'null\')||\':\'||old._data);·END"
  
737 ····.line·1241735 ····.line·1069
738 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V736 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
739 ····return-void737 ····return-void
740 .end·method738 .end·method
  
741 .method·private·createLatestViews(Landroid/database/sqlite/SQLiteDatabase;Z)V739 .method·private·createLatestViews(Landroid/database/sqlite/SQLiteDatabase;Z)V
742 ····.locals·5740 ····.locals·5
  
743 ····.line·1127741 ····.line·955
744 ····invoke-static·{p1},·Lcom/android/providers/media/DatabaseHelper;->makePristineViews(Landroid/database/sqlite/SQLiteDatabase;)V742 ····invoke-static·{p1},·Lcom/android/providers/media/DatabaseHelper;->makePristineViews(Landroid/database/sqlite/SQLiteDatabase;)V
  
745 ····.line·1129743 ····.line·957
746 ····iget-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mColumnAnnotation:Ljava/lang/Class;744 ····iget-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mColumnAnnotation:Ljava/lang/Class;
  
747 ····if-nez·v0,·:cond_0745 ····if-nez·v0,·:cond_0
  
748 ····const-string·p0,·"MediaProvider"746 ····const-string·p0,·"MediaProvider"
  
749 ····const-string·p1,·"No·column·annotation·provided;·not·creating·views"747 ····const-string·p1,·"No·column·annotation·provided;·not·creating·views"
  
750 ····.line·1130748 ····.line·958
751 ····invoke-static·{p0,·p1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I749 ····invoke-static·{p0,·p1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
  
752 ····return-void750 ····return-void
  
753 ····.line·1135751 ····.line·963
754 ····:cond_0752 ····:cond_0
755 ····iget-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mFilterVolumeNames:Ljava/util/Set;753 ····iget-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mFilterVolumeNames:Ljava/util/Set;
  
756 ····monitor-enter·v0754 ····monitor-enter·v0
  
757 ····.line·1136755 ····.line·964
758 ····:try_start_0756 ····:try_start_0
759 ····iget-object·v1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mFilterVolumeNames:Ljava/util/Set;757 ····iget-object·v1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mFilterVolumeNames:Ljava/util/Set;
  
760 ····invoke-interface·{v1},·Ljava/util/Set;->toArray()[Ljava/lang/Object;758 ····invoke-interface·{v1},·Ljava/util/Set;->toArray()[Ljava/lang/Object;
  
761 ····move-result-object·v1759 ····move-result-object·v1
  
762 ····invoke-static·{v1},·Lcom/android/providers/media/util/DatabaseUtils;->bindList([Ljava/lang/Object;)Ljava/lang/String;760 ····invoke-static·{v1},·Lcom/android/providers/media/util/DatabaseUtils;->bindList([Ljava/lang/Object;)Ljava/lang/String;
  
763 ····move-result-object·v1761 ····move-result-object·v1
  
764 ····.line·1137762 ····.line·965
765 ····monitor-exit·v0763 ····monitor-exit·v0
766 ····:try_end_0764 ····:try_end_0
767 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0765 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0
  
768 ····const/4·v0,·0x0766 ····const/4·v0,·0x0
  
769 ····const/4·v2,·0x1767 ····const/4·v2,·0x1
  
770 ····if-nez·p2,·:cond_1768 ····if-nez·p2,·:cond_1
  
771 ····.line·1140769 ····.line·968
772 ····new-instance·p2,·Ljava/lang/StringBuilder;770 ····new-instance·p2,·Ljava/lang/StringBuilder;
  
773 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V771 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V
  
774 ····const-string·v3,·"CREATE·VIEW·audio_playlists·AS·SELECT·"772 ····const-string·v3,·"CREATE·VIEW·audio_playlists·AS·SELECT·"
  
775 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;773 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
776 ····new-array·v3,·v2,·[Ljava/lang/Class;774 ····new-array·v3,·v2,·[Ljava/lang/Class;
  
777 ····const-class·v4,·Landroid/provider/MediaStore$Audio$Playlists;775 ····const-class·v4,·Landroid/provider/MediaStore$Audio$Playlists;
  
778 ····aput-object·v4,·v3,·v0776 ····aput-object·v4,·v3,·v0
  
779 ····.line·1141777 ····.line·969
780 ····invoke-virtual·{p0,·v3},·Lcom/android/providers/media/DatabaseHelper;->getProjectionMap([Ljava/lang/Class;)Landroid/util/ArrayMap;778 ····invoke-virtual·{p0,·v3},·Lcom/android/providers/media/DatabaseHelper;->getProjectionMap([Ljava/lang/Class;)Landroid/util/ArrayMap;
  
781 ····move-result-object·v3779 ····move-result-object·v3
  
782 ····invoke-virtual·{v3},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;780 ····invoke-virtual·{v3},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;
  
783 ····move-result-object·v3781 ····move-result-object·v3
Offset 868, 44 lines modifiedOffset 866, 44 lines modified
  
868 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;866 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
869 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;867 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
870 ····move-result-object·p2868 ····move-result-object·p2
  
871 ····.line·1140869 ····.line·968
872 ····invoke-virtual·{p1,·p2},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V870 ····invoke-virtual·{p1,·p2},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
873 ····:cond_1871 ····:cond_1
874 ····const-string·p2,·"CREATE·VIEW·searchhelpertitle·AS·SELECT·*·FROM·audio·ORDER·BY·title_key"872 ····const-string·p2,·"CREATE·VIEW·searchhelpertitle·AS·SELECT·*·FROM·audio·ORDER·BY·title_key"
  
875 ····.line·1145873 ····.line·973
876 ····invoke-virtual·{p1,·p2},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V874 ····invoke-virtual·{p1,·p2},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
877 ····const-string·p2,·"CREATE·VIEW·search·AS·SELECT·_id,\'artist\'·AS·mime_type,artist,NULL·AS·album,NULL·AS·title,artist·AS·text1,NULL·AS·text2,number_of_albums·AS·data1,number_of_tracks·AS·data2,artist_key·AS·match,\'content://media/external/audio/artists/\'||_id·AS·suggest_intent_data,1·AS·grouporder·FROM·artist_info·WHERE·(artist!=\'<unknown>\')·UNION·ALL·SELECT·_id,\'album\'·AS·mime_type,artist,album,NULL·AS·title,album·AS·text1,artist·AS·text2,NULL·AS·data1,NULL·AS·data2,artist_key||\'·\'||album_key·AS·match,\'content://media/external/audio/albums/\'||_id·AS·suggest_intent_data,2·AS·grouporder·FROM·album_info·WHERE·(album!=\'<unknown>\')·UNION·ALL·SELECT·searchhelpertitle._id·AS·_id,mime_type,artist,album,title,title·AS·text1,artist·AS·text2,NULL·AS·data1,NULL·AS·data2,artist_key||\'·\'||album_key||\'·\'||title_key·AS·match,\'content://media/external/audio/media/\'||searchhelpertitle._id·AS·suggest_intent_data,3·AS·grouporder·FROM·searchhelpertitle·WHERE·(title·!=·\'\')"875 ····const-string·p2,·"CREATE·VIEW·search·AS·SELECT·_id,\'artist\'·AS·mime_type,artist,NULL·AS·album,NULL·AS·title,artist·AS·text1,NULL·AS·text2,number_of_albums·AS·data1,number_of_tracks·AS·data2,artist_key·AS·match,\'content://media/external/audio/artists/\'||_id·AS·suggest_intent_data,1·AS·grouporder·FROM·artist_info·WHERE·(artist!=\'<unknown>\')·UNION·ALL·SELECT·_id,\'album\'·AS·mime_type,artist,album,NULL·AS·title,album·AS·text1,artist·AS·text2,NULL·AS·data1,NULL·AS·data2,artist_key||\'·\'||album_key·AS·match,\'content://media/external/audio/albums/\'||_id·AS·suggest_intent_data,2·AS·grouporder·FROM·album_info·WHERE·(album!=\'<unknown>\')·UNION·ALL·SELECT·searchhelpertitle._id·AS·_id,mime_type,artist,album,title,title·AS·text1,artist·AS·text2,NULL·AS·data1,NULL·AS·data2,artist_key||\'·\'||album_key||\'·\'||title_key·AS·match,\'content://media/external/audio/media/\'||searchhelpertitle._id·AS·suggest_intent_data,3·AS·grouporder·FROM·searchhelpertitle·WHERE·(title·!=·\'\')"
  
878 ····.line·1146876 ····.line·974
879 ····invoke-virtual·{p1,·p2},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V877 ····invoke-virtual·{p1,·p2},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
880 ····.line·1164878 ····.line·992
881 ····new-instance·p2,·Ljava/lang/StringBuilder;879 ····new-instance·p2,·Ljava/lang/StringBuilder;
  
882 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V880 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V
  
883 ····const-string·v3,·"CREATE·VIEW·audio·AS·SELECT·"881 ····const-string·v3,·"CREATE·VIEW·audio·AS·SELECT·"
  
884 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;882 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
885 ····new-array·v3,·v2,·[Ljava/lang/Class;883 ····new-array·v3,·v2,·[Ljava/lang/Class;
  
886 ····const-class·v4,·Landroid/provider/MediaStore$Audio$Media;884 ····const-class·v4,·Landroid/provider/MediaStore$Audio$Media;
  
887 ····aput-object·v4,·v3,·v0885 ····aput-object·v4,·v3,·v0
  
888 ····.line·1165886 ····.line·993
889 ····invoke-virtual·{p0,·v3},·Lcom/android/providers/media/DatabaseHelper;->getProjectionMap([Ljava/lang/Class;)Landroid/util/ArrayMap;887 ····invoke-virtual·{p0,·v3},·Lcom/android/providers/media/DatabaseHelper;->getProjectionMap([Ljava/lang/Class;)Landroid/util/ArrayMap;
  
890 ····move-result-object·v3888 ····move-result-object·v3
  
891 ····invoke-virtual·{v3},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;889 ····invoke-virtual·{v3},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;
  
892 ····move-result-object·v3890 ····move-result-object·v3
Offset 922, 33 lines modifiedOffset 920, 33 lines modified
  
922 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;920 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
923 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;921 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
924 ····move-result-object·p2922 ····move-result-object·p2
  
925 ····.line·1164923 ····.line·992
926 ····invoke-virtual·{p1,·p2},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V924 ····invoke-virtual·{p1,·p2},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
927 ····.line·1167925 ····.line·995
928 ····new-instance·p2,·Ljava/lang/StringBuilder;926 ····new-instance·p2,·Ljava/lang/StringBuilder;
  
929 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V927 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V
  
930 ····const-string·v3,·"CREATE·VIEW·video·AS·SELECT·"928 ····const-string·v3,·"CREATE·VIEW·video·AS·SELECT·"
  
931 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;929 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
932 ····new-array·v3,·v2,·[Ljava/lang/Class;930 ····new-array·v3,·v2,·[Ljava/lang/Class;
  
933 ····const-class·v4,·Landroid/provider/MediaStore$Video$Media;931 ····const-class·v4,·Landroid/provider/MediaStore$Video$Media;
  
934 ····aput-object·v4,·v3,·v0932 ····aput-object·v4,·v3,·v0
  
935 ····.line·1168933 ····.line·996
936 ····invoke-virtual·{p0,·v3},·Lcom/android/providers/media/DatabaseHelper;->getProjectionMap([Ljava/lang/Class;)Landroid/util/ArrayMap;934 ····invoke-virtual·{p0,·v3},·Lcom/android/providers/media/DatabaseHelper;->getProjectionMap([Ljava/lang/Class;)Landroid/util/ArrayMap;
  
937 ····move-result-object·v3935 ····move-result-object·v3
  
938 ····invoke-virtual·{v3},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;936 ····invoke-virtual·{v3},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;
  
939 ····move-result-object·v3937 ····move-result-object·v3
Offset 965, 33 lines modifiedOffset 963, 33 lines modified
  
965 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;963 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
966 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;964 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
967 ····move-result-object·p2965 ····move-result-object·p2
  
968 ····.line·1167966 ····.line·995
969 ····invoke-virtual·{p1,·p2},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V967 ····invoke-virtual·{p1,·p2},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
970 ····.line·1170968 ····.line·998
971 ····new-instance·p2,·Ljava/lang/StringBuilder;969 ····new-instance·p2,·Ljava/lang/StringBuilder;
  
972 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V970 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V
  
973 ····const-string·v3,·"CREATE·VIEW·images·AS·SELECT·"971 ····const-string·v3,·"CREATE·VIEW·images·AS·SELECT·"
  
974 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;972 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
975 ····new-array·v3,·v2,·[Ljava/lang/Class;973 ····new-array·v3,·v2,·[Ljava/lang/Class;
  
976 ····const-class·v4,·Landroid/provider/MediaStore$Images$Media;974 ····const-class·v4,·Landroid/provider/MediaStore$Images$Media;
  
977 ····aput-object·v4,·v3,·v0975 ····aput-object·v4,·v3,·v0
  
978 ····.line·1171976 ····.line·999
979 ····invoke-virtual·{p0,·v3},·Lcom/android/providers/media/DatabaseHelper;->getProjectionMap([Ljava/lang/Class;)Landroid/util/ArrayMap;977 ····invoke-virtual·{p0,·v3},·Lcom/android/providers/media/DatabaseHelper;->getProjectionMap([Ljava/lang/Class;)Landroid/util/ArrayMap;
  
980 ····move-result-object·v3978 ····move-result-object·v3
  
981 ····invoke-virtual·{v3},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;979 ····invoke-virtual·{v3},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;
  
982 ····move-result-object·v3980 ····move-result-object·v3
Offset 1008, 33 lines modifiedOffset 1006, 33 lines modified
  
1008 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;1006 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
1009 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;1007 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
1010 ····move-result-object·p21008 ····move-result-object·p2
  
1011 ····.line·11701009 ····.line·998
1012 ····invoke-virtual·{p1,·p2},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V1010 ····invoke-virtual·{p1,·p2},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
1013 ····.line·11731011 ····.line·1001
1014 ····new-instance·p2,·Ljava/lang/StringBuilder;1012 ····new-instance·p2,·Ljava/lang/StringBuilder;
  
1015 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V1013 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V
  
1016 ····const-string·v3,·"CREATE·VIEW·downloads·AS·SELECT·"1014 ····const-string·v3,·"CREATE·VIEW·downloads·AS·SELECT·"
  
1017 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;1015 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
1018 ····new-array·v2,·v2,·[Ljava/lang/Class;1016 ····new-array·v2,·v2,·[Ljava/lang/Class;
  
1019 ····const-class·v3,·Landroid/provider/MediaStore$Downloads;1017 ····const-class·v3,·Landroid/provider/MediaStore$Downloads;
  
1020 ····aput-object·v3,·v2,·v01018 ····aput-object·v3,·v2,·v0
  
1021 ····.line·11741019 ····.line·1002
1022 ····invoke-virtual·{p0,·v2},·Lcom/android/providers/media/DatabaseHelper;->getProjectionMap([Ljava/lang/Class;)Landroid/util/ArrayMap;1020 ····invoke-virtual·{p0,·v2},·Lcom/android/providers/media/DatabaseHelper;->getProjectionMap([Ljava/lang/Class;)Landroid/util/ArrayMap;
  
1023 ····move-result-object·p01021 ····move-result-object·p0
  
1024 ····invoke-virtual·{p0},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;1022 ····invoke-virtual·{p0},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;
  
1025 ····move-result-object·p01023 ····move-result-object·p0
Offset 1051, 23 lines modifiedOffset 1049, 23 lines modified
  
1051 ····invoke-virtual·{p2,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;1049 ····invoke-virtual·{p2,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
1052 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;1050 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
1053 ····move-result-object·p01051 ····move-result-object·p0
  
1054 ····.line·11731052 ····.line·1001
1055 ····invoke-virtual·{p1,·p0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V1053 ····invoke-virtual·{p1,·p0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
1056 ····.line·11771054 ····.line·1005
1057 ····new-instance·p0,·Ljava/lang/StringBuilder;1055 ····new-instance·p0,·Ljava/lang/StringBuilder;
  
1058 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V1056 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V
  
1059 ····const-string·p2,·"CREATE·VIEW·audio_artists·AS·SELECT···artist_id·AS·_id,·MIN(artist)·AS·artist,·artist_key·AS·artist_key,·COUNT(DISTINCT·album_id)·AS·number_of_albums,·COUNT(DISTINCT·_id)·AS·number_of_tracks·FROM·audio·WHERE·volume_name·IN·"1057 ····const-string·p2,·"CREATE·VIEW·audio_artists·AS·SELECT···artist_id·AS·_id,·MIN(artist)·AS·artist,·artist_key·AS·artist_key,·COUNT(DISTINCT·album_id)·AS·number_of_albums,·COUNT(DISTINCT·_id)·AS·number_of_tracks·FROM·audio·WHERE·is_music=1·AND·volume_name·IN·"
  
1060 ····invoke-virtual·{p0,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;1058 ····invoke-virtual·{p0,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
1061 ····invoke-virtual·{p0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;1059 ····invoke-virtual·{p0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
1062 ····const-string·p2,·"·GROUP·BY·artist_id"1060 ····const-string·p2,·"·GROUP·BY·artist_id"
  
Offset 1075, 20 lines modifiedOffset 1073, 20 lines modified
  
1075 ····invoke-virtual·{p0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;1073 ····invoke-virtual·{p0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
1076 ····move-result-object·p01074 ····move-result-object·p0
  
1077 ····invoke-virtual·{p1,·p0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V1075 ····invoke-virtual·{p1,·p0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
1078 ····.line·11871076 ····.line·1015
1079 ····new-instance·p0,·Ljava/lang/StringBuilder;1077 ····new-instance·p0,·Ljava/lang/StringBuilder;
  
1080 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V1078 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V
  
1081 ····const-string·p2,·"CREATE·VIEW·audio_albums·AS·SELECT···album_id·AS·_id,·album_id·AS·album_id,·MIN(album)·AS·album,·album_key·AS·album_key,·artist_id·AS·artist_id,·artist·AS·artist,·artist_key·AS·artist_key,·COUNT(DISTINCT·_id)·AS·numsongs,·COUNT(DISTINCT·_id)·AS·numsongs_by_artist,·MIN(year)·AS·minyear,·MAX(year)·AS·maxyear,·NULL·AS·album_art·FROM·audio·WHERE·volume_name·IN·"1079 ····const-string·p2,·"CREATE·VIEW·audio_albums·AS·SELECT···album_id·AS·_id,·album_id·AS·album_id,·MIN(album)·AS·album,·album_key·AS·album_key,·artist_id·AS·artist_id,·artist·AS·artist,·artist_key·AS·artist_key,·COUNT(DISTINCT·_id)·AS·numsongs,·COUNT(DISTINCT·_id)·AS·numsongs_by_artist,·MIN(year)·AS·minyear,·MAX(year)·AS·maxyear,·NULL·AS·album_art·FROM·audio·WHERE·is_music=1·AND·volume_name·IN·"
  
1082 ····invoke-virtual·{p0,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;1080 ····invoke-virtual·{p0,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
1083 ····invoke-virtual·{p0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;1081 ····invoke-virtual·{p0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
1084 ····const-string·p2,·"·GROUP·BY·album_id"1082 ····const-string·p2,·"·GROUP·BY·album_id"
  
Offset 1096, 15 lines modifiedOffset 1094, 15 lines modified
  
1096 ····invoke-virtual·{p0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;1094 ····invoke-virtual·{p0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
1097 ····move-result-object·p01095 ····move-result-object·p0
  
1098 ····invoke-virtual·{p1,·p0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V1096 ····invoke-virtual·{p1,·p0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
1099 ····.line·12041097 ····.line·1032
1100 ····new-instance·p0,·Ljava/lang/StringBuilder;1098 ····new-instance·p0,·Ljava/lang/StringBuilder;
  
1101 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V1099 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V
  
1102 ····const-string·p2,·"CREATE·VIEW·audio_genres·AS·SELECT···genre_id·AS·_id,·MIN(genre)·AS·name·FROM·audio·WHERE·volume_name·IN·"1100 ····const-string·p2,·"CREATE·VIEW·audio_genres·AS·SELECT···genre_id·AS·_id,·MIN(genre)·AS·name·FROM·audio·WHERE·volume_name·IN·"
  
1103 ····invoke-virtual·{p0,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;1101 ····invoke-virtual·{p0,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
Offset 1122, 295 lines modifiedOffset 1120, 71 lines modified
1122 ····invoke-virtual·{p1,·p0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V1120 ····invoke-virtual·{p1,·p0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
1123 ····return-void1121 ····return-void
  
1124 ····:catchall_01122 ····:catchall_0
1125 ····move-exception·p01123 ····move-exception·p0
  
1126 ····.line·11371124 ····.line·965
1127 ····:try_start_11125 ····:try_start_1
1128 ····monitor-exit·v01126 ····monitor-exit·v0
1129 ····:try_end_11127 ····:try_end_1
1130 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_01128 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0
  
1131 ····throw·p01129 ····throw·p0
1132 .end·method1130 .end·method
  
1133 .method·private·createPlaylistFile(Landroid/content/ContentProviderClient;Landroid/net/Uri;Ljava/io/File;)V 
1134 ····.locals·8 
1135 ····.annotation·system·Ldalvik/annotation/Throws; 
1136 ········value·=·{ 
1137 ············Ljava/lang/IllegalStateException; 
1138 ········} 
1139 ····.end·annotation 
  
1140 ····const-string·v0,·"audio_id" 
  
1141 ····const-string·v1,·"play_order" 
  
1142 ····.line·1029 
1143 ····filled-new-array·{v0,·v1},·[Ljava/lang/String; 
  
1144 ····move-result-object·v4 
  
1145 ····.line·1034 
1146 ····new-instance·v0,·Lcom/android/providers/media/playlist/Playlist; 
  
1147 ····invoke-direct·{v0},·Lcom/android/providers/media/playlist/Playlist;-><init>()V 
  
1148 ····const/4·v5,·0x0 
  
1149 ····const/4·v6,·0x0 
  
1150 ····:try_start_0 
1151 ····const-string·v7,·"play_order" 
  
1152 ····move-object·v2,·p1 
  
1153 ····move-object·v3,·p2 
  
1154 ····.line·1036 
1155 ····invoke-virtual/range·{v2·..·v7},·Landroid/content/ContentProviderClient;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor; 
  
1156 ····move-result-object·p2 
1157 ····:try_end_0 
1158 ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_1 
  
1159 ····.line·1038 
1160 ····:goto_0 
1161 ····:try_start_1 
1162 ····invoke-interface·{p2},·Landroid/database/Cursor;->moveToNext()Z 
  
1163 ····move-result·v1 
1164 ····:try_end_1 
1165 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 
  
1166 ····const-string·v2,·"MediaProvider" 
  
1167 ····if-eqz·v1,·:cond_1 
  
1168 ····const/4·v1,·0x0 
  
1169 ····.line·1040 
1170 ····:try_start_2 
1171 ····invoke-interface·{p2,·v1},·Landroid/database/Cursor;->getLong(I)J 
  
1172 ····move-result-wide·v3 
  
1173 ····const/4·v1,·0x1 
  
1174 ····.line·1041 
1175 ····invoke-interface·{p2,·v1},·Landroid/database/Cursor;->getInt(I)I 
  
1176 ····move-result·v1 
  
1177 ····.line·1043 
1178 ····iget-object·v5,·p0,·Lcom/android/providers/media/DatabaseHelper;->mVolumeName:Ljava/lang/String; 
  
1179 ····.line·1044 
1180 ····invoke-static·{v5},·Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;)Landroid/net/Uri; 
  
1181 ····move-result-object·v5 
  
1182 ····.line·1043 
1183 ····invoke-static·{v5,·v3,·v4},·Landroid/content/ContentUris;->withAppendedId(Landroid/net/Uri;J)Landroid/net/Uri; 
  
1184 ····move-result-object·v5 
  
1185 ····invoke-static·{v5},·Landroid/provider/MediaStore;->rewriteToLegacy(Landroid/net/Uri;)Landroid/net/Uri; 
  
1186 ····move-result-object·v5 
  
1187 ····.line·1045 
1188 ····invoke-direct·{p0,·p1,·v5},·Lcom/android/providers/media/DatabaseHelper;->queryForData(Landroid/content/ContentProviderClient;Landroid/net/Uri;)Ljava/lang/String; 
  
1189 ····move-result-object·v5 
  
1190 ····if-nez·v5,·:cond_0 
  
1191 ····.line·1051 
1192 ····new-instance·v1,·Ljava/lang/StringBuilder; 
  
1193 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V 
  
1194 ····const-string·v5,·"Couldn\'t·find·audio·file·for·" 
  
1195 ····invoke-virtual·{v1,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
1196 ····invoke-virtual·{v1,·v3,·v4},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; 
  
1197 ····const-string·v3,·",·continuing.." 
  
1198 ····invoke-virtual·{v1,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
1199 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; 
  
1200 ····move-result-object·v1 
  
1201 ····invoke-static·{v2,·v1},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I 
  
1202 ····goto·:goto_0 
  
1203 ····.line·1054 
1204 ····:cond_0 
1205 ····invoke-virtual·{p3},·Ljava/io/File;->toPath()Ljava/nio/file/Path; 
  
Max diff block lines reached; 147200/190612 bytes (77.22%) of diff not shown.