commit | f63f82ecd8f4cf401f62d9a17a12acf76b88ea73 | [log] [tgz] |
---|---|---|
author | Sorin Basca <[email protected]> | Fri Oct 14 23:04:55 2022 +0000 |
committer | Gerrit Code Review <[email protected]> | Fri Oct 14 23:04:55 2022 +0000 |
tree | c0ff4dd9effdbf9039761f87c93d95bd24db9629 | |
parent | 0e456afa035c78dde80c864a57cbd61bb3dc1d02 [diff] | |
parent | c1cd662a28d61ddcacdf1be0155fb8bc8c870918 [diff] |
Merge "Make calls to yield() explicit"
diff --git a/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/UnitTest.java b/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/UnitTest.java index 5e5d54e..0a8f0d3 100644 --- a/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/UnitTest.java +++ b/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/UnitTest.java
@@ -100,7 +100,7 @@ public void waitForMessage() { while (!msgHandled) { - yield(); + this.yield(); } }
diff --git a/tests/java_api/RsTest_11/src/com/android/rs/test/UnitTest.java b/tests/java_api/RsTest_11/src/com/android/rs/test/UnitTest.java index b62e535..01106ac 100644 --- a/tests/java_api/RsTest_11/src/com/android/rs/test/UnitTest.java +++ b/tests/java_api/RsTest_11/src/com/android/rs/test/UnitTest.java
@@ -89,7 +89,7 @@ public void waitForMessage() { while (!msgHandled) { - yield(); + this.yield(); } }
diff --git a/tests/java_api/RsTest_14/src/com/android/rs/test/UnitTest.java b/tests/java_api/RsTest_14/src/com/android/rs/test/UnitTest.java index 558a252..cc39c8e 100644 --- a/tests/java_api/RsTest_14/src/com/android/rs/test/UnitTest.java +++ b/tests/java_api/RsTest_14/src/com/android/rs/test/UnitTest.java
@@ -100,7 +100,7 @@ public void waitForMessage() { while (!msgHandled) { - yield(); + this.yield(); } }
diff --git a/tests/java_api/RsTest_16/src/com/android/rs/test/UnitTest.java b/tests/java_api/RsTest_16/src/com/android/rs/test/UnitTest.java index ada101a..c196f23 100644 --- a/tests/java_api/RsTest_16/src/com/android/rs/test/UnitTest.java +++ b/tests/java_api/RsTest_16/src/com/android/rs/test/UnitTest.java
@@ -100,7 +100,7 @@ public void waitForMessage() { while (!msgHandled) { - yield(); + this.yield(); } }