diff options
author | Harikrishnan Hariharan <hahariha@codeaurora.org> | 2018-09-14 12:36:09 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-09-24 00:21:04 -0700 |
commit | 352ffcb3c5fe7ae430c43d882bc1965e787e71cb (patch) | |
tree | 1e1f9ba41c7768c50ec97a16dcc382e0555b037f /core/SystemStatusOsObserver.cpp | |
parent | e183c751515ff530588523c0bd4bc8114ff8c9d1 (diff) | |
download | gps-352ffcb3c5fe7ae430c43d882bc1965e787e71cb.tar.gz |
Pass Framework Action request object to HandleTurnOn msg task
Currently Sys Status OS Observer object was being passed, due
to which actual turn on functionality in Framework action
request object was not being invoked.
Implement equals for SystemStatus class for BT scan device data
so that it is handled correctly in setIteminReport.
Change-Id: Ie7f24a1eaf886a2402698489bfd1d0ddc34585cf
CRs-Fixed: 2321041
Diffstat (limited to 'core/SystemStatusOsObserver.cpp')
-rw-r--r-- | core/SystemStatusOsObserver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/SystemStatusOsObserver.cpp b/core/SystemStatusOsObserver.cpp index 9c65aad..20ef1ae 100644 --- a/core/SystemStatusOsObserver.cpp +++ b/core/SystemStatusOsObserver.cpp @@ -405,7 +405,8 @@ void SystemStatusOsObserver::turnOn(DataItemId dit, int timeOut) DataItemId mDataItemId; int mTimeOut; }; - mContext.mMsgTask->sendMsg(new (nothrow) HandleTurnOnMsg(this, dit, timeOut)); + mContext.mMsgTask->sendMsg( + new (nothrow) HandleTurnOnMsg(mContext.mFrameworkActionReqObj, dit, timeOut)); } else { // Found in map, update reference count |