commit | c7aa329db2da4b32063a1fc358cd791b4e8f8ac7 | [log] [tgz] |
---|---|---|
author | Christopher Tate <ctate@google.com> | Fri Aug 31 19:13:03 2018 -0700 |
committer | Christopher Tate <ctate@google.com> | Wed Sep 05 14:56:37 2018 -0700 |
tree | 2b08326745dcc5a4a5a0d47a249b26ffb426d810 | |
parent | 1d41d53974340a47aaaa400a13c58f7aab3e0d01 [diff] |
Fix crash recording broadcast receiver duration Edge case: when a broadcast is skipped outright (e.g. because the recipient app had just crashed) the which-receiver-is-current bookkeeping is not initialized. That means we can't trust it for array-indexing. Test: atest com.android.cts.devicepolicy.ManagedProfileTest Change-Id: Id27ddea2e241dbddf34da6a7bab7997f5d9c5070