summaryrefslogtreecommitdiffstats
path: root/src/systeminfo/symbian/pubandsubkey_s60.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/systeminfo/symbian/pubandsubkey_s60.cpp')
-rw-r--r--src/systeminfo/symbian/pubandsubkey_s60.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/systeminfo/symbian/pubandsubkey_s60.cpp b/src/systeminfo/symbian/pubandsubkey_s60.cpp
index e494889c37..5a3a7d5f1a 100644
--- a/src/systeminfo/symbian/pubandsubkey_s60.cpp
+++ b/src/systeminfo/symbian/pubandsubkey_s60.cpp
@@ -84,6 +84,8 @@ TInt CPubSubKeyHandler::GetValue() const
void CPubSubKeyHandler::StartMonitoring()
{
- iProperty.Subscribe(iStatus);
- SetActive();
+ if (!IsActive()) {
+ iProperty.Subscribe(iStatus);
+ SetActive();
+ }
}