Home
last modified time | relevance | path

Searched refs:schemaFile (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/
DDbDowngradeHelper.java91 public static void updateSchemaFile(File schemaFile, int expectedVersion, Context context) { in updateSchemaFile() argument
93 if (DbDowngradeHelper.parse(schemaFile).version >= expectedVersion) { in updateSchemaFile()
101 try (FileOutputStream fos = new FileOutputStream(schemaFile); in updateSchemaFile()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java663 File schemaFile = mContext.getFileStreamPath(DOWNGRADE_SCHEMA_FILE); in onOpen() local
664 if (!schemaFile.exists()) { in onOpen()
667 DbDowngradeHelper.updateSchemaFile(schemaFile, SCHEMA_VERSION, mContext); in onOpen()