summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2014-02-24 22:15:59 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-02-24 22:16:00 +0000
commitf7f80d7b54b11d432bb6e72da526edf369128ea7 (patch)
treea8b3a6da7ee79f875b868f60f785c8b36bd25497 /services/java/com/android/server
parentffda464851008f750246f343c939d8003071cd23 (diff)
parente0dd3ca81d9355701164742d53695cf6d15cfdca (diff)
downloadframeworks_base-f7f80d7b54b11d432bb6e72da526edf369128ea7.zip
frameworks_base-f7f80d7b54b11d432bb6e72da526edf369128ea7.tar.gz
frameworks_base-f7f80d7b54b11d432bb6e72da526edf369128ea7.tar.bz2
Merge "Start the dream manager even if dreams are not supported." into klp-modular-dev
Diffstat (limited to 'services/java/com/android/server')
-rw-r--r--services/java/com/android/server/SystemServer.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index f2a747e..db40cbe 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -857,9 +857,8 @@ public final class SystemServer {
}
}
- if (!disableNonCoreServices
- && context.getResources().getBoolean(R.bool.config_dreamsSupported)) {
- // Dreams (interactive idle-time views, a/k/a screen savers)
+ if (!disableNonCoreServices) {
+ // Dreams (interactive idle-time views, a/k/a screen savers, and doze mode)
mSystemServiceManager.startService(DreamManagerService.class);
}