Offset 20, 17 lines modifiedOffset 20, 15 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
  
Offset 56, 16 lines modifiedOffset 54, 14 lines modified
56 ············"Landroid/util/ArraySet<",54 ············"Landroid/util/ArraySet<",
57 ············"Ljava/lang/String;",55 ············"Ljava/lang/String;",
58 ············">;"56 ············">;"
59 ········}57 ········}
60 ····.end·annotation58 ····.end·annotation
61 .end·field59 .end·field
  
62 .field·private·static·sMigrationLock:Ljava/lang/Object; 
  
  
63 #·instance·fields60 #·instance·fields
64 .field·final·mColumnAnnotation:Ljava/lang/Class;61 .field·final·mColumnAnnotation:Ljava/lang/Class;
65 ····.annotation·system·Ldalvik/annotation/Signature;62 ····.annotation·system·Ldalvik/annotation/Signature;
66 ········value·=·{63 ········value·=·{
67 ············"Ljava/lang/Class<",64 ············"Ljava/lang/Class<",
68 ············"+",65 ············"+",
Offset 101, 15 lines modifiedOffset 97, 15 lines modified
101 ····.end·annotation97 ····.end·annotation
102 .end·field98 .end·field
  
103 .field·final·mInternal:Z99 .field·final·mInternal:Z
  
104 .field·final·mLegacyProvider:Z100 .field·final·mLegacyProvider:Z
  
105 .field·private·final·mMigrationFileName:Ljava/lang/String;101 .field·mMigrateFromLegacy:Z
  
106 .field·final·mMigrationListener:Lcom/android/providers/media/DatabaseHelper$OnLegacyMigrationListener;102 .field·final·mMigrationListener:Lcom/android/providers/media/DatabaseHelper$OnLegacyMigrationListener;
  
107 .field·final·mName:Ljava/lang/String;103 .field·final·mName:Ljava/lang/String;
  
108 .field·private·final·mProjectionMapCache:Landroid/util/ArrayMap;104 .field·private·final·mProjectionMapCache:Landroid/util/ArrayMap;
109 ····.annotation·system·Ldalvik/annotation/Signature;105 ····.annotation·system·Ldalvik/annotation/Signature;
Offset 148, 22 lines modifiedOffset 144, 15 lines modified
148 .field·final·mVolumeName:Ljava/lang/String;144 .field·final·mVolumeName:Ljava/lang/String;
  
  
149 #·direct·methods145 #·direct·methods
150 .method·static·constructor·<clinit>()V146 .method·static·constructor·<clinit>()V
151 ····.locals·1147 ····.locals·1
  
152 ····.line·138148 ····.line·919
153 ····new-instance·v0,·Ljava/lang/Object; 
  
154 ····invoke-direct·{v0},·Ljava/lang/Object;-><init>()V 
  
155 ····sput-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrationLock:Ljava/lang/Object; 
  
156 ····.line·1098 
157 ····new-instance·v0,·Landroid/util/ArraySet;149 ····new-instance·v0,·Landroid/util/ArraySet;
  
158 ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V150 ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V
  
159 ····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;
  
160 ····return-void152 ····return-void
Offset 188, 267 lines modifiedOffset 177, 224 lines modified
188 ············"Ljava/lang/String;",177 ············"Ljava/lang/String;",
189 ············">;)V"178 ············">;)V"
190 ········}179 ········}
191 ····.end·annotation180 ····.end·annotation
  
192 ····const/4·v0,·0x0181 ····const/4·v0,·0x0
  
193 ····.line·181182 ····.line·176
194 ····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
  
195 ····.line·120184 ····.line·111
196 ····new-instance·v0,·Landroid/util/ArraySet;185 ····new-instance·v0,·Landroid/util/ArraySet;
  
197 ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V186 ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V
  
198 ····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;
  
199 ····.line·136188 ····.line·133
200 ····new-instance·v0,·Ljava/util/concurrent/locks/ReentrantReadWriteLock;189 ····new-instance·v0,·Ljava/util/concurrent/locks/ReentrantReadWriteLock;
  
201 ····invoke-direct·{v0},·Ljava/util/concurrent/locks/ReentrantReadWriteLock;-><init>()V190 ····invoke-direct·{v0},·Ljava/util/concurrent/locks/ReentrantReadWriteLock;-><init>()V
  
202 ····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;
  
203 ····.line·397192 ····.line·384
204 ····new-instance·v0,·Landroid/util/ArrayMap;193 ····new-instance·v0,·Landroid/util/ArrayMap;
  
205 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V194 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V
  
206 ····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;
  
207 ····.line·442196 ····.line·429
208 ····new-instance·v0,·Ljava/lang/ThreadLocal;197 ····new-instance·v0,·Ljava/lang/ThreadLocal;
  
209 ····invoke-direct·{v0},·Ljava/lang/ThreadLocal;-><init>()V198 ····invoke-direct·{v0},·Ljava/lang/ThreadLocal;-><init>()V
  
210 ····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;
  
211 ····.line·1101200 ····.line·922
212 ····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;
  
213 ····const-string·v1,·"_id"202 ····const-string·v1,·"_id"
  
214 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z203 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
215 ····.line·1102204 ····.line·923
216 ····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;
  
217 ····const-string·v1,·"_data"206 ····const-string·v1,·"_data"
  
218 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z207 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
219 ····.line·1103208 ····.line·924
220 ····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;
  
221 ····const-string·v1,·"volume_name"210 ····const-string·v1,·"volume_name"
  
222 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z211 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
223 ····.line·1104212 ····.line·925
224 ····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;
  
225 ····const-string·v1,·"media_type"214 ····const-string·v1,·"media_type"
  
226 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z215 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
227 ····.line·1106216 ····.line·927
228 ····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;
  
229 ····const-string·v1,·"date_added"218 ····const-string·v1,·"date_added"
  
230 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z219 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
231 ····.line·1107220 ····.line·928
232 ····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;
  
233 ····const-string·v1,·"date_expires"222 ····const-string·v1,·"date_expires"
  
234 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z223 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
235 ····.line·1108224 ····.line·929
236 ····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;
  
237 ····const-string·v1,·"is_pending"226 ····const-string·v1,·"is_pending"
  
238 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z227 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
239 ····.line·1109228 ····.line·930
240 ····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;
  
241 ····const-string·v1,·"is_trashed"230 ····const-string·v1,·"is_trashed"
  
242 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z231 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
243 ····.line·1110232 ····.line·931
244 ····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;
  
245 ····const-string·v1,·"is_favorite"234 ····const-string·v1,·"is_favorite"
  
246 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z235 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
247 ····.line·1111236 ····.line·932
248 ····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;
  
249 ····const-string·v1,·"owner_package_name"238 ····const-string·v1,·"owner_package_name"
  
250 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z239 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
251 ····.line·1113240 ····.line·934
252 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet; 
  
253 ····const-string·v1,·"orientation" 
  
254 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z 
  
255 ····.line·1114 
256 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet; 
  
257 ····const-string·v1,·"parent" 
  
258 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z 
  
259 ····.line·1116 
260 ····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;
  
261 ····const-string·v1,·"bookmark"242 ····const-string·v1,·"bookmark"
  
262 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z243 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
263 ····.line·1118244 ····.line·936
264 ····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;
  
265 ····const-string·v2,·"tags"246 ····const-string·v2,·"tags"
  
266 ····invoke-virtual·{v0,·v2},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z247 ····invoke-virtual·{v0,·v2},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
267 ····.line·1119248 ····.line·937
268 ····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;
  
269 ····const-string·v2,·"category"250 ····const-string·v2,·"category"
  
270 ····invoke-virtual·{v0,·v2},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z251 ····invoke-virtual·{v0,·v2},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
271 ····.line·1120252 ····.line·938
272 ····sget-object·v0,·Lcom/android/providers/media/DatabaseHelper;->sMigrateColumns:Landroid/util/ArraySet; 
  
273 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z 
  
274 ····.line·1122 
275 ····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;
  
276 ····const-string·v1,·"isprivate" 
  
277 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z254 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
278 ····.line·1124255 ····.line·940
279 ····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;
  
280 ····const-string·v1,·"download_uri"257 ····const-string·v1,·"download_uri"
  
281 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z258 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
282 ····.line·1125259 ····.line·941
283 ····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;
  
284 ····const-string·v1,·"referer_uri"261 ····const-string·v1,·"referer_uri"
  
285 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z262 ····invoke-virtual·{v0,·v1},·Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z
  
286 ····.line·182263 ····.line·177
287 ····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;
  
288 ····.line·183265 ····.line·178
289 ····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;
  
290 ····.line·184267 ····.line·179
291 ····iput·p3,·p0,·Lcom/android/providers/media/DatabaseHelper;->mVersion:I268 ····iput·p3,·p0,·Lcom/android/providers/media/DatabaseHelper;->mVersion:I
  
292 ····const-string·p1,·"internal"269 ····const-string·p1,·"internal"
  
293 ····if-eqz·p4,·:cond_0270 ····if-eqz·p4,·:cond_0
  
294 ····move-object·p2,·p1271 ····move-object·p2,·p1
  
295 ····goto·:goto_0272 ····goto·:goto_0
  
296 ····:cond_0273 ····:cond_0
297 ····const-string·p2,·"external"274 ····const-string·p2,·"external"
  
298 ····.line·185275 ····.line·180
299 ····:goto_0276 ····:goto_0
300 ····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;
  
301 ····.line·186278 ····.line·181
302 ····iput-boolean·p4,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z279 ····iput-boolean·p4,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z
  
303 ····.line·187280 ····.line·182
304 ····iput-boolean·p5,·p0,·Lcom/android/providers/media/DatabaseHelper;->mEarlyUpgrade:Z281 ····iput-boolean·p5,·p0,·Lcom/android/providers/media/DatabaseHelper;->mEarlyUpgrade:Z
  
305 ····.line·188282 ····.line·183
306 ····iput-boolean·p6,·p0,·Lcom/android/providers/media/DatabaseHelper;->mLegacyProvider:Z283 ····iput-boolean·p6,·p0,·Lcom/android/providers/media/DatabaseHelper;->mLegacyProvider:Z
  
307 ····.line·189284 ····.line·184
308 ····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;
  
309 ····.line·190286 ····.line·185
310 ····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;
  
311 ····.line·191288 ····.line·186
312 ····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;
  
313 ····.line·192290 ····.line·187
314 ····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;
  
315 ····.line·193292 ····.line·188
316 ····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;
  
317 ····.line·194294 ····if-eqz·p4,·:cond_1
318 ····new-instance·p2,·Ljava/lang/StringBuilder; 
  
319 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V 
  
320 ····const-string·p3,·"." 
  
321 ····invoke-virtual·{p2,·p3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
322 ····iget-object·p3,·p0,·Lcom/android/providers/media/DatabaseHelper;->mVolumeName:Ljava/lang/String; 
  
323 ····invoke-virtual·{p2,·p3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
324 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;295 ····.line·192
  
325 ····move-result-object·p2 
  
326 ····iput-object·p2,·p0,·Lcom/android/providers/media/DatabaseHelper;->mMigrationFileName:Ljava/lang/String; 
  
327 ····.line·197 
328 ····iget-boolean·p2,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z 
  
329 ····if-eqz·p2,·:cond_1 
  
330 ····.line·198 
331 ····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;
  
332 ····invoke-interface·{p2,·p1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z297 ····invoke-interface·{p2,·p1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z
  
333 ····goto·:goto_1298 ····goto·:goto_1
  
334 ····.line·200299 ····.line·194
335 ····:cond_1300 ····:cond_1
336 ····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;
  
337 ····const-string·p2,·"external_primary"302 ····const-string·p2,·"external_primary"
  
338 ····invoke-interface·{p1,·p2},·Ljava/util/Set;->add(Ljava/lang/Object;)Z303 ····invoke-interface·{p1,·p2},·Ljava/util/Set;->add(Ljava/lang/Object;)Z
  
339 ····:goto_1304 ····:goto_1
340 ····const/4·p1,·0x1305 ····const/4·p1,·0x1
  
341 ····.line·203306 ····.line·197
342 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteOpenHelper;->setWriteAheadLoggingEnabled(Z)V307 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteOpenHelper;->setWriteAheadLoggingEnabled(Z)V
  
343 ····return-void308 ····return-void
344 .end·method309 .end·method
  
345 .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
346 ····.locals·12311 ····.locals·12
Offset 467, 15 lines modifiedOffset 413, 15 lines modified
467 ············"Lcom/android/providers/media/DatabaseHelper$OnLegacyMigrationListener;",413 ············"Lcom/android/providers/media/DatabaseHelper$OnLegacyMigrationListener;",
468 ············"Ljava/util/function/UnaryOperator<",414 ············"Ljava/util/function/UnaryOperator<",
469 ············"Ljava/lang/String;",415 ············"Ljava/lang/String;",
470 ············">;)V"416 ············">;)V"
471 ········}417 ········}
472 ····.end·annotation418 ····.end·annotation
  
473 ····.line·170419 ····.line·165
474 ····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
  
475 ····move-result·v3421 ····move-result·v3
  
476 ····move-object·v0,·p0422 ····move-object·v0,·p0
  
477 ····move-object·v1,·p1423 ····move-object·v1,·p1
Offset 502, 446 lines modifiedOffset 448, 408 lines modified
  
502 ····return-void448 ····return-void
503 .end·method449 .end·method
  
504 .method·private·beginTransactionInternal()V450 .method·private·beginTransactionInternal()V
505 ····.locals·3451 ····.locals·3
  
506 ····.line·489452 ····.line·476
507 ····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;
  
508 ····invoke-virtual·{v0},·Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;454 ····invoke-virtual·{v0},·Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
  
509 ····move-result-object·v0455 ····move-result-object·v0
  
510 ····if-nez·v0,·:cond_0456 ····if-nez·v0,·:cond_0
  
511 ····.line·492457 ····.line·479
512 ····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;
  
513 ····new-instance·v1,·Lcom/android/providers/media/DatabaseHelper$TransactionState;459 ····new-instance·v1,·Lcom/android/providers/media/DatabaseHelper$TransactionState;
  
514 ····const/4·v2,·0x0460 ····const/4·v2,·0x0
  
515 ····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
  
516 ····invoke-virtual·{v0,·v1},·Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V462 ····invoke-virtual·{v0,·v1},·Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
  
517 ····.line·494463 ····.line·481
518 ····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;
  
519 ····move-result-object·v0465 ····move-result-object·v0
  
520 ····.line·495466 ····.line·482
521 ····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;
  
522 ····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;
  
523 ····move-result-object·p0469 ····move-result-object·p0
  
524 ····invoke-virtual·{p0},·Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;->lock()V470 ····invoke-virtual·{p0},·Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;->lock()V
  
525 ····.line·496471 ····.line·483
526 ····invoke-virtual·{v0},·Landroid/database/sqlite/SQLiteDatabase;->beginTransaction()V472 ····invoke-virtual·{v0},·Landroid/database/sqlite/SQLiteDatabase;->beginTransaction()V
  
527 ····const-string·p0,·"UPDATE·local_metadata·SET·generation=generation+1;"473 ····const-string·p0,·"UPDATE·local_metadata·SET·generation=generation+1;"
  
528 ····.line·497474 ····.line·484
529 ····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
  
530 ····return-void476 ····return-void
  
531 ····.line·490477 ····.line·477
532 ····:cond_0478 ····:cond_0
533 ····new-instance·p0,·Ljava/lang/IllegalStateException;479 ····new-instance·p0,·Ljava/lang/IllegalStateException;
  
534 ····const-string·v0,·"Nested·transactions·not·supported"480 ····const-string·v0,·"Nested·transactions·not·supported"
  
535 ····invoke-direct·{p0,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V481 ····invoke-direct·{p0,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
536 ····throw·p0482 ····throw·p0
537 .end·method483 .end·method
  
538 .method·private·static·createLatestIndexes(Landroid/database/sqlite/SQLiteDatabase;Z)V484 .method·private·static·createLatestIndexes(Landroid/database/sqlite/SQLiteDatabase;Z)V
539 ····.locals·0485 ····.locals·0
  
540 ····.line·1269486 ····.line·1085
541 ····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
  
542 ····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)"
  
543 ····.line·1271489 ····.line·1087
544 ····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
  
545 ····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)"
  
546 ····.line·1272492 ····.line·1088
547 ····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
  
548 ····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)"
  
549 ····.line·1273495 ····.line·1089
550 ····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
  
551 ····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)"
  
552 ····.line·1274498 ····.line·1090
553 ····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
  
554 ····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)"
  
555 ····.line·1275501 ····.line·1091
556 ····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
  
557 ····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)"
  
558 ····.line·1276504 ····.line·1092
559 ····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
  
560 ····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)"
  
561 ····.line·1277507 ····.line·1093
562 ····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
  
563 ····const-string·p1,·"CREATE·INDEX·format_index·ON·files(format)"509 ····const-string·p1,·"CREATE·INDEX·format_index·ON·files(format)"
  
564 ····.line·1278510 ····.line·1094
565 ····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
  
566 ····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)"
  
567 ····.line·1279513 ····.line·1095
568 ····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
  
569 ····const-string·p1,·"CREATE·INDEX·parent_index·ON·files(parent)"515 ····const-string·p1,·"CREATE·INDEX·parent_index·ON·files(parent)"
  
570 ····.line·1280516 ····.line·1096
571 ····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
  
572 ····const-string·p1,·"CREATE·INDEX·path_index·ON·files(_data)"518 ····const-string·p1,·"CREATE·INDEX·path_index·ON·files(_data)"
  
573 ····.line·1281519 ····.line·1097
574 ····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
  
575 ····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)"
  
576 ····.line·1282522 ····.line·1098
577 ····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
  
578 ····const-string·p1,·"CREATE·INDEX·title_idx·ON·files(title)"524 ····const-string·p1,·"CREATE·INDEX·title_idx·ON·files(title)"
  
579 ····.line·1283525 ····.line·1099
580 ····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
  
581 ····const-string·p1,·"CREATE·INDEX·titlekey_index·ON·files(title_key)"527 ····const-string·p1,·"CREATE·INDEX·titlekey_index·ON·files(title_key)"
  
582 ····.line·1284528 ····.line·1100
583 ····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
  
584 ····return-void530 ····return-void
585 .end·method531 .end·method
  
586 .method·private·createLatestSchema(Landroid/database/sqlite/SQLiteDatabase;)V532 .method·private·createLatestSchema(Landroid/database/sqlite/SQLiteDatabase;)V
587 ····.locals·8533 ····.locals·7
  
588 ····const-string·v0,·"MediaProvider" 
  
589 ····.line·752534 ····.line·738
590 ····:try_start_0535 ····:try_start_0
591 ····iget-object·v1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mContext:Landroid/content/Context;536 ····iget-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mContext:Landroid/content/Context;
  
592 ····invoke-virtual·{v1},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;537 ····invoke-virtual·{v0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
  
593 ····move-result-object·v1538 ····move-result-object·v0
  
594 ····iget-object·v2,·p0,·Lcom/android/providers/media/DatabaseHelper;->mContext:Landroid/content/Context;539 ····iget-object·v1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mContext:Landroid/content/Context;
  
595 ····.line·753540 ····.line·739
596 ····invoke-virtual·{v2},·Landroid/content/Context;->getPackageName()Ljava/lang/String;541 ····invoke-virtual·{v1},·Landroid/content/Context;->getPackageName()Ljava/lang/String;
  
597 ····move-result-object·v2542 ····move-result-object·v1
  
598 ····const/16·v3,·0x8543 ····const/16·v2,·0x8
  
599 ····.line·752544 ····.line·738
600 ····invoke-virtual·{v1,·v2,·v3},·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;
  
601 ····move-result-object·v1546 ····move-result-object·v0
  
602 ····if-eqz·v1,·:cond_0547 ····if-eqz·v0,·:cond_0
  
603 ····.line·754548 ····.line·740
604 ····iget-object·v2,·v1,·Landroid/content/pm/PackageInfo;->providers:[Landroid/content/pm/ProviderInfo;549 ····iget-object·v1,·v0,·Landroid/content/pm/PackageInfo;->providers:[Landroid/content/pm/ProviderInfo;
  
605 ····if-eqz·v2,·:cond_0550 ····if-eqz·v1,·:cond_0
  
606 ····.line·755551 ····.line·741
607 ····iget-object·v1,·v1,·Landroid/content/pm/PackageInfo;->providers:[Landroid/content/pm/ProviderInfo;552 ····iget-object·v0,·v0,·Landroid/content/pm/PackageInfo;->providers:[Landroid/content/pm/ProviderInfo;
  
608 ····array-length·v2,·v1553 ····array-length·v1,·v0
  
609 ····const/4·v3,·0x0554 ····const/4·v2,·0x0
  
610 ····:goto_0555 ····:goto_0
611 ····if-ge·v3,·v2,·:cond_0556 ····if-ge·v2,·v1,·:cond_0
  
612 ····aget-object·v4,·v1,·v3557 ····aget-object·v3,·v0,·v2
  
613 ····.line·756558 ····.line·742
614 ····iget-object·v5,·p0,·Lcom/android/providers/media/DatabaseHelper;->mContext:Landroid/content/Context;559 ····iget-object·v4,·p0,·Lcom/android/providers/media/DatabaseHelper;->mContext:Landroid/content/Context;
  
615 ····new-instance·v6,·Ljava/lang/StringBuilder;560 ····new-instance·v5,·Ljava/lang/StringBuilder;
  
616 ····invoke-direct·{v6},·Ljava/lang/StringBuilder;-><init>()V561 ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V
  
617 ····const-string·v7,·"content://"562 ····const-string·v6,·"content://"
  
618 ····invoke-virtual·{v6,·v7},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;563 ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
619 ····iget-object·v4,·v4,·Landroid/content/pm/ProviderInfo;->authority:Ljava/lang/String;564 ····iget-object·v3,·v3,·Landroid/content/pm/ProviderInfo;->authority:Ljava/lang/String;
  
620 ····invoke-virtual·{v6,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;565 ····invoke-virtual·{v5,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
621 ····invoke-virtual·{v6},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;566 ····invoke-virtual·{v5},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
622 ····move-result-object·v4567 ····move-result-object·v3
  
623 ····invoke-static·{v4},·Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;568 ····invoke-static·{v3},·Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
  
624 ····move-result-object·v4569 ····move-result-object·v3
  
625 ····const/4·v6,·0x3570 ····const/4·v5,·0x3
  
626 ····invoke-virtual·{v5,·v4,·v6},·Landroid/content/Context;->revokeUriPermission(Landroid/net/Uri;I)V571 ····invoke-virtual·{v4,·v3,·v5},·Landroid/content/Context;->revokeUriPermission(Landroid/net/Uri;I)V
627 ····:try_end_0572 ····:try_end_0
628 ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_0573 ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_0
  
629 ····add-int/lit8·v3,·v3,·0x1574 ····add-int/lit8·v2,·v2,·0x1
  
630 ····goto·:goto_0575 ····goto·:goto_0
  
631 ····:catch_0576 ····:catch_0
632 ····move-exception·v1577 ····move-exception·v0
  
 578 ····const-string·v1,·"MediaProvider"
  
633 ····const-string·v2,·"Failed·to·revoke·permissions"579 ····const-string·v2,·"Failed·to·revoke·permissions"
  
634 ····.line·762580 ····.line·748
635 ····invoke-static·{v0,·v2,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I581 ····invoke-static·{v1,·v2,·v0},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
  
636 ····.line·765582 ····.line·751
637 ····:cond_0583 ····:cond_0
638 ····invoke-static·{p1},·Lcom/android/providers/media/DatabaseHelper;->makePristineSchema(Landroid/database/sqlite/SQLiteDatabase;)V584 ····invoke-static·{p1},·Lcom/android/providers/media/DatabaseHelper;->makePristineSchema(Landroid/database/sqlite/SQLiteDatabase;)V
  
639 ····const-string·v1,·"CREATE·TABLE·local_metadata·(generation·INTEGER·DEFAULT·0)"585 ····const-string·v0,·"CREATE·TABLE·local_metadata·(generation·INTEGER·DEFAULT·0)"
  
640 ····.line·767586 ····.line·753
641 ····invoke-virtual·{p1,·v1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V587 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
642 ····const-string·v1,·"INSERT·INTO·local_metadata·VALUES·(0)"588 ····const-string·v0,·"INSERT·INTO·local_metadata·VALUES·(0)"
  
643 ····.line·768589 ····.line·754
644 ····invoke-virtual·{p1,·v1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V590 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
645 ····const-string·v1,·"CREATE·TABLE·android_metadata·(locale·TEXT)"591 ····const-string·v0,·"CREATE·TABLE·android_metadata·(locale·TEXT)"
  
646 ····.line·770592 ····.line·756
647 ····invoke-virtual·{p1,·v1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V593 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
648 ····const-string·v1,·"CREATE·TABLE·thumbnails·(_id·INTEGER·PRIMARY·KEY,_data·TEXT,image_id·INTEGER,kind·INTEGER,width·INTEGER,height·INTEGER)"594 ····const-string·v0,·"CREATE·TABLE·thumbnails·(_id·INTEGER·PRIMARY·KEY,_data·TEXT,image_id·INTEGER,kind·INTEGER,width·INTEGER,height·INTEGER)"
  
649 ····.line·771595 ····.line·757
650 ····invoke-virtual·{p1,·v1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V596 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
651 ····const-string·v1,·"CREATE·TABLE·album_art·(album_id·INTEGER·PRIMARY·KEY,_data·TEXT)"597 ····const-string·v0,·"CREATE·TABLE·album_art·(album_id·INTEGER·PRIMARY·KEY,_data·TEXT)"
  
652 ····.line·773598 ····.line·759
653 ····invoke-virtual·{p1,·v1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V599 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
654 ····const-string·v1,·"CREATE·TABLE·videothumbnails·(_id·INTEGER·PRIMARY·KEY,_data·TEXT,video_id·INTEGER,kind·INTEGER,width·INTEGER,height·INTEGER)"600 ····const-string·v0,·"CREATE·TABLE·videothumbnails·(_id·INTEGER·PRIMARY·KEY,_data·TEXT,video_id·INTEGER,kind·INTEGER,width·INTEGER,height·INTEGER)"
  
655 ····.line·774601 ····.line·760
656 ····invoke-virtual·{p1,·v1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V602 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
657 ····const-string·v1,·"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)"603 ····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)"
  
658 ····.line·776604 ····.line·762
659 ····invoke-virtual·{p1,·v1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V605 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
660 ····const-string·v1,·"CREATE·TABLE·log·(time·DATETIME,·message·TEXT)"606 ····const-string·v0,·"CREATE·TABLE·log·(time·DATETIME,·message·TEXT)"
  
661 ····.line·810607 ····.line·796
662 ····invoke-virtual·{p1,·v1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V608 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
663 ····.line·811609 ····.line·797
664 ····iget-boolean·v1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z610 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z
  
665 ····if-nez·v1,·:cond_1611 ····if-nez·v0,·:cond_1
  
666 ····const-string·v1,·"CREATE·TABLE·audio_playlists_map·(_id·INTEGER·PRIMARY·KEY,audio_id·INTEGER·NOT·NULL,playlist_id·INTEGER·NOT·NULL,play_order·INTEGER·NOT·NULL)"612 ····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)"
  
667 ····.line·812613 ····.line·798
668 ····invoke-virtual·{p1,·v1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V614 ····invoke-virtual·{p1,·v0},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
669 ····.line·817615 ····.line·803
670 ····:cond_1616 ····:cond_1
671 ····iget-boolean·v1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z617 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z
  
672 ····invoke-direct·{p0,·p1,·v1},·Lcom/android/providers/media/DatabaseHelper;->createLatestViews(Landroid/database/sqlite/SQLiteDatabase;Z)V618 ····invoke-direct·{p0,·p1,·v0},·Lcom/android/providers/media/DatabaseHelper;->createLatestViews(Landroid/database/sqlite/SQLiteDatabase;Z)V
  
673 ····.line·818619 ····.line·804
674 ····iget-boolean·v1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z620 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z
  
675 ····invoke-static·{p1,·v1},·Lcom/android/providers/media/DatabaseHelper;->createLatestTriggers(Landroid/database/sqlite/SQLiteDatabase;Z)V621 ····invoke-static·{p1,·v0},·Lcom/android/providers/media/DatabaseHelper;->createLatestTriggers(Landroid/database/sqlite/SQLiteDatabase;Z)V
  
676 ····.line·819622 ····.line·805
677 ····iget-boolean·v1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z623 ····iget-boolean·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mInternal:Z
  
678 ····invoke-static·{p1,·v1},·Lcom/android/providers/media/DatabaseHelper;->createLatestIndexes(Landroid/database/sqlite/SQLiteDatabase;Z)V624 ····invoke-static·{p1,·v0},·Lcom/android/providers/media/DatabaseHelper;->createLatestIndexes(Landroid/database/sqlite/SQLiteDatabase;Z)V
  
679 ····.line·823625 ····.line·809
680 ····iget-boolean·p1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mLegacyProvider:Z626 ····iget-boolean·p1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mLegacyProvider:Z
  
681 ····if-nez·p1,·:cond_2627 ····if-nez·p1,·:cond_2
  
682 ····.line·825628 ····const/4·p1,·0x1
683 ····:try_start_1 
684 ····new-instance·p1,·Ljava/io/File; 
  
685 ····iget-object·v1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mContext:Landroid/content/Context; 
  
686 ····invoke-virtual·{v1},·Landroid/content/Context;->getFilesDir()Ljava/io/File; 
  
687 ····move-result-object·v1 
  
688 ····iget-object·v2,·p0,·Lcom/android/providers/media/DatabaseHelper;->mMigrationFileName:Ljava/lang/String; 
  
689 ····invoke-direct·{p1,·v1,·v2},·Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V 
  
690 ····invoke-virtual·{p1},·Ljava/io/File;->createNewFile()Z 
691 ····:try_end_1 
692 ····.catch·Ljava/io/IOException;·{:try_start_1·..·:try_end_1}·:catch_1 
  
693 ····goto·:goto_1 
  
694 ····:catch_1 
695 ····move-exception·p1 
  
696 ····.line·827 
697 ····new-instance·v1,·Ljava/lang/StringBuilder; 
  
698 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V 
  
699 ····const-string·v2,·"Failed·to·create·a·migration·file:·." 
  
700 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
701 ····iget-object·p0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mVolumeName:Ljava/lang/String; 
  
702 ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
703 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; 
  
704 ····move-result-object·p0 
  
705 ····invoke-static·{v0,·p0,·p1},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I629 ····.line·810
 630 ····iput-boolean·p1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mMigrateFromLegacy:Z
  
706 ····:cond_2631 ····:cond_2
707 ····:goto_1 
708 ····return-void632 ····return-void
709 .end·method633 .end·method
  
710 .method·private·static·createLatestTriggers(Landroid/database/sqlite/SQLiteDatabase;Z)V634 .method·private·static·createLatestTriggers(Landroid/database/sqlite/SQLiteDatabase;Z)V
711 ····.locals·0635 ····.locals·0
  
712 ····.line·1236636 ····.line·1052
713 ····invoke-static·{p0},·Lcom/android/providers/media/DatabaseHelper;->makePristineTriggers(Landroid/database/sqlite/SQLiteDatabase;)V637 ····invoke-static·{p0},·Lcom/android/providers/media/DatabaseHelper;->makePristineTriggers(Landroid/database/sqlite/SQLiteDatabase;)V
  
714 ····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"638 ····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"
  
715 ····.line·1249639 ····.line·1065
716 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V640 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
717 ····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"641 ····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"
  
718 ····.line·1251642 ····.line·1067
719 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V643 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
720 ····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"644 ····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"
  
721 ····.line·1253645 ····.line·1069
722 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V646 ····invoke-virtual·{p0,·p1},·Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
  
723 ····return-void647 ····return-void
724 .end·method648 .end·method
  
725 .method·private·createLatestViews(Landroid/database/sqlite/SQLiteDatabase;Z)V649 .method·private·createLatestViews(Landroid/database/sqlite/SQLiteDatabase;Z)V
726 ····.locals·5650 ····.locals·5
  
727 ····.line·1139651 ····.line·955
728 ····invoke-static·{p1},·Lcom/android/providers/media/DatabaseHelper;->makePristineViews(Landroid/database/sqlite/SQLiteDatabase;)V652 ····invoke-static·{p1},·Lcom/android/providers/media/DatabaseHelper;->makePristineViews(Landroid/database/sqlite/SQLiteDatabase;)V
  
729 ····.line·1141653 ····.line·957
730 ····iget-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mColumnAnnotation:Ljava/lang/Class;654 ····iget-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mColumnAnnotation:Ljava/lang/Class;
  
731 ····if-nez·v0,·:cond_0655 ····if-nez·v0,·:cond_0
  
732 ····const-string·p0,·"MediaProvider"656 ····const-string·p0,·"MediaProvider"
  
733 ····const-string·p1,·"No·column·annotation·provided;·not·creating·views"657 ····const-string·p1,·"No·column·annotation·provided;·not·creating·views"
  
734 ····.line·1142658 ····.line·958
735 ····invoke-static·{p0,·p1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I659 ····invoke-static·{p0,·p1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
  
736 ····return-void660 ····return-void
  
737 ····.line·1147661 ····.line·963
738 ····:cond_0662 ····:cond_0
739 ····iget-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mFilterVolumeNames:Ljava/util/Set;663 ····iget-object·v0,·p0,·Lcom/android/providers/media/DatabaseHelper;->mFilterVolumeNames:Ljava/util/Set;
  
740 ····monitor-enter·v0664 ····monitor-enter·v0
  
741 ····.line·1148665 ····.line·964
742 ····:try_start_0666 ····:try_start_0
743 ····iget-object·v1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mFilterVolumeNames:Ljava/util/Set;667 ····iget-object·v1,·p0,·Lcom/android/providers/media/DatabaseHelper;->mFilterVolumeNames:Ljava/util/Set;
  
744 ····invoke-interface·{v1},·Ljava/util/Set;->toArray()[Ljava/lang/Object;668 ····invoke-interface·{v1},·Ljava/util/Set;->toArray()[Ljava/lang/Object;
  
745 ····move-result-object·v1669 ····move-result-object·v1
  
746 ····invoke-static·{v1},·Lcom/android/providers/media/util/DatabaseUtils;->bindList([Ljava/lang/Object;)Ljava/lang/String;670 ····invoke-static·{v1},·Lcom/android/providers/media/util/DatabaseUtils;->bindList([Ljava/lang/Object;)Ljava/lang/String;
  
747 ····move-result-object·v1671 ····move-result-object·v1
  
748 ····.line·1149672 ····.line·965
749 ····monitor-exit·v0673 ····monitor-exit·v0
750 ····:try_end_0674 ····:try_end_0
751 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0675 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0
  
752 ····const/4·v0,·0x0676 ····const/4·v0,·0x0
  
753 ····const/4·v2,·0x1677 ····const/4·v2,·0x1
  
754 ····if-nez·p2,·:cond_1678 ····if-nez·p2,·:cond_1
  
755 ····.line·1152679 ····.line·968
756 ····new-instance·p2,·Ljava/lang/StringBuilder;680 ····new-instance·p2,·Ljava/lang/StringBuilder;
  
757 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V681 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V
  
758 ····const-string·v3,·"CREATE·VIEW·audio_playlists·AS·SELECT·"682 ····const-string·v3,·"CREATE·VIEW·audio_playlists·AS·SELECT·"
  
759 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;683 ····invoke-virtual·{p2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
760 ····new-array·v3,·v2,·[Ljava/lang/Class;684 ····new-array·v3,·v2,·[Ljava/lang/Class;
  
761 ····const-class·v4,·Landroid/provider/MediaStore$Audio$Playlists;685 ····const-class·v4,·Landroid/provider/MediaStore$Audio$Playlists;
  
762 ····aput-object·v4,·v3,·v0686 ····aput-object·v4,·v3,·v0
  
763 ····.line·1153687 ····.line·969
764 ····invoke-virtual·{p0,·v3},·Lcom/android/providers/media/DatabaseHelper;->getProjectionMap([Ljava/lang/Class;)Landroid/util/ArrayMap;688 ····invoke-virtual·{p0,·v3},·Lcom/android/providers/media/DatabaseHelper;->getProjectionMap([Ljava/lang/Class;)Landroid/util/ArrayMap;
  
765 ····move-result-object·v3689 ····move-result-object·v3
  
766 ····invoke-virtual·{v3},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;690 ····invoke-virtual·{v3},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;
  
767 ····move-result-object·v3691 ····move-result-object·v3
Offset 958, 44 lines modifiedOffset 866, 44 lines modified
  
958 ····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;
  
959 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;867 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
960 ····move-result-object·p2868 ····move-result-object·p2
  
961 ····.line·1152869 ····.line·968
962 ····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
  
963 ····:cond_1871 ····:cond_1
964 ····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"
  
965 ····.line·1157873 ····.line·973
966 ····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
  
967 ····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·!=·\'\')"
  
968 ····.line·1158876 ····.line·974
969 ····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
  
970 ····.line·1176878 ····.line·992
971 ····new-instance·p2,·Ljava/lang/StringBuilder;879 ····new-instance·p2,·Ljava/lang/StringBuilder;
  
972 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V880 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V
  
973 ····const-string·v3,·"CREATE·VIEW·audio·AS·SELECT·"881 ····const-string·v3,·"CREATE·VIEW·audio·AS·SELECT·"
  
974 ····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;
  
975 ····new-array·v3,·v2,·[Ljava/lang/Class;883 ····new-array·v3,·v2,·[Ljava/lang/Class;
  
976 ····const-class·v4,·Landroid/provider/MediaStore$Audio$Media;884 ····const-class·v4,·Landroid/provider/MediaStore$Audio$Media;
  
977 ····aput-object·v4,·v3,·v0885 ····aput-object·v4,·v3,·v0
  
978 ····.line·1177886 ····.line·993
979 ····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;
  
980 ····move-result-object·v3888 ····move-result-object·v3
  
981 ····invoke-virtual·{v3},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;889 ····invoke-virtual·{v3},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;
  
982 ····move-result-object·v3890 ····move-result-object·v3
Offset 1012, 33 lines modifiedOffset 920, 33 lines modified
  
1012 ····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;
  
1013 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;921 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
1014 ····move-result-object·p2922 ····move-result-object·p2
  
1015 ····.line·1176923 ····.line·992
1016 ····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
  
1017 ····.line·1179925 ····.line·995
1018 ····new-instance·p2,·Ljava/lang/StringBuilder;926 ····new-instance·p2,·Ljava/lang/StringBuilder;
  
1019 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V927 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V
  
1020 ····const-string·v3,·"CREATE·VIEW·video·AS·SELECT·"928 ····const-string·v3,·"CREATE·VIEW·video·AS·SELECT·"
  
1021 ····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;
  
1022 ····new-array·v3,·v2,·[Ljava/lang/Class;930 ····new-array·v3,·v2,·[Ljava/lang/Class;
  
1023 ····const-class·v4,·Landroid/provider/MediaStore$Video$Media;931 ····const-class·v4,·Landroid/provider/MediaStore$Video$Media;
  
1024 ····aput-object·v4,·v3,·v0932 ····aput-object·v4,·v3,·v0
  
1025 ····.line·1180933 ····.line·996
1026 ····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;
  
1027 ····move-result-object·v3935 ····move-result-object·v3
  
1028 ····invoke-virtual·{v3},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;936 ····invoke-virtual·{v3},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;
  
1029 ····move-result-object·v3937 ····move-result-object·v3
Offset 1055, 33 lines modifiedOffset 963, 33 lines modified
  
1055 ····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;
  
1056 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;964 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
1057 ····move-result-object·p2965 ····move-result-object·p2
  
1058 ····.line·1179966 ····.line·995
1059 ····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
  
1060 ····.line·1182968 ····.line·998
1061 ····new-instance·p2,·Ljava/lang/StringBuilder;969 ····new-instance·p2,·Ljava/lang/StringBuilder;
  
1062 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V970 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V
  
1063 ····const-string·v3,·"CREATE·VIEW·images·AS·SELECT·"971 ····const-string·v3,·"CREATE·VIEW·images·AS·SELECT·"
  
1064 ····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;
  
1065 ····new-array·v3,·v2,·[Ljava/lang/Class;973 ····new-array·v3,·v2,·[Ljava/lang/Class;
  
1066 ····const-class·v4,·Landroid/provider/MediaStore$Images$Media;974 ····const-class·v4,·Landroid/provider/MediaStore$Images$Media;
  
1067 ····aput-object·v4,·v3,·v0975 ····aput-object·v4,·v3,·v0
  
1068 ····.line·1183976 ····.line·999
1069 ····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;
  
1070 ····move-result-object·v3978 ····move-result-object·v3
  
1071 ····invoke-virtual·{v3},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;979 ····invoke-virtual·{v3},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;
  
1072 ····move-result-object·v3980 ····move-result-object·v3
Offset 1098, 33 lines modifiedOffset 1006, 33 lines modified
  
1098 ····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;
  
1099 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;1007 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
1100 ····move-result-object·p21008 ····move-result-object·p2
  
1101 ····.line·11821009 ····.line·998
1102 ····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
  
1103 ····.line·11851011 ····.line·1001
1104 ····new-instance·p2,·Ljava/lang/StringBuilder;1012 ····new-instance·p2,·Ljava/lang/StringBuilder;
  
1105 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V1013 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V
  
1106 ····const-string·v3,·"CREATE·VIEW·downloads·AS·SELECT·"1014 ····const-string·v3,·"CREATE·VIEW·downloads·AS·SELECT·"
  
1107 ····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;
  
1108 ····new-array·v2,·v2,·[Ljava/lang/Class;1016 ····new-array·v2,·v2,·[Ljava/lang/Class;
  
1109 ····const-class·v3,·Landroid/provider/MediaStore$Downloads;1017 ····const-class·v3,·Landroid/provider/MediaStore$Downloads;
  
1110 ····aput-object·v3,·v2,·v01018 ····aput-object·v3,·v2,·v0
  
1111 ····.line·11861019 ····.line·1002
1112 ····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;
  
1113 ····move-result-object·p01021 ····move-result-object·p0
  
1114 ····invoke-virtual·{p0},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;1022 ····invoke-virtual·{p0},·Landroid/util/ArrayMap;->keySet()Ljava/util/Set;
  
1115 ····move-result-object·p01023 ····move-result-object·p0
Offset 1141, 18 lines modifiedOffset 1049, 18 lines modified
  
1141 ····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;
  
1142 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;1050 ····invoke-virtual·{p2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
1143 ····move-result-object·p01051 ····move-result-object·p0
  
1144 ····.line·11851052 ····.line·1001
1145 ····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
  
1146 ····.line·11891054 ····.line·1005
1147 ····new-instance·p0,·Ljava/lang/StringBuilder;1055 ····new-instance·p0,·Ljava/lang/StringBuilder;
  
1148 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V1056 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V
  
1149 ····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·"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·"
  
1150 ····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;
Offset 1165, 15 lines modifiedOffset 1073, 15 lines modified
  
1165 ····invoke-virtual·{p0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;1073 ····invoke-virtual·{p0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
1166 ····move-result-object·p01074 ····move-result-object·p0
  
1167 ····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
  
1168 ····.line·11991076 ····.line·1015
1169 ····new-instance·p0,·Ljava/lang/StringBuilder;1077 ····new-instance·p0,·Ljava/lang/StringBuilder;
  
1170 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V1078 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V
  
1171 ····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·"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·"
  
1172 ····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;
Offset 1186, 15 lines modifiedOffset 1094, 15 lines modified
  
1186 ····invoke-virtual·{p0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;1094 ····invoke-virtual·{p0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
1187 ····move-result-object·p01095 ····move-result-object·p0
  
1188 ····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
  
1189 ····.line·12161097 ····.line·1032
1190 ····new-instance·p0,·Ljava/lang/StringBuilder;1098 ····new-instance·p0,·Ljava/lang/StringBuilder;
  
1191 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V1099 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V
  
1192 ····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·"
  
1193 ····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 1212, 295 lines modifiedOffset 1120, 71 lines modified
1212 ····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
  
1213 ····return-void1121 ····return-void
  
1214 ····:catchall_01122 ····:catchall_0
1215 ····move-exception·p01123 ····move-exception·p0
  
1216 ····.line·11491124 ····.line·965
1217 ····:try_start_11125 ····:try_start_1
1218 ····monitor-exit·v01126 ····monitor-exit·v0
1219 ····:try_end_11127 ····:try_end_1
1220 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_01128 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0
  
1221 ····throw·p01129 ····throw·p0
1222 .end·method1130 .end·method
  
1223 .method·private·createPlaylistFile(Landroid/content/ContentProviderClient;Landroid/net/Uri;Ljava/io/File;)V 
Max diff block lines reached; 156081/209591 bytes (74.47%) of diff not shown.