diff options
| author | 2024-08-12 04:10:46 +0000 | |
|---|---|---|
| committer | 2024-08-12 14:55:31 +0000 | |
| commit | 1e2adecdf9a206f849e7b0ba2192830717c6b792 (patch) | |
| tree | 404a1adef2bcfafe1489218befc0de3ae0d1fb37 /libs/input/PointerController.cpp | |
| parent | d42c8a522d58c41f9765cf45d046d6f62ea06929 (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