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

Commit a2977530 authored by Vaibhav Devmurari's avatar Vaibhav Devmurari
Browse files

Update key interception info if input features change

Bug: 416681006
Flag: EXEMPT refactor
Test: Presubmit
Change-Id: Ia88d16cb455e18bef00bff439ff43b20ee62ae15
parent 8c4f5b3f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5546,7 +5546,8 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
                || mKeyInterceptionInfo.layoutParamsPrivateFlags != mAttrs.privateFlags
                || mKeyInterceptionInfo.layoutParamsType != mAttrs.type
                || mKeyInterceptionInfo.windowTitle != getWindowTag()
                || mKeyInterceptionInfo.windowOwnerUid != getOwningUid()) {
                || mKeyInterceptionInfo.windowOwnerUid != getOwningUid()
                || mKeyInterceptionInfo.layoutParamsInputFeatures != mAttrs.inputFeatures) {
            mKeyInterceptionInfo = new KeyInterceptionInfo(mAttrs.type, mAttrs.privateFlags,
                    mAttrs.inputFeatures, getWindowTag().toString(), getOwningUid());
        }