diff options
author | Jason Monk <jmonk@google.com> | 2014-11-17 14:40:56 -0500 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2014-11-17 14:46:11 -0500 |
commit | 29f7a7b0ae2264651c176ef50cc21cf9131247e3 (patch) | |
tree | 947850df433e5efff293164a2b47c2137f99f728 /packages/SystemUI/res/layout-land | |
parent | 61a848dd2e095336c341af68ed01564c0f3cb442 (diff) | |
download | frameworks_base-29f7a7b0ae2264651c176ef50cc21cf9131247e3.zip frameworks_base-29f7a7b0ae2264651c176ef50cc21cf9131247e3.tar.gz frameworks_base-29f7a7b0ae2264651c176ef50cc21cf9131247e3.tar.bz2 |
SysUI Tests: Make tests not break SysUI
Now you can run the tests without getting the blank broken sysui.
The tests instrument themselves so they include all of the source
they need to run rather than piggybacking on the sysui process.
A couple of changes were needed for this. The xml files cannot
reference com.android.systemui, instead they must use res-auto.
The tests can no longer make privileged calls, so some restructuring
to avoid those calls was needed.
Bug: 18222975
Change-Id: I67b794af854f1420583d48960bd6e52ca753b56d
Diffstat (limited to 'packages/SystemUI/res/layout-land')
-rw-r--r-- | packages/SystemUI/res/layout-land/status_bar_recent_panel.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml b/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml index 0c0be29..b5d2f86 100644 --- a/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml +++ b/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml @@ -20,7 +20,7 @@ <com.android.systemui.recent.RecentsPanelView xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" + xmlns:systemui="http://schemas.android.com/apk/res-auto" android:id="@+id/recents_root" android:layout_height="match_parent" android:layout_width="match_parent" |