It turns out that E_Client for launchscreen can be used for surface.
We discovered this while testing splash functionality with
e_tizen_unittests:
```
$ e_tizen_unittests --gtest_filter=etTestSplash*
```
We cannot reuse this launchscreen E_Client for the newly created
surface.
Change-Id: I6e9787acd177f87ff1b4c99b6b5aeba260bd459a
if (!launchscreen_ec)
return NULL;
- assert(launchscreen_ec->comp_data == NULL);
+ if (e_surface_try_from_ec(launchscreen_ec))
+ {
+ ESV_INF("The launchscreen ec is already used for another surface view.", launchscreen_ec);
+ return NULL;
+ }
e_comp_launchscrn_ec_remove(launchscreen_ec);