• 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
    • 相关阅读:
      七、计算机视觉-图像的ROI区域
      CSS 链接:Link
      C++ STL 【priority_queue】
      浏览器连不上 Flink WebUI 8081 端口
      【Java 基础篇】Java 生产者-消费者模式详解
      SAP 选择屏幕动态通过Radio Button 显示与隐藏以及控制是否必输
      关于JVM的一些问题
      Elasticsearch 快速开始
      rust持续学习 Fn FnMut FnOnce
      Docker 介绍
    • 原文地址:https://blog.csdn.net/baiyifei2016/article/details/127684427