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

Commit 0ca8e484 authored by Charles Chen's avatar Charles Chen Committed by Automerger Merge Worker
Browse files

Merge "Remove WMG#closeAll in WindowTokenClient" into sc-dev am: d63332e6

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14140146

Change-Id: Id8cc1432d985859fd894a8b274c79e1301397d35
parents 6b647049 d63332e6
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@ import android.content.Context;
import android.content.res.Configuration;
import android.os.Bundle;
import android.os.IBinder;
import android.view.WindowManagerGlobal;

import java.lang.ref.WeakReference;

@@ -94,10 +93,5 @@ public class WindowTokenClient extends IWindowToken.Stub {
            context.destroy();
            mContextRef.clear();
        }
        ActivityThread.currentActivityThread().getHandler().post(() -> {
            // If the tracked window token is detached, release all views attached to this token.
            WindowManagerGlobal.getInstance().closeAll(WindowTokenClient.this,
                    "#onWindowTokenRemoved()", "WindowTokenClient");
        });
    }
}