Add check for mAgpsEnabled
requestSuplES did not have the check for mAgpsEnabled Change-Id: I314fe6bc933e5201e1ac6c6632ee3b53240955b1 CRs-fixed: 543639
This commit is contained in:
parent
b70967945d
commit
c66c2fc5f6
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