Broadcasting the ConnectionStatusUpdate.AUTHENTICATED event
This commit is contained in:
parent
de3dc2b120
commit
bad3bdaff8
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue