Merge "Updating error print in AGPS state machine"

This commit is contained in:
Linux Build Service Account 2017-07-28 06:09:37 -07:00 committed by Gerrit - the friendly Code Review server
commit 928e3eca59

View file

@ -209,7 +209,10 @@ void AgpsStateMachine::processAgpsEventReleased(){
switch (mState){
case AGPS_STATE_RELEASED:
LOC_LOGE("Unexpected event RELEASED in state %d", mState);
/* Subscriber list should be empty if we are in released state */
if (!mSubscriberList.empty()) {
LOC_LOGE("Unexpected event RELEASED in RELEASED state");
}
break;
case AGPS_STATE_ACQUIRED: