Backport: Add missing synchronized keyword
This commit is contained in:
parent
d717ae1e2e
commit
3acdc83c66
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user