Merge "Check mAgpsEnabled for data call"
This commit is contained in:
commit
54012b3e1b
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