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

Commit 954b82a4 authored by Taran Singh's avatar Taran Singh Committed by Android (Google) Code Review
Browse files

Merge "Explicitly remove InkWindow from WM" into udc-qpr-dev

parents 430e9fba de65dbe0
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -104,7 +104,11 @@ final class InkWindow extends PhoneWindow {
     */
    void hide(boolean remove) {
        if (getDecorView() != null) {
            getDecorView().setVisibility(remove ? View.GONE : View.INVISIBLE);
            if (remove) {
                mWindowManager.removeViewImmediate(getDecorView());
            } else {
                getDecorView().setVisibility(View.INVISIBLE);
            }
        }
    }