Merge "Check mAgpsEnabled for data call"

This commit is contained in:
Linux Build Service Account 2013-10-27 11:01:19 -07:00 committed by Gerrit - the friendly Code Review server
commit 43b17ee404

View file

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