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
reamController.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
reamController.java
|
be87e2f5885b28145a788fd31d1fb5ae88a71100 |
29-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #7255954: API Review: rename Dream to DreamService Change-Id: I89ecf2c3ec4fef09c0495aa68de11576f9cfd872
reamController.java
|
591a9e8d6ef2cab3ab3a701bd6279b6c12e6e4c6 |
28-Sep-2012 |
John Spurlock <jspurlock@google.com> |
Close the notification shade when starting dream. Bug:7205491 Change-Id: I17d2b75bc502ff8fb739a6cbb4d0219681fa4e8a
reamController.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
reamController.java
reamManagerService.java
|
cef440f2a2bb8b6e8d082d12a67dc21f2ee65e3c |
26-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Move DreamManagerService to its own package. Bug: 7204211 Change-Id: Ia6cfe252647161df357a4de149a06fa1e3fd63fa
reamController.java
reamManagerService.java
|