diff options
author | Adrian Roos <roosa@google.com> | 2014-04-10 23:25:03 +0200 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2014-04-11 01:36:33 +0200 |
commit | 070a0b61cd416b9d54d57bf52ba6583f9b111ee6 (patch) | |
tree | 31b6bc0929d8d155c14db488674f97de154e66ea /packages/SystemUI/src/com/android/systemui/SystemUIApplication.java | |
parent | ddcb8c6562b09c07ff60a18552d9d153ae7ede09 (diff) | |
download | frameworks_base-070a0b61cd416b9d54d57bf52ba6583f9b111ee6.zip frameworks_base-070a0b61cd416b9d54d57bf52ba6583f9b111ee6.tar.gz frameworks_base-070a0b61cd416b9d54d57bf52ba6583f9b111ee6.tar.bz2 |
Set a dark theme for SystemUI.
The default theme for the platform has changed to a
light variant. This puts SystemUI back in the dark.
Bug: 13635952
Change-Id: I230a2078ba6bf5a79c768f0e357fcbd75f283cf8
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/SystemUIApplication.java')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/SystemUIApplication.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/SystemUIApplication.java b/packages/SystemUI/src/com/android/systemui/SystemUIApplication.java index 4494bb7..0f55683 100644 --- a/packages/SystemUI/src/com/android/systemui/SystemUIApplication.java +++ b/packages/SystemUI/src/com/android/systemui/SystemUIApplication.java @@ -51,6 +51,15 @@ public class SystemUIApplication extends Application { private boolean mServicesStarted; private final Map<Class<?>, Object> mComponents = new HashMap<Class<?>, Object>(); + @Override + public void onCreate() { + super.onCreate(); + // Set the application theme that is inherited by all services. Note that setting the + // application theme in the manifest does only work for activities. Keep this in sync with + // the theme set there. + setTheme(R.style.systemui_theme); + } + /** * Makes sure that all the SystemUI services are running. If they are already running, this is a * no-op. This is needed to conditinally start all the services, as we only need to have it in |