diff options
| author | 2024-06-13 18:12:51 +0000 | |
|---|---|---|
| committer | 2024-06-13 18:12:51 +0000 | |
| commit | 3b3d4148a9d1949a3affce6736f4e2db6e2b70c3 (patch) | |
| tree | 03991362b68411776cb1fa73e6839fe8c30c628c /libs/androidfw/FileStream.cpp | |
| parent | 1baf5540c505cead56cbe8c10fd8fecf3b19f1ae (diff) | |
Add an overload of IntentFilter#countActions() to avoid NPE.
Since IntentFilter.mActions could be null, calling countActions()
could result in a NPE. Add an overload of that method that takes
into account the fact that mActions could be null.
Bug: 336385821
Test: manual
Flag: com.android.server.am.trace_receiver_registration
Change-Id: I73c4238f037f1a6931a610cc5d207f30a59392ba
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions