Fix pre-initialized window issue 29/255329/14
authorhuiyu.eun <huiyu.eun@samsung.com>
Wed, 17 Mar 2021 05:08:21 +0000 (14:08 +0900)
committerhuiyu eun <huiyu.eun@samsung.com>
Fri, 16 Apr 2021 02:42:05 +0000 (02:42 +0000)
commite4a339935b1d6cbcecad4f558d77251a451423c2
tree4e104e9724d1b31d980f0fc8beb228d713c2a87f
parentb4f40bc3f372b964713f96b9ec5ff115bb5c3564
Fix pre-initialized window issue

1) Showing window after adaptor is initialized
 The Preinitialization creates a window in advance.
 If you call the 'Show' before creating the adaptor, the application cannot know the app resource id.
 The show must be called after the adaptor is initialized.

2) Resize pre-initialized window
 The pre-created window must be resized as needed after launching the app.
 (Environment variables, app arguments..)
 Some apps can receive screen size differently after launching by specifying size in manifest.
 So screen size checking is needed once more.

3) Store only the value before adaptor is created
 Occurs crash if resize the window before the adapter is created.

Change-Id: I0c928f4ebba752fed951df24d88a1a7c396acb7a
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
dali/internal/adaptor/common/application-impl.cpp
dali/internal/adaptor/common/application-impl.h
dali/internal/window-system/common/window-impl.cpp
dali/internal/window-system/common/window-impl.h
dali/public-api/adaptor-framework/application.cpp