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

Commit 4096df10 authored by Robin Lee's avatar Robin Lee Committed by Android (Google) Code Review
Browse files

Merge "Release WallpaperService SurfaceControl directly" into udc-dev

parents e48eaae2 9c1d6b45
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2198,6 +2198,11 @@ public abstract class WallpaperService extends Service {
                }
                mCreated = false;
            }

            if (mSurfaceControl != null) {
                mSurfaceControl.release();
                mSurfaceControl = null;
            }
        }

        private final DisplayListener mDisplayListener = new DisplayListener() {