packages/SystemUI/src/com/android/systemui/clipboardoverlay/ClipboardInputEventReceiver.kt
0 → 100644
+58
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Some inputEventReceiver.dispose() calls in tests go through animators, and were still getting called on a thread that didn't evaluate to equal with the main thread. This change pulls the InputMonitor and InputEventReceiver into an injected provider. Bug: 412412622 Fix: 412412622 Test: atest ClipboardOverlayControllerTest (after adding the change that crashes if calls don't happen on the main thread; see bug for details) Flag: EXEMPT minor bugfix Change-Id: I9385f7856d78cf2ba4ee2d686674bf06d4ebfa9b