Merge "Check mAgpsEnabled for data call"

This commit is contained in:
Linux Build Service Account 2013-10-24 18:06:21 -07:00 committed by Gerrit - the friendly Code Review server
commit 54012b3e1b

View file

@ -258,15 +258,17 @@ bool LocEngAdapter::requestSuplES(int connHandle)
inline
bool LocEngAdapter::reportDataCallOpened()
{
if(mAgpsEnabled)
sendMsg(new LocEngSuplEsOpened(mOwner));
return true;
return mAgpsEnabled;
}
inline
bool LocEngAdapter::reportDataCallClosed()
{
if(mAgpsEnabled)
sendMsg(new LocEngSuplEsClosed(mOwner));
return true;
return mAgpsEnabled;
}
inline