mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-15 22:22:22 +01:00
Fix NPE
This commit is contained in:
parent
2e29d4e2dc
commit
d3ed46e23d
1 changed files with 1 additions and 1 deletions
|
@ -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(() -> {
|
||||
|
|
Loading…
Reference in a new issue