projects
/
platform
/
framework
/
native
/
uifw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07a5437
)
Fixed the DimmingManager
author
Choi Munseok
<ms47.choi@samsung.com>
Mon, 10 Jun 2013 03:05:07 +0000
(12:05 +0900)
committer
Choi Munseok
<ms47.choi@samsung.com>
Mon, 10 Jun 2013 03:05:07 +0000
(12:05 +0900)
Change-Id: I3d453fe303ab7a9dcc895f3fe1fcf3016ff87e94
Signed-off-by: Choi Munseok <ms47.choi@samsung.com>
src/ui/FUi_DimmingManager.cpp
patch
|
blob
|
history
diff --git
a/src/ui/FUi_DimmingManager.cpp
b/src/ui/FUi_DimmingManager.cpp
index
4418b00
..
c3fd4e7
100644
(file)
--- a/
src/ui/FUi_DimmingManager.cpp
+++ b/
src/ui/FUi_DimmingManager.cpp
@@
-137,6
+137,17
@@
_DimmingManager::UnRegisterWindow(_Window* pWindow)
result
_DimmingManager::CreateDimmingLayer(_Window* pWindow)
{
+ if (!pWindow)
+ {
+ return E_SUCCESS;
+ }
+
+ _DimmingLayer* pPrevDimmingLayer = pWindow->GetDimmingLayer();
+ if (pPrevDimmingLayer)
+ {
+ return E_SUCCESS;
+ }
+
result r = E_SUCCESS;
_DimmingLayer* pDimmingLayer = new (std::nothrow) _DimmingLayer();