summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2017-08-11 09:24:41 -0700
committerTyler Gunn <tgunn@google.com>2017-08-11 09:26:07 -0700
commit14343ee4c3bf71789683c322ff2796445d7e6d26 (patch)
treef01107161bf77665c586b72ede0922e7b7787dfc /tools/aapt2/java/JavaClassGenerator_test.cpp
parent756d93964db29d9bab8510f82df167aef3fef2ed (diff)
Catch BadParcelableException in RemoteConnection when setting extras.
Unlike the code in Telecom which can use Bundle.setDefusable(..), this framework code is used within a Connection Manager's code space, so the setDefusable method does not work. To prevent crashing the Connection Manager's app, catching the exception and ignoring extras in this case (not much else we can do). I've also filed a bug against the offending component known for putting bad parcelables into the extras. Test: Modified code to force this scenario. Bug: 64499462 Change-Id: If44ad2e2c8e285d513969c6babe5a798242da53d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions