commit | 0b57201298436a2149fdfa12fc334a1f6bd4810b | [log] [tgz] |
---|---|---|
author | chihhangchuang <chihhangchuang@google.com> | Fri Jul 10 00:59:28 2020 +0800 |
committer | Chihhang Chuang <chihhangchuang@google.com> | Thu Jul 09 17:02:10 2020 +0000 |
tree | 6638ad339d5f18d8b630165dbfa535ea43a789c9 | |
parent | f770335bbebf52f63ca50ee3d0d9dc582826cb4e [diff] |
Correct wallpaper engine visibility settings Test: Manually Fixes: 160878668 Change-Id: I265332f0211ae841ac2f8b4296b1e6cc5dee6f31
diff --git a/src/com/android/wallpaper/util/WallpaperConnection.java b/src/com/android/wallpaper/util/WallpaperConnection.java index b4ddebc..1b5bdae 100644 --- a/src/com/android/wallpaper/util/WallpaperConnection.java +++ b/src/com/android/wallpaper/util/WallpaperConnection.java
@@ -246,7 +246,7 @@ private void setEngineVisibility(boolean visible) { if (mEngine != null && visible != mIsEngineVisible) { try { - mEngine.setVisibility(true); + mEngine.setVisibility(visible); mIsEngineVisible = visible; } catch (RemoteException e) { Log.w(TAG, "Failure setting wallpaper visibility ", e);