summaryrefslogtreecommitdiff
path: root/ravenwood/junit-stub-src
diff options
context:
space:
mode:
author Makoto Onuki <omakoto@google.com> 2024-05-20 21:21:37 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-05-20 21:21:37 +0000
commitf3c1075aa4f7963e5f4f8f168097a20dc18c9168 (patch)
tree1d841318f08725b16106d013c3224d6d70548173 /ravenwood/junit-stub-src
parent5b1f7008ab8d985b7292eecb7a1e47e2c10031fb (diff)
Revert "[Ravenwood] Internal clean up, more PFD APIs, OsConstant..."
Revert submission 27402077-2024-05-17-PFD Reason for revert: Broke tests Reverted changes: /q/submissionid:27402077-2024-05-17-PFD Change-Id: If2b50329dbcaccb5f13f7631f1fa4df532bfcc60
Diffstat (limited to 'ravenwood/junit-stub-src')
-rw-r--r--ravenwood/junit-stub-src/android/platform/test/ravenwood/RavenwoodRuleImpl.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/ravenwood/junit-stub-src/android/platform/test/ravenwood/RavenwoodRuleImpl.java b/ravenwood/junit-stub-src/android/platform/test/ravenwood/RavenwoodRuleImpl.java
index 483b98a96034..773a89a3df4d 100644
--- a/ravenwood/junit-stub-src/android/platform/test/ravenwood/RavenwoodRuleImpl.java
+++ b/ravenwood/junit-stub-src/android/platform/test/ravenwood/RavenwoodRuleImpl.java
@@ -20,6 +20,10 @@ import org.junit.runner.Description;
import org.junit.runners.model.Statement;
public class RavenwoodRuleImpl {
+ public static boolean isOnRavenwood() {
+ return false;
+ }
+
public static void init(RavenwoodRule rule) {
// No-op when running on a real device
}