diff options
| author | Fabian Kozynski <kozynski@google.com> | 2019-10-07 09:45:50 -0400 |
|---|---|---|
| committer | Fabian Kozynski <kozynski@google.com> | 2019-10-07 09:59:22 -0400 |
| commit | d4c84afff048cfe355b8d9fc1d61e62ac9efef09 (patch) | |
| tree | 4d5e9ba36a898def6c785ef1a3db0944699801f3 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | 0cfa891678740efb4f8e432dbd39eb00738ef969 (diff) | |
Fix race condition in CarrierTextController
If WakefulnessLifcecycle dispatches to CarrierTextController after the
CarrierTextCallback has been cleared but the observer has not been
removed, there will be an NPE.
This change guards the callback against dispatching to a null object.
Test: build and unlock
Fixes: 142130321
Change-Id: I5da46a0d5c8308870f2b67ae4622daf8e2d53b2f
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
