Merge "Add check for mAgpsEnabled"

This commit is contained in:
Linux Build Service Account 2013-09-26 09:31:58 -07:00 committed by Gerrit - the friendly Code Review server
commit cf6ce2b51d

View file

@ -234,8 +234,9 @@ bool LocEngAdapter::requestNiNotify(GpsNiNotification &notif, const void* data)
inline
bool LocEngAdapter::requestSuplES(int connHandle)
{
sendMsg(new LocEngRequestSuplEs(mOwner, connHandle));
return true;
if (mAgpsEnabled)
sendMsg(new LocEngRequestSuplEs(mOwner, connHandle));
return mAgpsEnabled;
}
inline