diff --git a/blockcanary-android/src/main/java/com/github/moduth/blockcanary/BlockCanaryContext.java b/blockcanary-android/src/main/java/com/github/moduth/blockcanary/BlockCanaryContext.java index 982da0f..c41e90d 100644 --- a/blockcanary-android/src/main/java/com/github/moduth/blockcanary/BlockCanaryContext.java +++ b/blockcanary-android/src/main/java/com/github/moduth/blockcanary/BlockCanaryContext.java @@ -134,7 +134,7 @@ public boolean zipLogFile(File[] src, File dest) { */ @Override public void uploadLogFile(File zippedFile) { - + throw new UnsupportedOperationException(); } /** diff --git a/blockcanary-no-op/src/main/java/com/github/moduth/blockcanary/BlockCanary.java b/blockcanary-no-op/src/main/java/com/github/moduth/blockcanary/BlockCanary.java index 7f7cd70..88a41c5 100644 --- a/blockcanary-no-op/src/main/java/com/github/moduth/blockcanary/BlockCanary.java +++ b/blockcanary-no-op/src/main/java/com/github/moduth/blockcanary/BlockCanary.java @@ -42,15 +42,19 @@ public static BlockCanary get() { } public void start() { + throw new UnsupportedOperationException(); } public void stop() { + throw new UnsupportedOperationException(); } public void upload() { + throw new UnsupportedOperationException(); } public void recordStartTime() { + throw new UnsupportedOperationException(); } public boolean isMonitorDurationEnd() { diff --git a/blockcanary-no-op/src/main/java/com/github/moduth/blockcanary/BlockCanaryContext.java b/blockcanary-no-op/src/main/java/com/github/moduth/blockcanary/BlockCanaryContext.java index eabb490..2e1f9d9 100644 --- a/blockcanary-no-op/src/main/java/com/github/moduth/blockcanary/BlockCanaryContext.java +++ b/blockcanary-no-op/src/main/java/com/github/moduth/blockcanary/BlockCanaryContext.java @@ -76,7 +76,7 @@ public boolean zipLogFile(File[] src, File dest) { } public void uploadLogFile(File zippedFile) { - + throw new UnsupportedOperationException(); } @Override