28
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#include <QObject>
|
|
19 |
|
|
20 |
#ifdef Q_OS_SYMBIAN
|
|
21 |
#include <e32cmn.h>
|
|
22 |
#include <w32std.h>
|
|
23 |
#include <apgwgnam.h>
|
|
24 |
#include <apgtask.h>
|
|
25 |
#include <eikenv.h>
|
|
26 |
#include <avkondomainpskeys.h> // keyguard state
|
|
27 |
#include <hwrmpowerstatesdkpskeys.h> // battery status
|
40
|
28 |
#include <UsbWatcherInternalPSKeys.h> // usb status
|
|
29 |
#include <usbman.h>
|
|
30 |
#include <usbpersonalityids.h>
|
28
|
31 |
|
|
32 |
#include <QMetaEnum>
|
|
33 |
#include <QString>
|
|
34 |
#include <QVariant>
|
|
35 |
#include <qsymbianevent.h>
|
40
|
36 |
|
28
|
37 |
#endif // Q_OS_SYMBIAN
|
|
38 |
|
|
39 |
#include "cxutils.h"
|
40
|
40 |
#include "cxuieventlog.h"
|
28
|
41 |
#include "cxuiapplication.h"
|
|
42 |
#include "cxesettings.h"
|
|
43 |
#include "cxuiapplicationframeworkmonitorprivate.h"
|
|
44 |
|
|
45 |
|
|
46 |
#ifdef Q_OS_SYMBIAN
|
|
47 |
namespace
|
|
48 |
{
|
|
49 |
inline QString convertTDesC2QString(const TDesC& aDescriptor)
|
|
50 |
{
|
|
51 |
#ifdef QT_NO_UNICODE
|
|
52 |
return QString::fromLocal8Bit(aDescriptor.Ptr(), aDescriptor.Length());
|
|
53 |
#else
|
|
54 |
return QString::fromUtf16(aDescriptor.Ptr(), aDescriptor.Length());
|
|
55 |
#endif
|
|
56 |
}
|
|
57 |
|
|
58 |
inline QString windowGroupName(RWsSession& ws, int id)
|
|
59 |
{
|
|
60 |
TBuf<CApaWindowGroupName::EMaxLength> name;
|
|
61 |
ws.GetWindowGroupNameFromIdentifier(id, name);
|
|
62 |
// Window group name contains "null" characters,
|
|
63 |
// which are considered end-of-string if not replaced.
|
|
64 |
for (int i=0; i < name.Length(); i++) {
|
|
65 |
if (name[i] == NULL) {
|
|
66 |
name[i] = ' ';
|
|
67 |
}
|
|
68 |
}
|
|
69 |
return convertTDesC2QString(name);
|
|
70 |
}
|
|
71 |
|
40
|
72 |
inline QString bitString(int number, char fill = '0', int width = 32)
|
|
73 |
{
|
|
74 |
return QString::number(number, 2).rightJustified(width, fill);
|
|
75 |
}
|
|
76 |
|
28
|
77 |
//!@todo: Avkon UIDs not needed once device dialogs fully implemented in Orbit.
|
|
78 |
|
|
79 |
// AknCapServer
|
|
80 |
static const unsigned int UID_AKNCAPSERVER = 0x10207218;
|
|
81 |
|
|
82 |
// Phone ui
|
|
83 |
static const unsigned int UID_PHONEUI = 0x100058B3;
|
|
84 |
// Task switcher
|
|
85 |
static const unsigned int UID_TASKSWITCHER = 0x2002677D;
|
|
86 |
// Dialog server
|
|
87 |
static const unsigned int UID_DIALOGAPPSERVER = 0x20022FC5;
|
40
|
88 |
|
|
89 |
// Log event types
|
|
90 |
static const char *EVENT_USB = "usb";
|
|
91 |
static const char *EVENT_FOREGROUND = "foreground";
|
28
|
92 |
}
|
|
93 |
#endif // Q_OS_SYMBIAN
|
|
94 |
|
|
95 |
|
|
96 |
/*!
|
|
97 |
* Constructor
|
|
98 |
*/
|
40
|
99 |
CxuiApplicationFrameworkMonitorPrivate::CxuiApplicationFrameworkMonitorPrivate(CxuiApplicationFrameworkMonitor *parent,
|
|
100 |
CxuiApplication &application,
|
|
101 |
CxeSettings& settings)
|
|
102 |
: q(parent),
|
|
103 |
mApplication(application),
|
28
|
104 |
mSettings(settings),
|
|
105 |
#ifdef Q_OS_SYMBIAN
|
|
106 |
mWsSession(CCoeEnv::Static()->WsSession()),
|
|
107 |
mWindowGroup(CCoeEnv::Static()->RootWin()),
|
|
108 |
mWindowGroupId(mWindowGroup.Identifier()),
|
|
109 |
mWindowGroupName(),
|
|
110 |
mKeyLockState(EKeyguardNotActive),
|
|
111 |
mBatteryStatus(EBatteryStatusUnknown),
|
40
|
112 |
mUsbPersonality(0),
|
|
113 |
mEventLog(NULL),
|
28
|
114 |
#endif // Q_OS_SYMBIAN
|
|
115 |
mState(CxuiApplicationFrameworkMonitor::ForegroundOwned)
|
|
116 |
{
|
|
117 |
CX_DEBUG_ENTER_FUNCTION();
|
|
118 |
#ifdef Q_OS_SYMBIAN
|
|
119 |
mWindowGroup.EnableFocusChangeEvents();
|
|
120 |
mWindowGroupName = windowGroupName(mWsSession, mWindowGroupId);
|
40
|
121 |
mEventLog = new CxuiEventLog("CxuiApplicationFrameworkMonitorPrivate");
|
28
|
122 |
init();
|
|
123 |
#endif // Q_OS_SYMBIAN
|
|
124 |
CX_DEBUG_EXIT_FUNCTION();
|
|
125 |
}
|
|
126 |
|
|
127 |
/*!
|
|
128 |
* Destructor
|
|
129 |
*/
|
|
130 |
CxuiApplicationFrameworkMonitorPrivate::~CxuiApplicationFrameworkMonitorPrivate()
|
|
131 |
{
|
40
|
132 |
CX_DEBUG_ENTER_FUNCTION();
|
|
133 |
#ifdef Q_OS_SYMBIAN
|
|
134 |
delete mEventLog;
|
|
135 |
#endif // Q_OS_SYMBIAN
|
|
136 |
CX_DEBUG_EXIT_FUNCTION();
|
28
|
137 |
}
|
|
138 |
|
|
139 |
/*!
|
|
140 |
* Current foreground owning state of this application.
|
|
141 |
* @return Foreground owning state.
|
|
142 |
*/
|
|
143 |
CxuiApplicationFrameworkMonitor::ForegroundState CxuiApplicationFrameworkMonitorPrivate::foregroundState() const
|
|
144 |
{
|
|
145 |
return mState;
|
|
146 |
}
|
|
147 |
|
40
|
148 |
/*!
|
|
149 |
* Is USB connected in mass memory mode?
|
|
150 |
* @return True if USB mass memory mode is active and connected, false otherwise.
|
|
151 |
*/
|
|
152 |
bool CxuiApplicationFrameworkMonitorPrivate::isUsbMassMemoryModeActive() const
|
|
153 |
{
|
|
154 |
bool active(false);
|
|
155 |
#ifdef Q_OS_SYMBIAN
|
|
156 |
// Mass memory mode activity can be seen from the KUsbWatcherSelectedPersonality property.
|
|
157 |
// When USB is connected in Mass Memory Mode, we get KUsbPersonalityIdMS as personality id.
|
|
158 |
// If USB is not connected, personality id is KUsbWatcherSelectedPersonalityNone.
|
|
159 |
active = (mUsbPersonality == KUsbPersonalityIdMS);
|
|
160 |
#endif // Q_OS_SYMBIAN
|
|
161 |
return active;
|
|
162 |
}
|
|
163 |
|
|
164 |
|
|
165 |
|
28
|
166 |
#ifdef Q_OS_SYMBIAN
|
|
167 |
/*!
|
|
168 |
* Slot to handle Symbian event.
|
|
169 |
* @param event Symbian event to be handled. (Ownership not taken.)
|
|
170 |
*/
|
|
171 |
void CxuiApplicationFrameworkMonitorPrivate::handleEvent(const QSymbianEvent *event)
|
|
172 |
{
|
|
173 |
// We receive tons of these events, so function start and end traces
|
|
174 |
// are intentionally left out.
|
|
175 |
|
|
176 |
if (event) {
|
|
177 |
switch (event->type()) {
|
|
178 |
case QSymbianEvent::WindowServerEvent:
|
|
179 |
handleWindowServerEvent(event);
|
|
180 |
break;
|
|
181 |
}
|
|
182 |
}
|
|
183 |
}
|
|
184 |
|
|
185 |
/*!
|
|
186 |
* Handle changes in RProperty values of keylock state and battery status.
|
|
187 |
* @param uid Category uid of the changed property.
|
|
188 |
* @param key Integer key of the changed property.
|
|
189 |
* @param value New value of the changed property.
|
|
190 |
*/
|
|
191 |
void CxuiApplicationFrameworkMonitorPrivate::handlePropertyEvent(long int uid, unsigned long int key, QVariant value)
|
|
192 |
{
|
|
193 |
CX_DEBUG_ENTER_FUNCTION();
|
|
194 |
|
|
195 |
if (uid == KPSUidAvkonDomain.iUid && key == KAknKeyguardStatus) {
|
40
|
196 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - keylock status changed: %d -> %d", mKeyLockState, value.toInt()));
|
28
|
197 |
|
|
198 |
// Check if the keylock value has actually changed
|
|
199 |
const int newKeyLockState = value.toInt();
|
|
200 |
if (newKeyLockState != mKeyLockState) {
|
|
201 |
mKeyLockState = newKeyLockState;
|
|
202 |
// Set foreground state based on keylock status and focused application info.
|
|
203 |
setState(getCurrentState());
|
|
204 |
}
|
|
205 |
} else if (uid == KPSUidHWRMPowerState.iUid && key == KHWRMBatteryStatus ) {
|
40
|
206 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - battery status changed: %d -> %d", mBatteryStatus, value.toInt() ));
|
28
|
207 |
|
|
208 |
// If status changed, check if battery is going empty.
|
|
209 |
const int newBatteryStatus = value.toInt();
|
|
210 |
if (newBatteryStatus != mBatteryStatus) {
|
|
211 |
mBatteryStatus = newBatteryStatus;
|
|
212 |
|
|
213 |
// Notify that battery is almost empty,
|
|
214 |
// need to stop any recordings etc.
|
40
|
215 |
if(mBatteryStatus == EBatteryStatusEmpty) {
|
|
216 |
emit q->batteryEmpty();
|
|
217 |
}
|
|
218 |
}
|
|
219 |
} else if (uid == KPSUidUsbWatcher.iUid && key == KUsbWatcherSelectedPersonality) {
|
|
220 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - usb personality changed: %d -> %d", mUsbPersonality, value.toInt()));
|
|
221 |
|
|
222 |
const int newUsbPersonality(value.toInt());
|
|
223 |
if (newUsbPersonality != mUsbPersonality) {
|
|
224 |
// Check before saving the new state if mass memory mode was active,
|
|
225 |
// so we know when to emit the unactivated signal.
|
|
226 |
const bool wasUsbMassMemoryModeActive(isUsbMassMemoryModeActive());
|
|
227 |
// Store new state.
|
|
228 |
mUsbPersonality = newUsbPersonality;
|
|
229 |
|
|
230 |
// Save state to log.
|
|
231 |
if (mEventLog) {
|
|
232 |
mEventLog->append(EVENT_USB, QString::number(mUsbPersonality));
|
|
233 |
}
|
|
234 |
|
|
235 |
// Check if mass memory mode activity changed.
|
|
236 |
if (wasUsbMassMemoryModeActive != isUsbMassMemoryModeActive()) {
|
|
237 |
emit q->usbMassMemoryModeToggled(isUsbMassMemoryModeActive());
|
28
|
238 |
}
|
|
239 |
}
|
|
240 |
}
|
|
241 |
|
|
242 |
CX_DEBUG_EXIT_FUNCTION();
|
|
243 |
}
|
|
244 |
|
|
245 |
/*!
|
|
246 |
* Set initial values.
|
|
247 |
*/
|
|
248 |
void CxuiApplicationFrameworkMonitorPrivate::init()
|
|
249 |
{
|
|
250 |
CX_DEBUG_ENTER_FUNCTION();
|
|
251 |
|
|
252 |
// Connect to application (window server) events.
|
|
253 |
connect(&mApplication, SIGNAL(symbianEvent(const QSymbianEvent *)), this, SLOT(handleEvent(const QSymbianEvent *)));
|
|
254 |
|
|
255 |
QVariant value;
|
|
256 |
|
|
257 |
// Get initial battery status.
|
|
258 |
mSettings.get(KPSUidHWRMPowerState.iUid, KHWRMBatteryStatus, Cxe::PublishAndSubscribe, value);
|
|
259 |
mBatteryStatus = value.toInt();
|
|
260 |
|
|
261 |
// Get initial keylock status.
|
|
262 |
mSettings.get(KPSUidAvkonDomain.iUid, KAknKeyguardStatus, Cxe::PublishAndSubscribe, value);
|
|
263 |
mKeyLockState = value.toInt();
|
|
264 |
|
40
|
265 |
// Get current USB personality
|
|
266 |
mSettings.get(KPSUidUsbWatcher.iUid, KUsbWatcherSelectedPersonality, Cxe::PublishAndSubscribe, value);
|
|
267 |
mUsbPersonality = value.toInt();
|
|
268 |
|
28
|
269 |
bool ok = connect(&mSettings, SIGNAL(settingValueChanged(long int, unsigned long int, QVariant)),
|
|
270 |
this, SLOT(handlePropertyEvent(long int, unsigned long int, QVariant)));
|
|
271 |
CX_DEBUG_ASSERT(ok);
|
|
272 |
|
|
273 |
// Get foreground state. Depends on keyguard status, so that needs to be read first.
|
|
274 |
mState = getCurrentState();
|
|
275 |
|
|
276 |
CX_DEBUG_EXIT_FUNCTION();
|
|
277 |
}
|
|
278 |
|
|
279 |
/*!
|
|
280 |
* Helper method to handle Symbian event that specificly is of type QSymbianEvent::WindowServerEvent.
|
|
281 |
* @param event Symbian event to be handled. (Ownership not taken.)
|
|
282 |
*/
|
40
|
283 |
void CxuiApplicationFrameworkMonitorPrivate::handleWindowServerEvent(const QSymbianEvent *event)
|
28
|
284 |
{
|
|
285 |
// We receive tons of these events, so function start and end traces
|
|
286 |
// are intentionally left out.
|
|
287 |
|
|
288 |
const TWsEvent *wsEvent = event->windowServerEvent();
|
|
289 |
if (wsEvent) {
|
|
290 |
switch (wsEvent->Type()) {
|
|
291 |
case EEventFocusGroupChanged: {
|
|
292 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - EEventFocusGroupChanged event"));
|
|
293 |
setState(getCurrentState());
|
|
294 |
break;
|
|
295 |
}
|
|
296 |
case EEventFocusGained: {
|
|
297 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - EEventFocusGained event"));
|
|
298 |
setState(getCurrentState());
|
|
299 |
break;
|
|
300 |
}
|
|
301 |
case EEventFocusLost: {
|
|
302 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - EEventFocusLost event"));
|
|
303 |
setState(getCurrentState());
|
|
304 |
break;
|
|
305 |
}
|
|
306 |
case EEventWindowVisibilityChanged: {
|
|
307 |
const TWsVisibilityChangedEvent *visibilityEvent = wsEvent->VisibilityChanged();
|
|
308 |
if (visibilityEvent) {
|
|
309 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - EFullyVisible: bits[%s]",
|
40
|
310 |
bitString(TWsVisibilityChangedEvent::EFullyVisible).toAscii().constData() ));
|
28
|
311 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - EPartiallyVisible: bits[%s]",
|
40
|
312 |
bitString(TWsVisibilityChangedEvent::EPartiallyVisible).toAscii().constData() ));
|
28
|
313 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - ENotVisible: bits[%s]",
|
40
|
314 |
bitString(TWsVisibilityChangedEvent::ENotVisible).toAscii().constData() ));
|
28
|
315 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - event: bits[%s]",
|
40
|
316 |
bitString(visibilityEvent->iFlags).toAscii().constData() ));
|
28
|
317 |
}
|
|
318 |
break;
|
|
319 |
}
|
|
320 |
default:
|
|
321 |
break;
|
|
322 |
}
|
|
323 |
}
|
|
324 |
}
|
|
325 |
|
|
326 |
/*!
|
|
327 |
* Set state and emit signal if state really changes.
|
|
328 |
* @param state New state.
|
|
329 |
*/
|
|
330 |
void CxuiApplicationFrameworkMonitorPrivate::setState(CxuiApplicationFrameworkMonitor::ForegroundState state)
|
|
331 |
{
|
|
332 |
if (mState != state) {
|
|
333 |
const CxuiApplicationFrameworkMonitor::ForegroundState original(mState);
|
|
334 |
|
|
335 |
// Check if state transition is acceptable in current state.
|
|
336 |
switch (mState) {
|
|
337 |
case CxuiApplicationFrameworkMonitor::ForegroundOwned:
|
|
338 |
case CxuiApplicationFrameworkMonitor::ForegroundPartiallyLost:
|
|
339 |
// All changes accepted.
|
|
340 |
mState = state;
|
|
341 |
break;
|
|
342 |
case CxuiApplicationFrameworkMonitor::ForegroundFullyLost:
|
|
343 |
// If foreground application is changed to note when we are already
|
|
344 |
// fully in background, cannot accept state change to "partial foreground".
|
|
345 |
if (state != CxuiApplicationFrameworkMonitor::ForegroundPartiallyLost) {
|
|
346 |
mState = state;
|
|
347 |
} else {
|
|
348 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - state change full bg -> partial bg ignored"));
|
|
349 |
}
|
|
350 |
}
|
|
351 |
|
|
352 |
if (mState != original) {
|
40
|
353 |
// Print the event log with this foreground event included.
|
|
354 |
if (mEventLog) {
|
|
355 |
mEventLog->append(
|
|
356 |
EVENT_FOREGROUND,
|
|
357 |
CxuiApplicationFrameworkMonitor::staticMetaObject.enumerator(
|
|
358 |
CxuiApplicationFrameworkMonitor::staticMetaObject.indexOfEnumerator("ForegroundState")).valueToKey(mState));
|
|
359 |
mEventLog->print();
|
|
360 |
}
|
28
|
361 |
|
|
362 |
// If state was changed, signal it to listeners.
|
40
|
363 |
emit q->foregroundStateChanged(mState);
|
28
|
364 |
}
|
|
365 |
}
|
|
366 |
}
|
|
367 |
|
|
368 |
/*!
|
|
369 |
* Get the current foreground state.
|
|
370 |
* @return Current state for foreground ownership.
|
|
371 |
*/
|
|
372 |
CxuiApplicationFrameworkMonitor::ForegroundState CxuiApplicationFrameworkMonitorPrivate::getCurrentState()
|
|
373 |
{
|
|
374 |
CX_DEBUG_ENTER_FUNCTION();
|
|
375 |
|
|
376 |
CxuiApplicationFrameworkMonitor::ForegroundState state(CxuiApplicationFrameworkMonitor::ForegroundOwned);
|
|
377 |
int focusWindowGroupId(mWsSession.GetFocusWindowGroup());
|
|
378 |
|
|
379 |
if (mKeyLockState != EKeyguardNotActive) {
|
|
380 |
// Keylock enabled is the same as if other application is in foreground.
|
40
|
381 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - key lock on"));
|
28
|
382 |
state = CxuiApplicationFrameworkMonitor::ForegroundFullyLost;
|
|
383 |
} else if (focusWindowGroupId == mWindowGroupId) {
|
|
384 |
// If our window group has focus, we clearly are the foreground owning application.
|
|
385 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - Foreground window group matches ours."));
|
|
386 |
state = CxuiApplicationFrameworkMonitor::ForegroundOwned;
|
|
387 |
|
|
388 |
} else {
|
|
389 |
// Need to check if foreground is owned by known apps.
|
|
390 |
unsigned int uid(focusedApplicationUid());
|
|
391 |
|
|
392 |
// Check the app uid.
|
|
393 |
switch (uid) {
|
|
394 |
case UID_AKNCAPSERVER:
|
|
395 |
case UID_TASKSWITCHER:
|
|
396 |
case UID_DIALOGAPPSERVER:
|
|
397 |
// Note or task switcher in foreground.
|
|
398 |
state = CxuiApplicationFrameworkMonitor::ForegroundPartiallyLost;
|
|
399 |
break;
|
|
400 |
case UID_PHONEUI:
|
|
401 |
default:
|
|
402 |
// Foreground owned by other app.
|
|
403 |
state = CxuiApplicationFrameworkMonitor::ForegroundFullyLost;
|
|
404 |
break;
|
|
405 |
}
|
|
406 |
}
|
|
407 |
|
|
408 |
CX_DEBUG_EXIT_FUNCTION();
|
|
409 |
return state;
|
|
410 |
}
|
|
411 |
|
|
412 |
/*!
|
|
413 |
* Get the uid of application in foreground.
|
|
414 |
* @return Application uid for the foreground application.
|
|
415 |
*/
|
|
416 |
unsigned int CxuiApplicationFrameworkMonitorPrivate::focusedApplicationUid()
|
|
417 |
{
|
|
418 |
unsigned int uid(0);
|
|
419 |
int focusWgId(mWsSession.GetFocusWindowGroup());
|
|
420 |
|
|
421 |
TRAP_IGNORE({
|
|
422 |
CApaWindowGroupName* wgn = CApaWindowGroupName::NewLC(mWsSession, focusWgId);
|
|
423 |
uid = wgn->AppUid().iUid;
|
|
424 |
CleanupStack::PopAndDestroy(wgn);
|
|
425 |
});
|
|
426 |
|
|
427 |
// If the window group identifier does not have the application uid set,
|
|
428 |
// get it via thread secure id.
|
|
429 |
if (uid == 0) {
|
|
430 |
TApaTask task(mWsSession);
|
|
431 |
task.SetWgId(focusWgId);
|
|
432 |
|
|
433 |
RThread t;
|
|
434 |
int err = t.Open(task.ThreadId());
|
|
435 |
if (err == KErrNone) {
|
|
436 |
uid = t.SecureId().iId;
|
|
437 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - uid resolved from thread"));
|
|
438 |
}
|
|
439 |
t.Close();
|
|
440 |
}
|
|
441 |
|
|
442 |
#ifdef CX_DEBUG
|
|
443 |
QString name(windowGroupName(mWsSession, focusWgId));
|
|
444 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - Own window group id: 0x%08x", mWindowGroupId));
|
|
445 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - Focused window group id: 0x%08x", focusWgId));
|
|
446 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - Own window group name: [%s]", mWindowGroupName.toAscii().constData()));
|
|
447 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - Focused window group name: [%s]", name.toAscii().constData()));
|
|
448 |
CX_DEBUG(("CxuiApplicationFrameworkMonitor - Focused application uid: 0x%08x", uid));
|
|
449 |
#endif
|
|
450 |
|
|
451 |
return uid;
|
|
452 |
}
|
|
453 |
|
|
454 |
#endif // Q_OS_SYMBIAN
|
|
455 |
|
|
456 |
// end of file
|