Broadcasting the ConnectionStatusUpdate.AUTHENTICATED event

develop
Nelson R. Perez 2018-08-09 09:38:25 -05:00
parent de3dc2b120
commit bad3bdaff8
1 changed files with 3 additions and 0 deletions

View File

@ -242,6 +242,9 @@ public class NetworkService extends Service {
if(mLastCall.equals(RPC.CALL_LOGIN)){
isLoggedIn = true;
// Broadcasting result
RxBus.getBusInstance().send(new ConnectionStatusUpdate(ConnectionStatusUpdate.AUTHENTICATED, ApiAccess.API_NONE));
checkNextRequestedApiAccess();
}else if(mLastCall.equals(RPC.CALL_DATABASE)){
// Deserializing integer response