commit | 05067120682487df7121b8d2b6f7b02deeb9cd93 | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Tue Oct 27 23:07:25 2009 -0400 |
committer | Mike Lockwood <lockwood@android.com> | Tue Oct 27 23:13:39 2009 -0400 |
tree | 6cc7190003a971432fd7beaa1d0060caf18f0b46 | |
parent | 8321bdf4dd85b81224d84b0d7a2f53218bf1a250 [diff] |
A better solution for ignoring user activity while the screen is animating off. Fixes a deadlock that occurred because mAnimatingScreenOff was left set to true after aborting turning off the screen. This change removes the mAnimatingScreenOff flag and checks for (mScreenBrightness.animating && mScreenBrightness.targetValue == 0) instead. Fixes bug b/2219706 Change-Id: I081f08c14ad7585a953fb567867238b1f3db841f Signed-off-by: Mike Lockwood <lockwood@android.com>