Skip to content

Commit 2a1feb6

Browse files
authored
Update TestUtils.java
1 parent a957a4b commit 2a1feb6

File tree

1 file changed

+1
-1
lines changed
  • QCloudCosXml/cosxml/src/androidTest/java/com/tencent/cos/xml/core

1 file changed

+1
-1
lines changed

QCloudCosXml/cosxml/src/androidTest/java/com/tencent/cos/xml/core/TestUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,6 @@ public static void sleep(long time) {
197197
}
198198

199199
public static String localParentPath() {
200-
return Environment.getExternalStorageDirectory().getAbsolutePath();
200+
return getContext().getApplicationContext().getFilesDir().getAbsolutePath();
201201
}
202202
}

0 commit comments

Comments
 (0)