解决方法:
路径:frameworks/base/services/java/com/android/server/power/RampAnimator.java
代码:
final class RampAnimator<T> {
public boolean animateTo(int target, int rate) {
// Immediately jump to the target the first time.
if (mFirstTime) {
- mFirstTime = false;
+ //mFirstTime = false;
mProperty.setValue(mObject, target);