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

Commit e2445de7 authored by Lucas Silva's avatar Lucas Silva Committed by Android (Google) Code Review
Browse files

Merge "Fix DreamService race condition with overlay" into main

parents f221f816 4bff841d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1050,12 +1050,10 @@ public class DreamService extends Service implements Window.Callback {
                    overlay.endDream();
                    mOverlayConnection.unbind();
                    mOverlayConnection = null;
                    finish();
                } catch (RemoteException e) {
                    Log.e(mTag, "could not inform overlay of dream end:" + e);
                }
            });
            return;
        }

        if (mDebug) Slog.v(mTag, "finish(): mFinished=" + mFinished);