summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author bkchoi <bkchoi@google.com> 2024-08-12 04:10:46 +0000
committer bkchoi <bkchoi@google.com> 2024-08-12 14:55:31 +0000
commit1e2adecdf9a206f849e7b0ba2192830717c6b792 (patch)
tree404a1adef2bcfafe1489218befc0de3ae0d1fb37 /libs/input/PointerController.cpp
parentd42c8a522d58c41f9765cf45d046d6f62ea06929 (diff)
Fix NPE due to a null package name of system enforcing admin.
mPackageName is assumed to be non-null. Set it to an empty string to avoid a null pointer exception during saveToXml(). Bug: 358733540 Flag: EXEMPT bugfix Test: - start MD emulator - Start New Profile - $ adb shell dumpsys user - $ adb shell dumpsys device_policy Change-Id: I962e2bb89c573fdaaa29b41f5b6c81df881cb56c
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions