Home
last modified time | relevance | path

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

/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java119 final File lockImageStage = new File (filesDir, LOCK_IMAGE_STAGE); in onFullBackup() local
188 if (lockChanged && lockImageStage.exists()) { in onFullBackup()
190 lockImageStage.delete(); in onFullBackup()
199 if (lockChanged || !lockImageStage.exists()) { in onFullBackup()
201 FileUtils.copyFileOrThrow(mLockWallpaperFile, lockImageStage); in onFullBackup()
204 backupFile(lockImageStage, data); in onFullBackup()
249 final File lockImageStage = new File (filesDir, LOCK_IMAGE_STAGE); in onRestoreFinished() local
254 final int sysWhich = FLAG_SYSTEM | (lockImageStage.exists() ? 0 : FLAG_LOCK); in onRestoreFinished()
261 restoreFromStage(lockImageStage, infoStage, "kwp", FLAG_LOCK); in onRestoreFinished()
265 updateWallpaperComponent(wpService, !lockImageStage.exists()); in onRestoreFinished()
[all …]