commit | 9cd80779e1f02bad2c1b98a65a23e3be35f46737 | [log] [tgz] |
---|---|---|
author | Joanne Chung <joannechung@google.com> | Fri Jul 07 09:18:24 2023 +0000 |
committer | Joanne Chung <joannechung@google.com> | Fri Jul 07 10:06:24 2023 +0000 |
tree | 51abd3017d226bb95bdbb14f4b28c448e1199190 | |
parent | ac9f62e527a9814251b6b87eeae1fd213e2b412a [diff] |
Avoid IndexOutOfBoundsException when accessing RemoteCallbackList This is not a deep copy so it's the same reference. It is possible a IndexOutOfBoundsException may happen. Bug: 29385425 Test: build. Manual, add log to check. 1. Local add code to regiser with user 10 and 11 2. Boot and try to add and remove user or run 3. Check the logs and no exception occurs Change-Id: I0d0da1cbb391e32ea0876e84960f9c61c4a89dd4