summaryrefslogtreecommitdiff
path: root/ravenwood/scripts/extract-last-soong-commands.py
diff options
context:
space:
mode:
author Paul Hu <paulhu@google.com> 2024-12-11 06:05:19 +0000
committer Paul Hu <paulhu@google.com> 2024-12-13 06:25:28 +0000
commit5764b4280145aeac432eb979a42efba6e3460a54 (patch)
treee3a5fd5ee469bf2332a776e34cf4666f9b0c6980 /ravenwood/scripts/extract-last-soong-commands.py
parent42724a8e53f4bdfd70fefa9cc6572d53c0930ce2 (diff)
Fix an NPE when a user is added and then removed quickly
If a user is added and then removed quickly, the user id in user-added intent received by the VPN to retrieve UserInfo might return null. Using this invalid UserInfo for checks can cause an NPE. Therefore, add a null check for the retrieved UserInfo before using it. Bug: 382602272 Test: atest FrameworksVpnTests Change-Id: I14091d6728bf7e8cfaefdff7d1687a391bd0663f
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions