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.java766 File schemaFile = mContext.getFileStreamPath(DOWNGRADE_SCHEMA_FILE); in onOpen() local
767 if (!schemaFile.exists()) { in onOpen()
770 DbDowngradeHelper.updateSchemaFile(schemaFile, SCHEMA_VERSION, mContext); in onOpen()