Fix keyboard remain after dismissing notification
We introduced mRemoteEditImeVisible checking in
RemoteInputController#removeRemoteInput by CL[1]
to resolve a IME layer issue.
Update this flag when remove notification to remove
the active remote input.
[1]: I7dbc8e656505f79b1bfb198c458d3b95a645c1cb
Fix: 183678882
Test: Manual test with bug flow
1) Receive a chat notification
2) Tap direct reply to show the keyboard
3) Swipe to dismiss notification
4) Verify the keyboard will be dismiss as expected
Test: atest NotificationRemoteInputManagerTest
Change-Id: I7c1af7f0f26906361aa29425fb77e94e5ed4cd12
2 files changed