Revert "[Tizen] indicator : disable indicator" 89/175189/1
authorhuiyu.eun <huiyu.eun@samsung.com>
Mon, 9 Apr 2018 07:50:37 +0000 (16:50 +0900)
committerhuiyu.eun <huiyu.eun@samsung.com>
Mon, 9 Apr 2018 07:50:41 +0000 (16:50 +0900)
This reverts commit 578b0eb4bddc95823a3db46474251bdf9ccfea45.

Change-Id: I591a7008ab8da416d879c8f321cccf2496a87dfa
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
dali/internal/window-system/tizen-wayland/ecore-wl2/window-impl-ecore-wl2.cpp

index 269eb1a..4c68f02 100644 (file)
@@ -475,9 +475,6 @@ void Window::ShowIndicator( Dali::Window::IndicatorVisibleMode visibleMode )
 
     mIndicatorVisible = visibleMode;
 
-    //temp code TODO : need to re-imple dali indicator for EFL 1.20
-    mIndicatorVisible = Dali::Window::INVISIBLE;
-
     if ( mIndicatorVisible == Dali::Window::VISIBLE )
     {
       // when the indicator is visible, set proper mode for indicator server according to bg mode
@@ -539,8 +536,7 @@ void Window::SetClass(std::string name, std::string klass)
 
 Window::Window()
 : mSurface( NULL ),
-  //temp code TODO : need to re-imple dali indicator for EFL 1.20
-  mIndicatorVisible( Dali::Window::INVISIBLE ),
+  mIndicatorVisible( Dali::Window::VISIBLE ),
   mIndicatorIsShown( false ),
   mShowRotatedIndicatorOnClose( false ),
   mStarted( false ),
@@ -633,10 +629,6 @@ void Window::Initialize(const PositionSize& positionSize, const std::string& nam
 
 void Window::DoShowIndicator( Dali::Window::WindowOrientation lastOrientation )
 {
-  // temp code TODO : to implementation for EFL 1.20
-  if ( mIndicatorVisible == Dali::Window::INVISIBLE )
-    return;
-
   if( mIndicator == NULL )
   {
     if( mIndicatorVisible != Dali::Window::INVISIBLE )
@@ -985,9 +977,7 @@ void Window::RotationDone( int orientation, int width, int height )
 
 void Window::SetIndicatorVisibleMode( Dali::Window::IndicatorVisibleMode mode )
 {
-  // temp code TODO : need to re-imple dali indicator for EFL 1.20
-  //mIndicatorVisible = mode;
-  mIndicatorVisible = Dali::Window::INVISIBLE ;
+  mIndicatorVisible = mode;
 }
 
 unsigned int Window::GetSupportedAuxiliaryHintCount() const