commit | 9d0908919a65a4f3158a8fc50aaf320dfed36278 | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Mon Jun 11 18:35:41 2012 -0700 |
committer | Dianne Hackborn <hackbod@google.com> | Mon Jun 11 18:35:41 2012 -0700 |
tree | b7d76e038cf66ff28138cfc214ad5a05f514f539 | |
parent | f9d80b6b940540b5d7be22ae310e047fcd2472a8 [diff] |
Fix issue #6634325: View.setKeepScreenOn and... ...MediaPlayer.setScreenOnWhilePlaying seem broken We need to correctly clear the keep screen on flag when the view hierarchy request is gone... and to do that, we need to keep the actual state of the flag requested by the app. Also when the app changes its state, we need to compute the proper value based on both the app request and any requests in the view hierarchy. Bug: 6634325 Change-Id: I060e9a34a10faffbaa77c06098cf21298bb4969f