Skip to content

Commit

Permalink
Update LongPollService.java
Browse files Browse the repository at this point in the history
  • Loading branch information
tretdm committed Nov 25, 2023
1 parent 5bd860b commit 313ba3a
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,12 @@ public int onStartCommand(Intent intent, int flags, int startId) {
return super.onStartCommand(intent, flags, startId);
}

public void run(String instance, String lp_server, String key, int ts, boolean use_https,
boolean legacy_client) {
public void run(String instance, String lp_server, String key, int ts, boolean use_https) {
this.use_https = use_https;
if(lpW == null) {
lpW = new LongPollWrapper(ctx, use_https);
}
ovk_api = new OvkAPIWrapper(ctx, use_https, legacy_client, handler);
ovk_api = new OvkAPIWrapper(ctx, use_https, handler);
ovk_api.setServer(instance);
ovk_api.setAccessToken(access_token);
if(BuildConfig.BUILD_TYPE.equals("release")) ovk_api.log(false);
Expand Down

0 comments on commit 313ba3a

Please sign in to comment.