未验证 提交 f0a9e460 编写于 作者: O openharmony_ci 提交者: Gitee

!3425 fix datashare uri

Merge pull request !3425 from 潘强标/OpenHarmony_filemanager_develop_20220505
......@@ -93,7 +93,7 @@ function printAlbumMessage(testNum, album) {
const props = {
albumName: 'AblumInfo',
albumUri: 'dataability:///media/album/',
albumUri: 'datashare:///media/album/',
count: 3
}
function checkAlbumAttr(done, album, relativePaths) {
......
......@@ -94,7 +94,7 @@ function printAlbumMessage(testNum, album) {
const props = {
albumName: 'AblumInfo',
albumUri: 'dataability:///media/album/',
albumUri: 'datashare:///media/album/',
count: 3
}
function checkAlbumAttr(done, album, relativePaths) {
......
......@@ -52,7 +52,7 @@ export default function fileAssetUriTestCallBackTest(abilityContext){
const uri = firstObject.uri;
console.info('MediaLibraryTest : SUB_MEDIA_MEDIALIBRARY_OPENANDCLOSE_ASSET_URI_CALLBACK_005_35 uri:'
+ uri);
const serachUri = 'dataability:///media/image/' + id;
const serachUri = 'datashare:///media/image/' + id;
console.info('MediaLibraryTest : SUB_MEDIA_MEDIALIBRARY_OPENANDCLOSE_ASSET_URI_CALLBACK_005_35 serachUri:'
+ serachUri);
......
......@@ -51,7 +51,7 @@ export default function fileAssetUriTestPromiseTest(abilityContext){
const id = firstObject.id;
const uri = firstObject.uri;
console.info('MediaLibraryTest : SUB_MEDIA_MEDIALIBRARY_OPENANDCLOSE_ASSET_URI_PROMISE_005_35 uri:' + uri);
const serachUri = 'dataability:///media/image/' + id;
const serachUri = 'datashare:///media/image/' + id;
console.info('MediaLibraryTest : SUB_MEDIA_MEDIALIBRARY_OPENANDCLOSE_ASSET_URI_PROMISE_005_35 serachUri:'
+ serachUri);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册