diff options
| author | 2024-10-08 18:21:16 +0000 | |
|---|---|---|
| committer | 2024-10-08 18:22:15 +0000 | |
| commit | 015f661fabfbade76e343002312340c275fcd500 (patch) | |
| tree | 688165001a2b600752f08b43f802126525a3c448 /libs/androidfw/AttributeResolution.cpp | |
| parent | a8354625271712bc7f3c521c81ac7b3d46e4ec66 (diff) | |
Don't assume a non-null name on UserInfo
If the UserInfo record is present, the UI wants to display
a name. It looks like there are certain conditions where this
can be null, and it is allowed to be null. Instead of throwing
an exception, log the user info and return an empty string.
Fixes: 371365845
Test: manual - just added a null check
Flag: EXEMPT bugfix
Change-Id: If77c5ed962288f69c4da95832a78363d09b5fb12
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions