# HG changeset patch
# User hgs
# Date 1280740160 -10800
# Node ID 180438f24a1ee45511272804983b6f4c99633ac6
# Parent dd05fdd05078550836a5a7c0010c3723652e684c
201031
diff -r dd05fdd05078 -r 180438f24a1e package_definition.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/package_definition.xml Mon Aug 02 12:09:20 2010 +0300
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r dd05fdd05078 -r 180438f24a1e package_map.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/package_map.xml Mon Aug 02 12:09:20 2010 +0300
@@ -0,0 +1,1 @@
+
diff -r dd05fdd05078 -r 180438f24a1e uiaccelerator_plat/alf_client_server_api/inc/alf/alfappsrvsessionbase.h
--- a/uiaccelerator_plat/alf_client_server_api/inc/alf/alfappsrvsessionbase.h Tue Jul 06 14:56:00 2010 +0300
+++ b/uiaccelerator_plat/alf_client_server_api/inc/alf/alfappsrvsessionbase.h Mon Aug 02 12:09:20 2010 +0300
@@ -288,6 +288,8 @@
// creates subsession
CAlfSrvSubSessionBase* CreateSubSessionLC(const RMessage2& aMessage);
+
+ TUint SecureId();
protected: // from baseclasses
diff -r dd05fdd05078 -r 180438f24a1e uiacceltk/hitchcock/ServerCore/Src/alfappsrvsession.cpp
--- a/uiacceltk/hitchcock/ServerCore/Src/alfappsrvsession.cpp Tue Jul 06 14:56:00 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfappsrvsession.cpp Mon Aug 02 12:09:20 2010 +0300
@@ -32,6 +32,10 @@
#include "alfclientserver.h"
#include "alfsrvtexturemanager.h"
#include "alfsrvscreenbuffermanager.h"
+#include "alfstreamerconsts.h"
+#include "alfdecoderserverclient.h"
+
+
#include
@@ -292,20 +296,6 @@
iAnimatedTextures.operator[](index)->EnableAnimation(ETrue);
}
- if ( aDoTransitionEffect && AlfServer()->TransitionEffects()->IsEnabled() &&
- (display->DisplayType() != CHuiDisplay::EDisplayOffScreenBuffer))
- {
- ASSERT(AlfServer()->TransitionEffects() != NULL);
- AlfServer()->TransitionEffects()->StartPhase( MAlfTransEffectPlugin::EFirstPhase,
- aDoTransitionEffect, *iEffectEnv );
-
- iControlGroupOrder.Reset();
- }
- else
- {
-// ShowControlGroupsInOrderL(*display);
- }
-
// This is needed for Huitk BitBlit() to succeed
#ifdef SYMBIAN_BUILD_GCE
@@ -354,9 +344,6 @@
return didTransition;
}
-/*
-#ifdef HUI_FX
-*/
if (display->DisplayType() != CHuiDisplay::EDisplayOffScreenBuffer)
{
// Disable all animated textures for the session
@@ -371,40 +358,6 @@
// as the background will be visible if the effect does not cover full screen
// or is partially transparent.
}
-/*
-#else
- // Do not hide or set transparency if this is off-screen buffer
- if (display->DisplayType() != CHuiDisplay::EDisplayOffScreenBuffer)
- {
- // Disable all animated textures for the session
- for (TInt index = 0; index < iAnimatedTextures.Count(); index++)
- {
- iAnimatedTextures.operator[](index)->EnableAnimation(EFalse);
- }
-
- if ( aDoTransitionEffect && AlfServer()->TransitionEffects()->IsEnabled() )
- {
- StoreControlGroupOrderL(*display, EFalse ); // do not hide
- ASSERT(AlfServer()->TransitionEffects() != NULL);
- AlfServer()->TransitionEffects()->StartPhase( MAlfTransEffectPlugin::EFirstPhase,
- aDoTransitionEffect, *iEffectEnv );
- didTransition = ETrue;
- }
- // Hide control groups
- else
- {
- StoreControlGroupOrderL(*display, ETrue ); // hide as well
- }
-
-#ifdef SYMBIAN_BUILD_GCE
- // When alf application is not focused we dont draw background because it is
- // not visible as the alf application is not visible either (its controlgroups
- // were just hidden in the code above).
- display->SetClearBackgroundL(CHuiDisplay::EClearNone);
-#endif
- }
-#endif
-*/
return didTransition;
}
@@ -2737,6 +2690,17 @@
{
iTextureInfo.Remove( pos );
}
+
+ //Photos is never killed if it is excluded here. hence commenting
+ /*
+ if (!iTextureInfo.Count())
+ {
+ if (AlfAppUi()->BridgerClient())
+ {
+ AlfAppUi()->BridgerClient()->SendBlind(EAlfExcludeFromGoomTargets, TIpcArgs(SecureId(),ClientWindowGroup()));
+ }
+ }
+ */
}
TInt CAlfAppSrvSession::GetTextureSize(
@@ -2765,6 +2729,15 @@
aPriority = Max( 0, aPriority );
aPriority = Min( 1, aPriority );
+ if (!iTextureInfo.Count())
+ {
+ if (AlfAppUi()->BridgerClient())
+ {
+ AlfAppUi()->BridgerClient()->SendBlind(EAlfVolunteerForGoomTarget, TIpcArgs(SecureId(), ClientWindowGroup()));
+ }
+ }
+
+
TInt pos = FindTextureInfoById( aTextureId );
if ( pos != KErrNotFound )
{
diff -r dd05fdd05078 -r 180438f24a1e uiacceltk/hitchcock/ServerCore/Src/alfappsrvsessionBase.cpp
--- a/uiacceltk/hitchcock/ServerCore/Src/alfappsrvsessionBase.cpp Tue Jul 06 14:56:00 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfappsrvsessionBase.cpp Mon Aug 02 12:09:20 2010 +0300
@@ -406,6 +406,7 @@
{
__ASSERT_DEBUG(iData, USER_INVARIANT());
iData->iClientWindowGroupId = aId;
+ //Adding this app to goom list - otherwise app like photos will never be killed
if (AlfAppUi()->BridgerClient())
{
AlfAppUi()->BridgerClient()->SendBlind(EAlfVolunteerForGoomTarget, TIpcArgs(iData->iSecureId, iData->iClientWindowGroupId));
@@ -1140,6 +1141,15 @@
CleanupStack::PopAndDestroy();
}
}
+
+TUint CAlfAppSrvSessionBase::SecureId()
+ {
+ if (iData)
+ {
+ return iData->iSecureId;
+ }
+ return 0;
+ }
// End of file
diff -r dd05fdd05078 -r 180438f24a1e uiacceltk/hitchcock/goommonitor/data/goomconfig.xml
--- a/uiacceltk/hitchcock/goommonitor/data/goomconfig.xml Tue Jul 06 14:56:00 2010 +0300
+++ b/uiacceltk/hitchcock/goommonitor/data/goomconfig.xml Mon Aug 02 12:09:20 2010 +0300
@@ -47,7 +47,7 @@
-
+
@@ -79,9 +79,10 @@
defined in the conf file.
-->
-
-
-
+
+
+
+