This commit is contained in:
Stephen Paul Weber 2024-01-31 21:45:40 +01:00 committed by 12aw
parent 2e29d4e2dc
commit d3ed46e23d

View file

@ -78,7 +78,7 @@ public class DownloadDefaultStickers extends Service {
http = HttpConnectionManager.newBuilder(intent == null ? getResources().getBoolean(R.bool.use_tor) : intent.getBooleanExtra("tor", getResources().getBoolean(R.bool.use_tor)), intent != null && intent.getBooleanExtra("i2p", getResources().getBoolean(R.bool.use_i2p))).build();
}
synchronized(pendingPacks) {
pendingPacks.add(intent.getData() == null ? Uri.parse("https://stickers.cheogram.com/index.json") : intent.getData());
pendingPacks.add(intent == null || intent.getData() == null ? Uri.parse("https://stickers.cheogram.com/index.json") : intent.getData());
}
if (RUNNING.compareAndSet(false, true)) {
new Thread(() -> {