Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Commit

Permalink
fix(scheme): Fixing collisions in new service messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ex3ndr committed Feb 5, 2016
1 parent 4c0fb4d commit 6fab02b
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 13 deletions.
4 changes: 2 additions & 2 deletions actor-sdk/sdk-api/actor.json
Original file line number Diff line number Diff line change
Expand Up @@ -3901,7 +3901,7 @@
],
"trait": {
"name": "ServiceEx",
"key": 16
"key": 20
},
"expandable": "true",
"attributes": []
Expand All @@ -3916,7 +3916,7 @@
],
"trait": {
"name": "ServiceEx",
"key": 17
"key": 21
},
"expandable": "true",
"attributes": []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3663,7 +3663,7 @@
<property role="w4tQU" value="true" />
<ref role="w4$XZ" node="55bmeIQ9med" resolve="ServiceEx" />
<node concept="Nu42z" id="6gbxTdnelwL" role="3BtCOu">
<property role="Nu42W" value="10" />
<property role="Nu42W" value="14" />
</node>
<node concept="NXeRC" id="6gbxTdnelwN" role="NXodf">
<property role="NXePf" value="Message about chat archived" />
Expand All @@ -3675,7 +3675,7 @@
<property role="tsOgz" value="true" />
<ref role="w4$XZ" node="55bmeIQ9med" resolve="ServiceEx" />
<node concept="Nu42z" id="6gbxTdnemQg" role="3BtCOu">
<property role="Nu42W" value="11" />
<property role="Nu42W" value="15" />
</node>
<node concept="NXeRC" id="6gbxTdnemQi" role="NXodf">
<property role="NXePf" value="Message about chat restored" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import im.actor.core.PlatformType;
import im.actor.core.entity.Peer;
import im.actor.core.events.IncomingCall;
import im.actor.core.modules.internal.CallsModule;
import im.actor.core.modules.calls.CallsModule;
import im.actor.runtime.Log;
import im.actor.runtime.android.view.BindedViewHolder;
import im.actor.runtime.eventbus.BusSubscriber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
import im.actor.core.events.PeerInfoClosed;
import im.actor.core.events.PeerInfoOpened;
import im.actor.core.events.UserVisible;
import im.actor.core.modules.internal.CallsModule;
import im.actor.core.modules.calls.CallsModule;
import im.actor.core.network.NetworkState;
import im.actor.core.util.ActorTrace;
import im.actor.core.util.Timing;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import im.actor.core.modules.api.ApiModule;
import im.actor.core.modules.sequence.Updates;
import im.actor.core.modules.internal.AppStateModule;
import im.actor.core.modules.internal.CallsModule;
import im.actor.core.modules.calls.CallsModule;
import im.actor.core.modules.internal.ContactsModule;
import im.actor.core.modules.internal.DeviceInfoModule;
import im.actor.core.modules.internal.DisplayLists;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import im.actor.core.modules.api.ApiModule;
import im.actor.core.modules.sequence.Updates;
import im.actor.core.modules.internal.AppStateModule;
import im.actor.core.modules.internal.CallsModule;
import im.actor.core.modules.calls.CallsModule;
import im.actor.core.modules.internal.ContactsModule;
import im.actor.core.modules.internal.DeviceInfoModule;
import im.actor.core.modules.internal.DisplayLists;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package im.actor.core.modules.internal.calls;
package im.actor.core.modules.calls;

import java.util.ArrayList;

import im.actor.core.modules.ModuleContext;
import im.actor.core.modules.internal.CallsModule;
import im.actor.core.util.ModuleActor;
import im.actor.runtime.Log;
import im.actor.runtime.actors.messages.PoisonPill;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package im.actor.core.modules.internal;
package im.actor.core.modules.calls;

import java.util.HashMap;

Expand All @@ -16,7 +16,7 @@
import im.actor.core.events.NewSessionCreated;
import im.actor.core.modules.AbsModule;
import im.actor.core.modules.ModuleContext;
import im.actor.core.modules.internal.calls.CallActor;
import im.actor.core.modules.calls.CallActor;
import im.actor.core.network.RpcCallback;
import im.actor.core.network.RpcException;
import im.actor.core.viewmodel.Command;
Expand All @@ -43,7 +43,7 @@ public CallsModule(ModuleContext context) {
public static final int CALL_TIMEOUT = 10;
public static boolean CALLS_ENABLED = false;
public static boolean MULTIPLE_CALLS_ENABLED = false;
HashMap<Long, ActorRef> calls = new HashMap<Long, ActorRef>();
HashMap<Long, ActorRef> calls = new HashMap<>();

public void run() {
if (CALLS_ENABLED) {
Expand Down

0 comments on commit 6fab02b

Please sign in to comment.