commit | ca06d8b5ada53cc135177363d9f270dc6301b8af | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon Oct 09 08:25:36 2017 -0700 |
committer | Andreas Gampe <agampe@google.com> | Mon Oct 09 14:18:11 2017 -0700 |
tree | 6eb18b5979e9f154ae4e03fa78679697bc7a22de | |
parent | ed8d236319a112a0b19b1f05ea55a90ba93e8aa2 [diff] |
EventLog: Check for exception after add() When reading events, calling Collection.add() may result in an OutOfMemoryError or immutability error. Check for an exception after the call in EventLog and SecurityLog. Bug: 67511924 Test: m Test: Device boots Change-Id: If0fbf6b01051b5311eeb88d3f52470cd8b1eec59