diff options
author | Pierre Barbier de Reuille <pbdr@google.com> | 2021-10-01 08:27:52 +0000 |
---|---|---|
committer | Pierre Barbier de Reuille <pbdr@google.com> | 2021-10-01 08:40:56 +0000 |
commit | d156c87685c3100b6a1a1443f46d2690874dd75e (patch) | |
tree | 475bb2ebb3af479f05831206df3229fb3b2100ac /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b739e8340104cf71c63e782698e216f0899398ef (diff) |
Restore the creation of the remote context in sync inflation.
This was mistakenly removed in Android S (in ag/13732454) and could
cause issues if the top-level layout parameters are defined using
resources defined in the AppWidget's package.
Also add some safeguard to avoid crashing if the AppWidgetProviderInfo
doesn't contain a ProviderInfo (which can happen if it's not created by
the system).
Fix: 201744899
Test: Existing CTS tests
Change-Id: Ibb4f2c26a6258ec2c68a7fd1fafe3e5fe3551109
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions