当前位置:   article > 正文

android 11 修改加了开机铃声 开机动画不能播放完_android 强制开机动画播完

android 强制开机动画播完

            if (!mBootAnimationStopped) {
                Trace.asyncTraceBegin(TRACE_TAG_WINDOW_MANAGER, "Stop bootanim", 0);
                // stop boot animation
                // formerly we would just kill the process, but we now ask it to exit so it
                // can choose where to stop the animation.
                SystemProperties.set("service.bootanim.exit", "0");
                mBootAnimationStopped = false;
            }

  1. diff --git a/alps/frameworks/base/services/core/java/com/android/server/wm/WindowManagerService.java b/alps/frameworks/base/services/core/java/com/android/server/wm/WindowManagerService.java
  2. index e2d92074578..19bcf7a697b 100755
  3. --- a/alps/frameworks/base/services/core/java/com/android/server/wm/WindowManagerService.java
  4. +++ b/alps/frameworks/base/services/core/java/com/android/server/wm/WindowManagerService.java
  5. @@ -3487,8 +3487,8 @@ public class WindowManagerService extends IWindowManager.Stub
  6. // stop boot animation
  7. // formerly we would just kill the process, but we now ask it to exit so it
  8. // can choose where to stop the animation.
  9. - SystemProperties.set("service.bootanim.exit", "1");
  10. - mBootAnimationStopped = true;
  11. + SystemProperties.set("service.bootanim.exit", "0");
  12. + mBootAnimationStopped = false;
  13. }
  14. if (!mForceDisplayEnabled && !checkBootAnimationCompleteLocked()) {

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号