commit | 74a359c9e5a5c6b0e8383954a83db61a8f48396e | [log] [tgz] |
---|---|---|
author | TYM Tsai <tymtsai@google.com> | Thu Nov 28 16:48:02 2024 +0800 |
committer | TYM Tsai <tymtsai@google.com> | Thu Nov 28 09:20:10 2024 +0000 |
tree | 03a263d86e9305c1003b5717d1a7fa39b6a143ff | |
parent | 12a2e8f1ca665485a051d40e86dce59762d75371 [diff] |
Fix IndexOutOfBoundsException when accessing RemoteCallbackList If the binder dies, the RemoteCallbackList may change. To avoid the exception, use broadcast() instead. Bug: 374717734 Flag: EXEMPT bug fix Test: atest FrameworksMockingServicesTests:com.android.server.pm.PackageMonitorCallbackHelperTest Change-Id: I06e18d3cdfc7d0346ff07d7e1af53a4fef7f5221