Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5958263c authored by d34d's avatar d34d Committed by Gerrit Code Review
Browse files

Themes: Re-enable changing keyguard wallpaper

Change-Id: I91335aa71046c1d86b7c0dd58bc192de4fc29f68
parent 9d1d8c33
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -660,19 +660,14 @@ public class ThemeService extends IThemeService.Stub {
        boolean success;
        success = setCustomLockScreenWallpaper(pkgName);

        // TODO: uncomment once Keyguard wallpaper is re-implemented
        /*
        if (success) {
            mContext.sendBroadcastAsUser(new Intent(Intent.ACTION_KEYGUARD_WALLPAPER_CHANGED),
                    UserHandle.ALL);
        }
        */
        return success;
    }

    private boolean setCustomLockScreenWallpaper(String pkgName) {
        // TODO: uncomment once Keyguard wallpaper is re-implemented
        /*
        WallpaperManager wm = WallpaperManager.getInstance(mContext);
        try {
            if (SYSTEM_DEFAULT.equals(pkgName) || TextUtils.isEmpty(pkgName)) {
@@ -688,7 +683,6 @@ public class ThemeService extends IThemeService.Stub {
            Log.e(TAG, "There was an error setting lockscreen wp for pkg " + pkgName, e);
            return false;
        }
        */
        return true;
    }