Backport: Add missing synchronized keyword

This commit is contained in:
ByteHamster 2021-04-03 15:47:15 +02:00
parent d717ae1e2e
commit 3acdc83c66
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ public class PodDBAdapter {
PodDBAdapter.context = context.getApplicationContext();
}
public static PodDBAdapter getInstance() {
public static synchronized PodDBAdapter getInstance() {
if (instance == null) {
instance = new PodDBAdapter();
}