diff options
| author | 2024-12-17 14:10:42 -0800 | |
|---|---|---|
| committer | 2024-12-17 14:18:09 -0800 | |
| commit | 11ad58507e37077bc65ff919aeca19dc4429848e (patch) | |
| tree | e821dce0097341957ddc86d9d2b90f3868158238 /libs/androidfw/AssetsProvider.cpp | |
| parent | 8d7d869dc31a0e6d1085cca007e787d185a6b485 (diff) | |
Handle null in Activity#requestPermissions optimization
The recent optimization introduced in ag/30469303
caused NPE. App may pass null as an element accidentally
in `permissions` collection parameter, the optimization
shouldn't change the behavior.
Fix: 383954592
Test: atest android.permissionui.cts.PermissionTest23#testNullAndRealPermission
FLAG: EXEMPT bug fix
Change-Id: Ic271664391afaa3512c1e34f26ef7e792e03213f
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions