summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/19/changes
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2012-11-15 14:25:14 -0800
committerCraig Mautner <cmautner@google.com>2012-11-15 14:25:14 -0800
commita7233fe31a8144f54eb041d12e631afdce25af4e (patch)
tree6d697b09222fd7549717921ee6f2081375bd6744 /docs/html/sdk/api_diff/19/changes
parente3c4001cdbe11b93d35226e06adb5bb46626eb27 (diff)
Fix math errors causing black screen.
Turning off animations in the Developer options creates a ValueAnimator duration scale of 0. This is used as the denominator in RampAnimator which, if the numerator is also 0, sets mAnimatedValue to NaN. Rounding NaN to the nearest int produces 0 which is then assigned to mScreenBrightness in DisplayPowerState. A copy mistake which assigned mTransitionAnimationScale as the default value for mAnimatorDurationScale in WindowManagerService is also fixed here. Bug 7515609 fixed. Change-Id: I39f8d0a7abdd5a1fe70d757fe95fbddaf7a0ed51
Diffstat (limited to 'docs/html/sdk/api_diff/19/changes')
0 files changed, 0 insertions, 0 deletions