phoneapp/phoneuiqtviewadapter/tsrc/ut_phoneuiqtviewadapter/phonevisibilityhandler_stub.cpp
changeset 65 2a5d4ab426d3
parent 46 bc5a64e5bc3c
--- a/phoneapp/phoneuiqtviewadapter/tsrc/ut_phoneuiqtviewadapter/phonevisibilityhandler_stub.cpp	Mon Aug 23 15:42:12 2010 +0300
+++ b/phoneapp/phoneuiqtviewadapter/tsrc/ut_phoneuiqtviewadapter/phonevisibilityhandler_stub.cpp	Fri Sep 03 13:33:36 2010 +0300
@@ -32,6 +32,7 @@
 bool m_bringToForegroundCalled;
 bool m_sendToBackgroundCalled;
 bool m_ordinalPositionCalled;
+bool m_phoneVisibleReturnValue;
 
 /*!
     PhoneVisibilityHandler::PhoneVisibilityHandler.
@@ -44,7 +45,7 @@
     m_carModeEnabled(false),
     m_hideDeviceDialogs(false)
 {
-
+    m_phoneVisibleReturnValue = false;
 }
 
 
@@ -86,7 +87,7 @@
 bool PhoneVisibilityHandler::phoneVisible()
 {
     m_ordinalPositionCalled = true;
-    return false;
+    return m_phoneVisibleReturnValue;
 }
 
 /*!