diff --git a/quickstep/src_protolog/com/android/quickstep/util/QuickstepProtoLogGroup.java b/quickstep/src_protolog/com/android/quickstep/util/QuickstepProtoLogGroup.java index 834fdde626..a0b53b8eac 100644 --- a/quickstep/src_protolog/com/android/quickstep/util/QuickstepProtoLogGroup.java +++ b/quickstep/src_protolog/com/android/quickstep/util/QuickstepProtoLogGroup.java @@ -41,7 +41,12 @@ public enum QuickstepProtoLogGroup implements IProtoLogGroup { private final @NonNull String mTag; public static boolean isProtoLogInitialized() { - if (!Utilities.ATLEAST_R) return false; + // LC-Note: This is workaround for skipping Android 11 Release 41. + // Not the best solutions but this is not significant enough to Lawnchair. + // + // Originally was !Utilities.ATLEAST_R + if (!Utilities.ATLEAST_S) return false; + if (!Variables.sIsInitialized) { Log.w(Constants.TAG, "Attempting to log to ProtoLog before initializing it.",