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
|
inline
|
||||||
bool LocEngAdapter::reportDataCallOpened()
|
bool LocEngAdapter::reportDataCallOpened()
|
||||||
{
|
{
|
||||||
sendMsg(new LocEngSuplEsOpened(mOwner));
|
if(mAgpsEnabled)
|
||||||
return true;
|
sendMsg(new LocEngSuplEsOpened(mOwner));
|
||||||
|
return mAgpsEnabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline
|
inline
|
||||||
bool LocEngAdapter::reportDataCallClosed()
|
bool LocEngAdapter::reportDataCallClosed()
|
||||||
{
|
{
|
||||||
sendMsg(new LocEngSuplEsClosed(mOwner));
|
if(mAgpsEnabled)
|
||||||
return true;
|
sendMsg(new LocEngSuplEsClosed(mOwner));
|
||||||
|
return mAgpsEnabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline
|
inline
|
||||||
|
|
Loading…
Reference in a new issue