27b89e6658a0d233a53f5d7ca20dc57fec82d955 |
|
16-Jan-2013 |
Amith Yamasani <yamasani@google.com> |
Rename bindService to bindServiceAsUser to follow convention. This is for the multi-user version of bindService, not the original. Change-Id: Ib2de35941196accf387b1a276a77e6f9af805ec0
/frameworks/base/services/java/com/android/server/dreams/DreamController.java
|
006f567c214d67752cc7c2b6446c328744f40af7 |
|
03-Dec-2012 |
John Spurlock <jspurlock@google.com> |
Kill dreams that do not create a timely service connection. Implement a timeout between when the dream binds and when the dream creates the service connection. If the connection is not created within a certain amount of time, stop the dream. This fixes the current bug where a dream that crashes in onCreate (or the ctor) can put the dream controller in a bad state until the screen is turned off. The timeout is equal to the service restart delay in activity manager (ActiveServices) to avoid restarting (and recrashing). Bug:7596707 Change-Id: I3e11efc6af0b79ec4cb0fbc94e4e109c7602ddac
/frameworks/base/services/java/com/android/server/dreams/DreamController.java
|
cd75706117432e33d11639e675bcff50479a6bb9 |
|
20-Oct-2012 |
Amith Yamasani <yamasani@google.com> |
System server should always send broadcasts to a specific or all users Bug: 7368245 Log a warning if the system process calls unqualified sendBroadcast() and other calls. As a result of the logging above, found a few more method calls such as bindService() that would benefit from being more explicit to avoid future confusion and reduce the log warnings. Change-Id: I17f15c8be9adf7becd456d6abbab606f19befdbf
/frameworks/base/services/java/com/android/server/dreams/DreamController.java
|
2d78490292090eeab84694330978c9ad7fad2d37 |
|
04-Oct-2012 |
Daniel Sandler <dsandler@android.com> |
DreamService API revisions. Reduce reliance on Service interface overrides, instead steering clients to the DreamService-specific lifecycle hooks: onAttachedToWindow .. onDreamingStarted .. onDreamingStopped .. onDetachedFromWindow The old Dream.java is finally gone now too. Bug: 7281802 Change-Id: Ib7802c3397fde60ad1132fa49831da182eef4d7a
/frameworks/base/services/java/com/android/server/dreams/DreamController.java
|
be87e2f5885b28145a788fd31d1fb5ae88a71100 |
|
29-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #7255954: API Review: rename Dream to DreamService Change-Id: I89ecf2c3ec4fef09c0495aa68de11576f9cfd872
/frameworks/base/services/java/com/android/server/dreams/DreamController.java
|
591a9e8d6ef2cab3ab3a701bd6279b6c12e6e4c6 |
|
28-Sep-2012 |
John Spurlock <jspurlock@google.com> |
Close the notification shade when starting dream. Bug:7205491 Change-Id: I17d2b75bc502ff8fb739a6cbb4d0219681fa4e8a
/frameworks/base/services/java/com/android/server/dreams/DreamController.java
|
62c82e4d92cc0b856059f905d81885f7808a0e7d |
|
26-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Make DreamManagerService more robust. Clearly isolated the DreamManagerService and DreamController responsibilities. DreamManagerService contains just enough logic to manage the global synchronous behaviors. All of the asynchronous behaviors are in DreamController. Added a new PowerManager function called nap() to request the device to start napping. If it is a good time to nap, then the PowerManagerService will call startDream() on the DreamManagerService to start dreaming. Fixed a possible multi-user issue by explicitly tracking for which user a dream service is being started and stopping dreams when the current user changes. The user id is also passed to bindService() to ensure that the dream has the right environment. Fix interactions with docks and the UI mode manager. It is important that we always send the ACTION_DOCK_EVENT broadcast to the system so that it can configure audio routing and the like. When docked, the UI mode manager starts a dock app if there is one, otherwise it starts a dream. This change resolves issues with dreams started for reasons other than a user activity timeout. Bug: 7204211 Change-Id: I3193cc8190982c0836319176fa2e9c4dcad9c01f
/frameworks/base/services/java/com/android/server/dreams/DreamController.java
|
cef440f2a2bb8b6e8d082d12a67dc21f2ee65e3c |
|
26-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Move DreamManagerService to its own package. Bug: 7204211 Change-Id: Ia6cfe252647161df357a4de149a06fa1e3fd63fa
/frameworks/base/services/java/com/android/server/dreams/DreamController.java
|