Adam He 1acd0739fa Change clearEvents() to clear existing events rather than setting
mEvents to null to remove possible NPE.

* clearEvents() needs to be called by destroy() which could cause race
condition on whether mEvents is null for other func calls.

Fixes: 185162720
Test: atest CtsContentCaptureServiceTestCases
Change-Id: I7330e651bc890c8a86822158efcf17a61e927112
2021-04-29 13:56:58 -07:00
2021-04-23 05:50:40 +00:00
2021-04-09 11:21:33 -07:00
2021-04-15 15:13:04 +08:00
2021-01-18 17:45:19 +01:00
…
2021-01-27 12:09:16 -08:00
…
2021-04-14 22:48:32 +00:00
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%