diff options
author | Andreas Gampe <agampe@google.com> | 2017-10-09 08:25:36 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-10-09 14:18:11 -0700 |
commit | ca06d8b5ada53cc135177363d9f270dc6301b8af (patch) | |
tree | 6eb18b5979e9f154ae4e03fa78679697bc7a22de /tools/aapt2/java/JavaClassGenerator.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions