From 8a6a86a101e1caa50fa258c34865bcca4629d6a3 Mon Sep 17 00:00:00 2001 From: Zhomart Mukhamejanov Date: Thu, 7 Jun 2018 10:55:16 -0700 Subject: updater_sample: fix payload spec tests Test: junit4 Change-Id: Ia2f7475cfba01a65486bb0e5d0f3976304ca0969 Signed-off-by: Zhomart Mukhamejanov --- .../com/example/android/systemupdatersample/util/PayloadSpecsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater_sample/tests/src/com/example/android/systemupdatersample/util/PayloadSpecsTest.java b/updater_sample/tests/src/com/example/android/systemupdatersample/util/PayloadSpecsTest.java index 3ba84c116..03086930e 100644 --- a/updater_sample/tests/src/com/example/android/systemupdatersample/util/PayloadSpecsTest.java +++ b/updater_sample/tests/src/com/example/android/systemupdatersample/util/PayloadSpecsTest.java @@ -65,7 +65,7 @@ public class PayloadSpecsTest { mTargetContext = InstrumentationRegistry.getTargetContext(); mTestContext = InstrumentationRegistry.getContext(); - mTestDir = mTargetContext.getFilesDir(); + mTestDir = mTargetContext.getCacheDir(); mPayloadSpecs = new PayloadSpecs(); } -- cgit v1.2.3