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");
  •    notifyScreenOn(callback);
       Trace.endSection();
    

    }
    @@ -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);
    
  •        if (aBoolean1) {
    
  •            TransactionTooLargeException transactionTooLargeException = new TransactionTooLargeException();
    
  •            transactionTooLargeException.fillInStackTrace();
    
  •            transactionTooLargeException.printStackTrace();
    
  •            transactionTooLargeException.getCause().printStackTrace();
    
  •        }
    

    }

    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");
    
  •        Log.d("xzj", "handleNotifyScreenTurningOn");
           mStatusBarKeyguardViewManager.onScreenTurningOn();
           if (callback != null) {
               if (mWakeAndUnlocking) {
    

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

  •          boolean aBoolean1 = SystemProperties.getBoolean("persist.test.two", false);
    
  •        if (aBoolean1) {
    
  •            TransactionTooLargeException transactionTooLargeException = new TransactionTooLargeException();
    
  •            transactionTooLargeException.fillInStackTrace();
    
  •            transactio
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

android framework

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值