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
|
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