diff options
Diffstat (limited to 'ravenwood/junit-src')
-rw-r--r-- | ravenwood/junit-src/android/platform/test/ravenwood/RavenwoodRule.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ravenwood/junit-src/android/platform/test/ravenwood/RavenwoodRule.java b/ravenwood/junit-src/android/platform/test/ravenwood/RavenwoodRule.java index 68b5aebe9c00..825c91a1b6dc 100644 --- a/ravenwood/junit-src/android/platform/test/ravenwood/RavenwoodRule.java +++ b/ravenwood/junit-src/android/platform/test/ravenwood/RavenwoodRule.java @@ -18,7 +18,7 @@ package android.platform.test.ravenwood; import static android.os.Process.FIRST_APPLICATION_UID; import static android.os.Process.SYSTEM_UID; -import static android.os.UserHandle.USER_SYSTEM; +import static android.os.UserHandle.SYSTEM; import static org.junit.Assert.fail; @@ -115,7 +115,7 @@ public class RavenwoodRule implements TestRule { private static final AtomicInteger sNextPid = new AtomicInteger(100); - int mCurrentUser = USER_SYSTEM; + int mCurrentUser = SYSTEM.getIdentifier(); /** * Unless the test author requests differently, run as "nobody", and give each collection of |