diff options
| author | 2021-12-09 00:58:28 +0800 | |
|---|---|---|
| committer | 2021-12-09 14:44:05 +0800 | |
| commit | dcd3a9cbe94d4a1cebd3e87e7a35ad2e47073fd9 (patch) | |
| tree | a5e519d531b4687b4e5cd92bb8d3995fda1596e0 /libs/androidfw/StringPool.cpp | |
| parent | 21684a2576a3172dc80cbbb7b59dc6c52f55606c (diff) | |
Add theme information during throwing exception
When an application defines themes that are not inherited from
android:style/Theme, it may cause UnsupportedOperationException.
The cause is that the attributes needed by the application are
defined in neither theme nor layout attribute set.
It takes really a long time to trace all of the themes applied.
This patch logs the basic information about themes to help the
developers to triage issues.
Test: manual test described in b/209708201#comment3
Bug: 209708201
Change-Id: I440aa18d9627adf5e35fd74d7adb1c895f0b169d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions