diff options
author | 2022-04-20 18:00:56 +0000 | |
---|---|---|
committer | 2022-04-20 18:08:52 +0000 | |
commit | 714d59fafe5f5348229a0e0fe777c64a1c033348 (patch) | |
tree | c3776888cf11f0b59f2775feb97392185d56b91e /libs/hwui/HardwareBitmapUploader.cpp | |
parent | f38c1aa17773ca0b0ef213d1cc69446047861880 (diff) |
[PackageUsage] fix NPE
This is called by `mPm.getPackageUsage().maybeWriteAsync(mPm.mSettings.getPackagesLocked())` under `mPm.mLock` so it's unclear why any pkgSetting would be null. Perhaps there are other usages not shown in the stack trace. Adding null pointer checks to avoid crashes.
BUG: 229823551
Test: builds
Change-Id: Ia33bb59824e774b02249a1e9872bc6e418dec658
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.cpp')
0 files changed, 0 insertions, 0 deletions