mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Add Recents Window logs to ProtoLog
Flag: com.android.launcher3.enable_recents_window_proto_log Bug: 292269949 Test: checked protologs in winscope Change-Id: Iaafe58a655e9ad7293b579c74b7e7ecaa2df1ea5
This commit is contained in:
committed by
Schneider Victor-tulias
parent
5a90a5ab96
commit
f3f182a7ef
@@ -26,7 +26,8 @@ import java.util.UUID;
|
||||
/** Enums used to interface with the ProtoLog API. */
|
||||
public enum QuickstepProtoLogGroup implements IProtoLogGroup {
|
||||
|
||||
ACTIVE_GESTURE_LOG(true, true, false, "ActiveGestureLog");
|
||||
ACTIVE_GESTURE_LOG(true, true, false, "ActiveGestureLog"),
|
||||
RECENTS_WINDOW(true, true, Constants.DEBUG_RECENTS_WINDOW, "RecentsWindow");
|
||||
|
||||
private final boolean mEnabled;
|
||||
private volatile boolean mLogToProto;
|
||||
@@ -95,6 +96,8 @@ public enum QuickstepProtoLogGroup implements IProtoLogGroup {
|
||||
|
||||
private static final class Constants {
|
||||
|
||||
private static final boolean DEBUG_RECENTS_WINDOW = false;
|
||||
|
||||
private static final int LOG_START_ID =
|
||||
(int) (UUID.nameUUIDFromBytes(QuickstepProtoLogGroup.class.getName().getBytes())
|
||||
.getMostSignificantBits() % Integer.MAX_VALUE);
|
||||
|
||||
Reference in New Issue
Block a user