提交 bc96a727 编写于 作者: Z zhoujun62

solve XTS ActsAmsUsersSystemTest fail problem

Signed-off-by: Nzhoujun62 <zhoujun62@huawei.com>
上级 21ba14a1
......@@ -13,13 +13,13 @@
* limitations under the License.
*/
import commonEvent from "@ohos.commonEvent"
import featureAbility from '@ohos.ability.featureAbility'
import particleAbility from '@ohos.ability.particleAbility'
export default {
onStart() {
console.info('ServiceAbility onStart');
commonEvent.publish("ACTS_InterfaceMultiUsers_0100_Start_CommonEvent", () => {
console.log(" Publish ACTS_InterfaceMultiUsersExtension_CommonEvent callback")
featureAbility.terminateSelf().then(() => {
particleAbility.terminateSelf().then(() => {
console.log('terminateSelf promise');
commonEvent.publish("ACTS_TerminateSelf_CommonEvent", () => {
console.log(" Publish ACTS_TerminateSelf_CommonEvent callback")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册