Index: content/public/android/junit/src/org/chromium/content/browser/installedapp/InstalledAppProviderTest.java |
diff --git a/content/public/android/junit/src/org/chromium/content/browser/installedapp/InstalledAppProviderTest.java b/content/public/android/junit/src/org/chromium/content/browser/installedapp/InstalledAppProviderTest.java |
index 5c8144731f550c113fe520536be26945265b5acb..26ca0e7aaf2a3c14fea6bdf480f187a0d8e5ad64 100644 |
--- a/content/public/android/junit/src/org/chromium/content/browser/installedapp/InstalledAppProviderTest.java |
+++ b/content/public/android/junit/src/org/chromium/content/browser/installedapp/InstalledAppProviderTest.java |
@@ -23,6 +23,7 @@ import org.robolectric.res.builder.DefaultPackageManager; |
import org.chromium.base.test.util.Feature; |
import org.chromium.installedapp.mojom.InstalledAppProvider; |
import org.chromium.installedapp.mojom.RelatedApplication; |
+import org.chromium.testing.local.CustomShadowAsyncTask; |
import org.chromium.testing.local.LocalRobolectricTestRunner; |
import java.net.URI; |
@@ -33,7 +34,7 @@ import java.util.HashMap; |
* Ensure that the InstalledAppProvider returns the correct apps. |
*/ |
@RunWith(LocalRobolectricTestRunner.class) |
-@Config(manifest = Config.NONE) |
+@Config(manifest = Config.NONE, shadows = {CustomShadowAsyncTask.class}) |
public class InstalledAppProviderTest { |
private static final String ASSET_STATEMENTS_KEY = |
InstalledAppProviderImpl.ASSET_STATEMENTS_KEY; |