summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Fabian Kozynski <kozynski@google.com> 2023-05-10 14:25:30 +0000
committer Fabian Kozynski <kozynski@google.com> 2023-05-10 14:25:30 +0000
commita65f509f4d5913ccfec8fb21c3a12a573b947c10 (patch)
tree491618c63efdc1c7e64c1a1d41ae8f96a3804568 /libs/input/PointerController.cpp
parentc51e252589b037f2244fe7d4b760a31c7c87376e (diff)
Avoid onDestroy content in test
Even though `Activity.finish` is called by the @Rule before the teardown happens, `onDestroy` may not be called synchronously and therefore may happen after mocks have been nulled. To prevent NPE, do not call `BroadcastDispatcher.unregisterReceiver` in the test. Test: atest com.android.systemui.controls Fixes: 280020640 Change-Id: I992befeac6588116da03ed7869730f5b14b4e091
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions