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

Commit 4ea40c3d authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Add catch-all for invalid surface" into udc-dev

parents fba0c333 5e04d182
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -655,6 +655,10 @@ public class OverviewProxyService implements CallbackController<OverviewProxyLis
    private void dispatchNavigationBarSurface() {
        try {
            if (mOverviewProxy != null) {
                // Catch all for cases where the surface is no longer valid
                if (mNavigationBarSurface != null && !mNavigationBarSurface.isValid()) {
                    mNavigationBarSurface = null;
                }
                mOverviewProxy.onNavigationBarSurface(mNavigationBarSurface);
            }
        } catch (RemoteException e) {