• Android 系统高度修改定制开机动画显示时间


    diff --git a/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardService.java b/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardService.java
    old mode 100644
    new mode 100755
    index b393cf7eb9…8e5eb46ad3
    — a/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardService.java
    +++ b/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardService.java
    @@ -140,6 +140,7 @@ public class KeyguardService extends Service {
    Trace.beginSection(“KeyguardService.mBinder#onScreenTurningOn”);
    checkPermission();
    mKeyguardViewMediator.onScreenTurningOn(callback);
    +
    Trace.endSection();
    }

    diff --git a/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java b/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
    old mode 100644
    new mode 100755
    index c7b621baa3…6080f95aa8
    — a/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
    +++ b/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
    @@ -48,6 +48,7 @@ import android.os.PowerManager;
    import android.os.RemoteException;
    import android.os.SystemClock;
    import android.os.SystemProperties;
    +import android.os.TransactionTooLargeException;
    import android.os.Trace;
    import android.os.UserHandle;
    import android.os.UserManager;
    @@ -958,6 +959,7 @@ public class KeyguardViewMediator extends SystemUI {

     public void onScreenTurningOn(IKeyguardDrawnCallback callback) {
         Trace.beginSection("KeyguardViewMediator#onScreenTurningOn");
    
    • 1
    • 2
    •    notifyScreenOn(callback);
         Trace.endSection();
      
      • 1
      • 2

      }
      @@ -1345,6 +1347,14 @@ public class KeyguardViewMediator extends SystemUI {
      if (DEBUG) Log.d(TAG, “notifyScreenOn”);
      Message msg = mHandler.obtainMessage(NOTIFY_SCREEN_TURNING_ON, callback);
      mHandler.sendMessage(msg);

    •   	       boolean aBoolean1 = SystemProperties.getBoolean("persist.test.two", false);
      
      • 1
    •        if (aBoolean1) {
      
      • 1
    •            TransactionTooLargeException transactionTooLargeException = new TransactionTooLargeException();
      
      • 1
    •            transactionTooLargeException.fillInStackTrace();
      
      • 1
    •            transactionTooLargeException.printStackTrace();
      
      • 1
    •            transactionTooLargeException.getCause().printStackTrace();
      
      • 1
    •        }
      
      • 1

      }

      private void notifyScreenTurnedOn() {
      @@ -1892,7 +1902,7 @@ public class KeyguardViewMediator extends SystemUI {
      private void handleNotifyScreenTurningOn(IKeyguardDrawnCallback callback) {
      Trace.beginSection(“KeyguardViewMediator#handleNotifyScreenTurningOn”);
      synchronized (KeyguardViewMediator.this) {

    •        if (DEBUG) Log.d(TAG, "handleNotifyScreenTurningOn");
      
      • 1
    •        Log.d("xzj", "handleNotifyScreenTurningOn");
             mStatusBarKeyguardViewManager.onScreenTurningOn();
             if (callback != null) {
                 if (mWakeAndUnlocking) {
      
      • 1
      • 2
      • 3
      • 4

    @@ -1902,6 +1912,14 @@ public class KeyguardViewMediator extends SystemUI {
    }
    }
    }

    •          boolean aBoolean1 = SystemProperties.getBoolean("persist.test.two", false);
      
      • 1
    •        if (aBoolean1) {
      
      • 1
    •            TransactionTooLargeException transactionTooLargeException = new TransactionTooLargeException();
      
      • 1
    •            transactionTooLargeException.fillInStackTrace();
      
      • 1
    •            transactio
    • 相关阅读:
      Allegro基本规则设置指导书
      Node.js 框架 star 星数量排名——NestJs跃居第二
      基于springboot的信息化药品管理系统
      网络编程 - TCP协议
      [R]第一节 初始R语言
      MEGC(FACIAL MICRO-EXPRESSION GRAND CHALLENGE)微表情识别比赛相关网站
      工商管理论文要怎么写?
      Mybatis-尚硅谷-学习笔记
      改变Bootstrap4、Bootstrap5中复选框的颜色
      OneNote Win10自带的宝藏笔记工具
    • 原文地址:https://blog.csdn.net/baiyifei2016/article/details/127684427