commit | 3b3d4148a9d1949a3affce6736f4e2db6e2b70c3 | [log] [tgz] |
---|---|---|
author | Sudheer Shanka <sudheersai@google.com> | Thu Jun 13 18:12:51 2024 +0000 |
committer | Sudheer Shanka <sudheersai@google.com> | Thu Jun 13 18:12:51 2024 +0000 |
tree | 03991362b68411776cb1fa73e6839fe8c30c628c | |
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