Skip to content

Commit 7d276c3

Browse files
committed
New Android Dreams architecture, disabled for now.
Rather than normal Activities (which have a host of problems when used for this purpose), screen savers are now a special kind of Service that can add views to its own special window (TYPE_DREAM, in the SCREENSAVER layer). Dreams are now launched by the power manager; whenever it is about to turn the screen off, it asks the window manager if it wants to run a screen saver instead. (http://b/5677408) Also, the new config_enableDreams bool allows the entire feature to be switched on or off in one place. It is currently switched off (and the APIs are all @hidden). Change-Id: Idfe9d430568471d15f4b463cb70586a899a331f7
1 parent 63c115c commit 7d276c3

File tree

15 files changed

+808
-85
lines changed

15 files changed

+808
-85
lines changed

Android.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ LOCAL_SRC_FILES += \
132132
core/java/android/os/IRemoteCallback.aidl \
133133
core/java/android/os/IUpdateLock.aidl \
134134
core/java/android/os/IVibratorService.aidl \
135+
core/java/android/service/dreams/IDreamManager.aidl \
136+
core/java/android/service/dreams/IDreamService.aidl \
135137
core/java/android/service/wallpaper/IWallpaperConnection.aidl \
136138
core/java/android/service/wallpaper/IWallpaperEngine.aidl \
137139
core/java/android/service/wallpaper/IWallpaperService.aidl \

0 commit comments

Comments
 (0)