RootView::GetInstance()->Add(view_->GetRootContainer());
}
// Reset the default key listener
- RootView::GetInstance()->SetOnKeyActListener(KeyInputListener::GetInstance());
+ // RootView::GetInstance()->SetOnKeyActListener(KeyInputListener::GetInstance());
+ RootView::GetInstance()->SetOnKeyActListener(RootView::GetInstance()->GetOnKeyActListener());
NativeAbility::GetInstance().SetCurSlicePriority(gSliceDefaultPriority);
UIView* backView = PageTransitionMgr::GetInstance().GetTopSlideBackImage();