mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Disable InteractionJankMonitorWrapper
This commit is contained in:
@@ -57,7 +57,7 @@ public final class InteractionJankMonitorWrapper {
|
||||
* @param cujType the specific {@link InteractionJankMonitor.CujType}.
|
||||
*/
|
||||
public static void begin(View v, @CujType int cujType) {
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.S) return;
|
||||
if (true) return;
|
||||
InteractionJankMonitor.getInstance().begin(v, cujType);
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ public final class InteractionJankMonitorWrapper {
|
||||
* @param timeout duration to cancel the instrumentation in ms
|
||||
*/
|
||||
public static void begin(View v, @CujType int cujType, long timeout) {
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.S) return;
|
||||
if (true) return;
|
||||
Configuration.Builder builder =
|
||||
Configuration.Builder.withView(cujType, v)
|
||||
.setTimeout(timeout);
|
||||
@@ -82,7 +82,7 @@ public final class InteractionJankMonitorWrapper {
|
||||
* @param cujType the specific {@link InteractionJankMonitor.CujType}.
|
||||
*/
|
||||
public static void end(@CujType int cujType) {
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.S) return;
|
||||
if (true) return;
|
||||
InteractionJankMonitor.getInstance().end(cujType);
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ public final class InteractionJankMonitorWrapper {
|
||||
* Cancel the trace session.
|
||||
*/
|
||||
public static void cancel(@CujType int cujType) {
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.S) return;
|
||||
if (true) return;
|
||||
InteractionJankMonitor.getInstance().cancel(cujType);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user