equal
deleted
inserted
replaced
137 { |
137 { |
138 switch (aEvent.Type()) { |
138 switch (aEvent.Type()) { |
139 case TWservCrEvent::EWindowGroupChanged: |
139 case TWservCrEvent::EWindowGroupChanged: |
140 if( KInvalidGroupId != iWindowGroupId ) |
140 if( KInvalidGroupId != iWindowGroupId ) |
141 { |
141 { |
142 NotifyWindowGroupToBackground( iWindowGroupId ); |
142 |
143 if(iAllowedList->IsPresent(iWindowGroupId)) |
143 if(iAllowedList->IsPresent(iWindowGroupId)) |
144 { |
144 { |
145 TakeScreenshot( iWindowGroupId ); |
145 TakeScreenshot( iWindowGroupId ); |
|
146 } |
|
147 else |
|
148 { |
|
149 NotifyWindowGroupToBackground( iWindowGroupId ); |
146 } |
150 } |
147 } |
151 } |
148 iWindowGroupId = aEvent.WindowGroupIdentifier(); |
152 iWindowGroupId = aEvent.WindowGroupIdentifier(); |
149 break; |
153 break; |
150 case TWservCrEvent::EDeviceOrientationChanged: |
154 case TWservCrEvent::EDeviceOrientationChanged: |