Check mAgpsEnabled for data call
Check AGPS flag to ensure the request is handled by the right adapter Change-Id: I6fb7271ec0be5aec14e9d667c07e5b01b1736c1d CRs-fixed: 551808
This commit is contained in:
parent
5ef02d7c6d
commit
82159c5002
1 changed files with 6 additions and 4 deletions
|
@ -258,15 +258,17 @@ bool LocEngAdapter::requestSuplES(int connHandle)
|
|||
inline
|
||||
bool LocEngAdapter::reportDataCallOpened()
|
||||
{
|
||||
sendMsg(new LocEngSuplEsOpened(mOwner));
|
||||
return true;
|
||||
if(mAgpsEnabled)
|
||||
sendMsg(new LocEngSuplEsOpened(mOwner));
|
||||
return mAgpsEnabled;
|
||||
}
|
||||
|
||||
inline
|
||||
bool LocEngAdapter::reportDataCallClosed()
|
||||
{
|
||||
sendMsg(new LocEngSuplEsClosed(mOwner));
|
||||
return true;
|
||||
if(mAgpsEnabled)
|
||||
sendMsg(new LocEngSuplEsClosed(mOwner));
|
||||
return mAgpsEnabled;
|
||||
}
|
||||
|
||||
inline
|
||||
|
|
Loading…
Reference in a new issue