commit | f6d466895b74d620d646abbec1c8911f3a0ce0bb | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Thu Jul 17 22:44:20 2014 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Fri Jul 18 21:56:08 2014 -0700 |
tree | 1411bc110ac23d4baa62f44d73fa94681b8c258b | |
parent | 5dc219142a756d57355b511c8f8ab913c01710da [diff] |
Allow dreams to wake up gently. This change adds a new DreamService.wakeUp() method to allow a dream to wake itself up gently and perform a transition before finally finishing. The power manager will ask a dream to wake up gently in most cases but may force it to happen immediately when necessary. If the dream takes too long to finish itself then the dream controller will douse it with water summarily after 5 seconds. Change-Id: Ib0564c5650cd5a454e1acc5aa91fe46995eecfa7