Merge "Add check for mAgpsEnabled"

This commit is contained in:
Linux Build Service Account 2013-09-25 19:54:46 -07:00 committed by Gerrit - the friendly Code Review server
commit 9db35ba756

View file

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