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

!5582 solve XTS ActsAmsUsersSystemTest fail problem

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