return false;
}
+
+ screenView = new CallingView();
+ if (screenView == nullptr) {
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "MainCallingView::screenView");
+ return false;
+ }
+
callView = new CallingView();
if (callView == nullptr) {
WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "MainCallingView::callView");
return false;
}
- screenView = new CallingView();
- if (screenView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "MainCallingView::screenView");
- return false;
- }
screenGroup = screenView->CreateUIViewGroup(0);
if (screenGroup == nullptr) {