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