diff options
author | Charles Chen <charlesccchen@google.com> | 2021-02-03 12:12:28 +0800 |
---|---|---|
committer | Charles Chen <charlesccchen@google.com> | 2021-04-07 21:58:42 +0800 |
commit | d12be75275d2b4e244e72c4382720b76a53d1084 (patch) | |
tree | 7ca18d6e231b12f4770d158ce1c53def11f71937 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 57f2f51eb679e7026972212deed6813eeaa58411 (diff) |
Allow config context to inflate views
Besides UI contexts, the context created via
Context#createConfigurationContext with a proper configuration
should be allowed to inflate views or obtain ViewConfiguration.
An example is that a wear device inflate views into bitmap and pass
the bitmap to the Wear OS Companion app on the phone.
Bug: 177847640
Test: atest StrictModeTest
Change-Id: Iab232a80a973f54bf0484262d45af3e4c2f0e5dc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions