summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-06-08 04:28:02 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-06-08 04:28:02 +0200
commit2a13ae72d06152c91a93d1f7e51fa1a98f2a5ad1 (patch)
tree0336b767964ff82b8c1cd7dfdfc365ace68aca72
parentMerge "updater_sample: change gen_update_config args" am: eeabbecb64 am: 493e6cb9e0 (diff)
parentMerge "updater_sample: fix payload spec tests" am: 684d7216e6 (diff)
downloadandroid_bootable_recovery-2a13ae72d06152c91a93d1f7e51fa1a98f2a5ad1.tar
android_bootable_recovery-2a13ae72d06152c91a93d1f7e51fa1a98f2a5ad1.tar.gz
android_bootable_recovery-2a13ae72d06152c91a93d1f7e51fa1a98f2a5ad1.tar.bz2
android_bootable_recovery-2a13ae72d06152c91a93d1f7e51fa1a98f2a5ad1.tar.lz
android_bootable_recovery-2a13ae72d06152c91a93d1f7e51fa1a98f2a5ad1.tar.xz
android_bootable_recovery-2a13ae72d06152c91a93d1f7e51fa1a98f2a5ad1.tar.zst
android_bootable_recovery-2a13ae72d06152c91a93d1f7e51fa1a98f2a5ad1.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();
}