Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9323d60 authored by Issei Suzuki's avatar Issei Suzuki
Browse files

Add event log for keyguard occlude status chagne.

Bug: 271433779
Bug: 269892931
Test: adb logcat -b events
Change-Id: I01aa37d0b44afc3a718fbffa5a26133ea5c0686a
parent 191007fa
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -61,3 +61,8 @@ option java_package com.android.systemui;
##       4: SYSTEM_REGISTER_USER     System sysui registers user's callbacks
##       5: SYSTEM_UNREGISTER_USER   System sysui unregisters user's callbacks (after death)
36060 sysui_recents_connection (type|1),(user|1)

# ---------------------------
# KeyguardViewMediator.java
# ---------------------------
36080 sysui_keyguard (isOccluded|1),(animate|1)
+3 −0
Original line number Diff line number Diff line
@@ -117,6 +117,7 @@ import com.android.keyguard.mediator.ScreenOnCoordinator;
import com.android.systemui.CoreStartable;
import com.android.systemui.DejankUtils;
import com.android.systemui.Dumpable;
import com.android.systemui.EventLogTags;
import com.android.systemui.R;
import com.android.systemui.animation.ActivityLaunchAnimator;
import com.android.systemui.animation.Interpolators;
@@ -1852,6 +1853,8 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable,
    private void handleSetOccluded(boolean isOccluded, boolean animate) {
        Trace.beginSection("KeyguardViewMediator#handleSetOccluded");
        Log.d(TAG, "handleSetOccluded(" + isOccluded + ")");
        EventLogTags.writeSysuiKeyguard(isOccluded ? 1 : 0, animate ? 1 : 0);

        mInteractionJankMonitor.cancel(CUJ_LOCKSCREEN_TRANSITION_FROM_AOD);

        synchronized (KeyguardViewMediator.this) {