diff options
author | Kweku Adams <kwekua@google.com> | 2021-03-30 18:17:38 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2021-03-31 02:01:40 +0000 |
commit | b2b41b2825057bfebd966b3ae0a5225a01565ba3 (patch) | |
tree | 3a8f017e19ccf54547d95ac0ae7041f3fd0e41df /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 81b12816722f515b64c4a41a4c35fb7adaf15f03 (diff) |
Ensure UidStats is not null when needed.
We're sometimes being told that an app has been uninstalled before the
process has stopped. That puts JS and especially ConnectivityController
in an inconsistent state. Make sure we don't crash because of the
inconsistency.
Bug: 183921387
Bug: 184098842
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job
Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job
Test: atest CtsJobSchedulerTestCases
Change-Id: Ied17a461a47160c81042676f43d7f8defe1c4466
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions