diff options
author | Fyodor Kupolov <fkupolov@google.com> | 2018-02-07 10:50:23 -0800 |
---|---|---|
committer | Fyodor Kupolov <fkupolov@google.com> | 2018-02-08 18:05:17 +0000 |
commit | 0fc5b0efb72e24486449e78c8111fd7ef24991c0 (patch) | |
tree | 03105dea03d875e168fbb70291dde3eb43e38873 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b83cc487957fa95b66acbbe0f9579e2f63b5095a (diff) |
Catch and log exceptions when setting system property
Otherwise they can cause system restart since the code is running
on main thread.
Failure to set the mapped property shouldn't be catastrophic, because
the mapping is primarily used for experiments.
Test: manual
Bug: 73018322
Change-Id: I80bb71c67fa74c1830618795c39ea15b8964ef2e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions