diff options
author | Daniel 2 Olofsson <daniel2.olofsson@sonymobile.com> | 2013-01-17 12:05:34 +0100 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2016-06-29 14:53:28 -0600 |
commit | 878b45577a356e282576ccffa196da3a666d1e1c (patch) | |
tree | 472dd9bd732064f8c562794e045ad1ba10614200 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | b59b5a679aaa5a845e5a854cf0ccfb51a1ace8c9 (diff) |
Fix NativeDaemonConnectorException issue accessing null object
When function getCode is called on
NativeDaemonConnectorException object it may throw exception
due to mEvent object not being set for certain constructors.
Fix is to return a default error code as expected if mEvent
object has not been set rather than trying to call
mEvent.getCode().
Change-Id: Ia8aa23deb8871bb4df73096cc489b685a1765f16
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions