(Indicator) Update once when indicator is updated dali-2014-wk21-release
authorSinjae Lee <sinjae4b.lee@samsung.com>
Thu, 22 May 2014 02:35:47 +0000 (11:35 +0900)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 27 May 2014 14:28:02 +0000 (15:28 +0100)
[problem] Indicator animation is not updated as well
[cause] In pixmap type indicator, no update request for OP_UPDATE
[solution] Update once per OP_UPDATE request

adaptors/tizen/internal/common/indicator-impl.cpp

index 7eb35a1..0413162 100644 (file)
@@ -1035,6 +1035,10 @@ void Indicator::DataReceived( void* event )
   {
     case OP_UPDATE:
       DALI_LOG_INFO( gIndicatorLogFilter, Debug::General, "Indicator client received: OP_UPDATE\n" );
+      if(mPixmap != 0)
+      {
+        mAdaptor->RequestUpdateOnce();
+      }
       break;
 
     case OP_UPDATE_DONE: