diff options
author | Justin Klaassen <justinklaassen@google.com> | 2017-10-10 15:20:13 -0400 |
---|---|---|
committer | Justin Klaassen <justinklaassen@google.com> | 2017-10-10 15:20:13 -0400 |
commit | 93b7ee4fce01df52a6607f0b1965cbafdfeaf1a6 (patch) | |
tree | 49f76f879a89c256a4f65b674086be50760bdffb /android/arch/core/executor/testing/InstantTaskExecutorRule.java | |
parent | bc81c7ada5aab3806dd0b17498f5c9672c9b33c4 (diff) | |
download | android-28-93b7ee4fce01df52a6607f0b1965cbafdfeaf1a6.tar.gz |
Import Android SDK Platform P [4386628]
/google/data/ro/projects/android/fetch_artifact \
--bid 4386628 \
--target sdk_phone_armv7-win_sdk \
sdk-repo-linux-sources-4386628.zip
AndroidVersion.ApiLevel has been modified to appear as 28
Change-Id: I9b8400ac92116cae4f033d173f7a5682b26ccba9
Diffstat (limited to 'android/arch/core/executor/testing/InstantTaskExecutorRule.java')
-rw-r--r-- | android/arch/core/executor/testing/InstantTaskExecutorRule.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/android/arch/core/executor/testing/InstantTaskExecutorRule.java b/android/arch/core/executor/testing/InstantTaskExecutorRule.java index 07dcf1fe..f88a3e3f 100644 --- a/android/arch/core/executor/testing/InstantTaskExecutorRule.java +++ b/android/arch/core/executor/testing/InstantTaskExecutorRule.java @@ -16,7 +16,7 @@ package android.arch.core.executor.testing; -import android.arch.core.executor.AppToolkitTaskExecutor; +import android.arch.core.executor.ArchTaskExecutor; import android.arch.core.executor.TaskExecutor; import org.junit.rules.TestWatcher; @@ -32,7 +32,7 @@ public class InstantTaskExecutorRule extends TestWatcher { @Override protected void starting(Description description) { super.starting(description); - AppToolkitTaskExecutor.getInstance().setDelegate(new TaskExecutor() { + ArchTaskExecutor.getInstance().setDelegate(new TaskExecutor() { @Override public void executeOnDiskIO(Runnable runnable) { runnable.run(); @@ -53,6 +53,6 @@ public class InstantTaskExecutorRule extends TestWatcher { @Override protected void finished(Description description) { super.finished(description); - AppToolkitTaskExecutor.getInstance().setDelegate(null); + ArchTaskExecutor.getInstance().setDelegate(null); } } |