mirror of
https://gitee.com/openharmony/applications_settings
synced 2024-11-23 06:20:01 +00:00
commit
887abb3941
@ -17,6 +17,7 @@ import LogUtil from '../../../../../../../common/utils/src/main/ets/default/base
|
||||
import Bundle from '@ohos.bundle';
|
||||
import appManager from '@ohos.application.appManager'
|
||||
import osAccount from '@ohos.account.osAccount';
|
||||
import bundleManager from '@ohos.bundle.bundleManager'
|
||||
import ConfigData from '../../../../../../../common/utils/src/main/ets/default/baseUtil/ConfigData';
|
||||
import { LogAll } from '../../../../../../../common/utils/src/main/ets/default/baseUtil/LogDecorator';
|
||||
|
||||
@ -58,7 +59,7 @@ export class AppManagementModel extends BaseModel {
|
||||
*/
|
||||
setAppManagementListener() {
|
||||
this.mBundleInfoList = [];
|
||||
Bundle.getAllBundleInfo(IS_INCLUDE_ABILITY_INFO)
|
||||
bundleManager.getAllBundleInfo(bundleManager.BundleFlag.GET_BUNDLE_INFO_WITH_APPLICATION)
|
||||
.then((data) => {
|
||||
LogUtil.info('settings AppManagementModel setAppManagementListener getBundleInfos() start ');
|
||||
LogUtil.info('settings AppManagementModel data.length: ' + data.length + ' data: ' + JSON.stringify(data));
|
||||
|
@ -188,11 +188,15 @@
|
||||
{
|
||||
"name": "ohos.permission.MODIFY_AUDIO_SETTINGS",
|
||||
"reason": "$string:MODIFY_AUDIO_SETTINGS"
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"name": "ohos.permission.ENTERPRISE_SET_DATETIME",
|
||||
"reason": "$string:ENTERPRISE_SET_DATETIME"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "ohos.permission.GET_INSTALLED_BUNDLE_LIST",
|
||||
"reason": "$string:GET_INSTALLED_BUNDLE_LIST"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -1263,6 +1263,10 @@
|
||||
{
|
||||
"name": "assessmentIntroduction",
|
||||
"value": "OpenHarmony兼容性测评是由OpenHarmony社区面向设备厂商提供的测评服务,以保障OpenHarmony生态设备的应用兼容性、分布式兼容性和基础用户体验,实现OpenHarmony设备和应用生态统一。\n\n\n\n通过OpenHarmony兼容性测评的设备,由OpenHarmony项目群工作委员会授予OpenHarmony生态产品兼容性证书,并授权使用Powered By OpenHarmony兼容性标识。\n\n\n\n 您可以访问openHarmony.cn官网兼容性专区获取更多信息。"
|
||||
},
|
||||
{
|
||||
"name": "GET_INSTALLED_BUNDLE_LIST",
|
||||
"value":"获取应用列表信息"
|
||||
}
|
||||
]
|
||||
}
|
@ -1259,7 +1259,10 @@
|
||||
{
|
||||
"name": "assessmentIntroduction",
|
||||
"value": "OpenHarmony兼容性测评是由OpenHarmony社区面向设备厂商提供的测评服务,以保障OpenHarmony生态设备的应用兼容性、分布式兼容性和基础用户体验,实现OpenHarmony设备和应用生态统一。\n\n\n\n通过OpenHarmony兼容性测评的设备,由OpenHarmony项目群工作委员会授予OpenHarmony生态产品兼容性证书,并授权使用Powered By OpenHarmony兼容性标识。\n\n\n\n 您可以访问openHarmony.cn官网兼容性专区获取更多信息。"
|
||||
|
||||
},
|
||||
{
|
||||
"name": "GET_INSTALLED_BUNDLE_LIST",
|
||||
"value":"Get installed bundle list"
|
||||
}
|
||||
]
|
||||
}
|
@ -1263,6 +1263,10 @@
|
||||
{
|
||||
"name": "assessmentIntroduction",
|
||||
"value": "OpenHarmony兼容性测评是由OpenHarmony社区面向设备厂商提供的测评服务,以保障OpenHarmony生态设备的应用兼容性、分布式兼容性和基础用户体验,实现OpenHarmony设备和应用生态统一。\n\n\n\n通过OpenHarmony兼容性测评的设备,由OpenHarmony项目群工作委员会授予OpenHarmony生态产品兼容性证书,并授权使用Powered By OpenHarmony兼容性标识。\n\n\n\n 您可以访问openHarmony.cn官网兼容性专区获取更多信息。"
|
||||
},
|
||||
{
|
||||
"name": "GET_INSTALLED_BUNDLE_LIST",
|
||||
"value":"获取应用列表信息"
|
||||
}
|
||||
]
|
||||
}
|
@ -1263,6 +1263,10 @@
|
||||
{
|
||||
"name": "assessmentIntroduction",
|
||||
"value": "OpenHarmony兼容性测评是由OpenHarmony社区面向设备厂商提供的测评服务,以保障OpenHarmony生态设备的应用兼容性、分布式兼容性和基础用户体验,实现OpenHarmony设备和应用生态统一。\n\n\n\n通过OpenHarmony兼容性测评的设备,由OpenHarmony项目群工作委员会授予OpenHarmony生态产品兼容性证书,并授权使用Powered By OpenHarmony兼容性标识。\n\n\n\n 您可以访问openHarmony.cn官网兼容性专区获取更多信息。"
|
||||
},
|
||||
{
|
||||
"name": "GET_INSTALLED_BUNDLE_LIST",
|
||||
"value":"获取应用列表信息"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user