commit | d12be75275d2b4e244e72c4382720b76a53d1084 | [log] [tgz] |
---|---|---|
author | Charles Chen <charlesccchen@google.com> | Wed Feb 03 12:12:28 2021 +0800 |
committer | Charles Chen <charlesccchen@google.com> | Wed Apr 07 21:58:42 2021 +0800 |
tree | 7ca18d6e231b12f4770d158ce1c53def11f71937 | |
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