diff options
| author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2013-06-20 12:38:43 +0100 |
|---|---|---|
| committer | Danny Baumann <dannybaumann@web.de> | 2013-06-20 14:58:14 +0200 |
| commit | 44eea56a88a6c016cbf2419a35d49c741fd143a9 (patch) | |
| tree | 7be933392f639d536c4e2440fc70f0f20b926d31 /services/java/com/android/server/LightsService.java | |
| parent | 63e13f9b9d69b62d6bbd335f7de7de6cf837dcbd (diff) | |
| download | frameworks_base-44eea56a88a6c016cbf2419a35d49c741fd143a9.zip frameworks_base-44eea56a88a6c016cbf2419a35d49c741fd143a9.tar.gz frameworks_base-44eea56a88a6c016cbf2419a35d49c741fd143a9.tar.bz2 | |
ThemeUtils: Retain the original package name in themed UI context
In order for themes to reflect on system elements, we're changing
their context, including the package name.
This breaks anything that tries to identify system elements,
most notably any users of the uiautomator. Trying to do
'UiSelector().packageName("android")' to find, for example,
a force-close dialog will fail.
Fixes com.android.cts.uiautomatortest.CtsUiAutomatorTest#testUiWatcher
Change-Id: Ic05c3024b20ac3772ed5597846fbfa4a184ebb0d
Diffstat (limited to 'services/java/com/android/server/LightsService.java')
0 files changed, 0 insertions, 0 deletions
