Merge "Add check for mAgpsEnabled"
This commit is contained in:
commit
cf6ce2b51d
1 changed files with 3 additions and 2 deletions
|
@ -234,8 +234,9 @@ bool LocEngAdapter::requestNiNotify(GpsNiNotification ¬if, 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
|
||||
|
|
Loading…
Reference in a new issue