summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-06-08 02:25:33 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-06-08 02:25:33 +0200
commit31b517c5107304466588bc0be792d73bec8033f2 (patch)
tree0336b767964ff82b8c1cd7dfdfc365ace68aca72
parentMerge "updater_sample: change gen_update_config args" am: eeabbecb64 (diff)
parentMerge "updater_sample: fix payload spec tests" (diff)
downloadandroid_bootable_recovery-31b517c5107304466588bc0be792d73bec8033f2.tar
android_bootable_recovery-31b517c5107304466588bc0be792d73bec8033f2.tar.gz
android_bootable_recovery-31b517c5107304466588bc0be792d73bec8033f2.tar.bz2
android_bootable_recovery-31b517c5107304466588bc0be792d73bec8033f2.tar.lz
android_bootable_recovery-31b517c5107304466588bc0be792d73bec8033f2.tar.xz
android_bootable_recovery-31b517c5107304466588bc0be792d73bec8033f2.tar.zst
android_bootable_recovery-31b517c5107304466588bc0be792d73bec8033f2.zip
-rw-r--r--updater_sample/tests/src/com/example/android/systemupdatersample/util/PayloadSpecsTest.java2
1 files changed, 1 insertions, 1 deletions
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();
}