commit | 2c8626f5e5fca527ab25fe497aaa43e6ef061c6f | [log] [tgz] |
---|---|---|
author | “Chuck <chuckliao@google.com> | Sun Mar 22 03:47:59 2020 +0800 |
committer | Chuck Liao <chuckliao@google.com> | Tue Apr 07 14:09:16 2020 +0800 |
tree | 5d748fa3da30ce284fc2ca4651a52b8a65cbe4bc | |
parent | d54beedb1d4c8f06ce800645f4c8c452cd19196a [diff] [blame] |
Save the static lock wallpaper's remote identifier. Bug: 150840985 Change-Id: I2e767b2868564cb68d836a94a0f4923d3966dae9
diff --git a/src/com/android/wallpaper/module/DefaultWallpaperPersister.java b/src/com/android/wallpaper/module/DefaultWallpaperPersister.java index 54393af..60527d0 100755 --- a/src/com/android/wallpaper/module/DefaultWallpaperPersister.java +++ b/src/com/android/wallpaper/module/DefaultWallpaperPersister.java
@@ -784,6 +784,7 @@ mWallpaper.getActionIconRes(mAppContext)); mWallpaperPreferences.setLockWallpaperCollectionId( mWallpaper.getCollectionId(mAppContext)); + mWallpaperPreferences.setLockWallpaperRemoteId(mWallpaper.getWallpaperId()); // Save the lock wallpaper image's hash code as well for the sake of backup & restore // because WallpaperManager-generated IDs are specific to a physical device and