application/src/PodcastAppui.cpp
branchRCL_3
changeset 302 cf14797d0023
parent 292 655dbce90b70
child 304 9d25c062a380
equal deleted inserted replaced
301:f5af16df2425 302:cf14797d0023
   141 			CleanupStack::PopAndDestroy(gn);
   141 			CleanupStack::PopAndDestroy(gn);
   142         	
   142         	
   143 			const TUid KUidFastSwapS3 = { 0x20016BF0 };
   143 			const TUid KUidFastSwapS3 = { 0x20016BF0 };
   144 			if (activeAppUid == KUidFastSwapS3)
   144 			if (activeAppUid == KUidFastSwapS3)
   145 				{
   145 				{
       
   146 				DP("Exit called by task manager");
   146 				// closed by task manager
   147 				// closed by task manager
   147 				Exit();
   148 				Exit();
   148 				}
   149 				}
   149 			else
   150 			else
   150         		{
   151         		{
       
   152 				DP("Red button pressed, going into background");
   151         		// red button pressed
   153         		// red button pressed
   152 				TApaTask task(iEikonEnv->WsSession());
   154 				TApaTask task(iEikonEnv->WsSession());
   153 				task.SetWgId(iEikonEnv->RootWin().Identifier());
   155 				task.SetWgId(iEikonEnv->RootWin().Identifier());
   154 				task.SendToBackground(); 
   156 				task.SendToBackground(); 
   155         		}   		
   157         		}