summaryrefslogtreecommitdiff
path: root/core/SystemStatus.cpp
diff options
context:
space:
mode:
authorYingjie Wang <yingjiewang@codeaurora.org>2021-04-21 09:07:31 +0800
committeryingjiew <yingjiewang@codeaurora.org>2021-09-02 13:57:54 +0800
commitc9560c1201d115ff372c74fed296e660139e7a76 (patch)
tree5afc80864e57ad3a956731697ff2e48849a374b0 /core/SystemStatus.cpp
parent01269f41e61e3f1b5322e930aca65aa152358ba8 (diff)
Correct equals() for SystemStatusNetworkInfo
Check more fields to identify NetworkInfo, i.e. NetworkHandle and Apn; Add debugging log print for xtra. Change-Id: Ie4a28b1e4feaccbb9ef7ca806248521842a47a2e CRs-fixed: 2926382
Diffstat (limited to 'core/SystemStatus.cpp')
-rw-r--r--core/SystemStatus.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/SystemStatus.cpp b/core/SystemStatus.cpp
index d792577..fe11de0 100644
--- a/core/SystemStatus.cpp
+++ b/core/SystemStatus.cpp
@@ -1,4 +1,4 @@
-/* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -1586,6 +1586,7 @@ bool SystemStatus::eventDataItemNotify(IDataItemCore* dataitem)
break;
}
pthread_mutex_unlock(&mMutexSystemStatus);
+ LOC_LOGv("DataItemId: %d, whether to record dateitem in cache: %d", dataitem->getId(), ret);
return ret;
}