fix old method' id incrementation

This commit is contained in:
madwasp79 2019-04-17 11:36:09 +03:00
parent b1e236bdad
commit a8f6aadcc2

View file

@ -748,7 +748,6 @@ public class OsmandAidlService extends Service implements AidlCallbackListener {
public long registerForUpdates(long updateTimeMS, IOsmAndAidlCallback callback) {
try {
if (updateTimeMS >= MIN_UPDATE_TIME_MS) {
aidlCallbackId++;
addAidlCallback(callback, KEY_ON_UPDATE);
startRemoteUpdates(updateTimeMS, aidlCallbackId, callback);
return aidlCallbackId;