diff options
| author | 2023-12-19 16:51:55 +0000 | |
|---|---|---|
| committer | 2023-12-19 18:56:51 +0000 | |
| commit | 4863ac4c4b47af2f05e6faa7d66bb5e838146f35 (patch) | |
| tree | 821b743c7a220b11d50eefec7c32b7095284c1b4 /libs/androidfw/StringPool.cpp | |
| parent | 779bb8efb555f65582d880486d3c2ecbf8bf9b35 (diff) | |
Replace getVisibity and getAlpha function in getSizePercentage
1. Replace the getVisibity and getAlpha functions with the logic directly
to avoid NullPointerException.
2. Move the flag to cover the entire getSizePercentage function
Bug: 316852908
Test: atest ViewTest & atest ViewRootImplTest
Change-Id: I979302ce9830027d8d0e5d9e47820584f9ba1ef8
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions