We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1a8c37 commit f21b675Copy full SHA for f21b675
CommonUtil/src/main/java/com/jingewenku/abrahamcaijin/commonutil/AppDavikActivityMgr.java
@@ -31,7 +31,11 @@ public class AppDavikActivityMgr {
31
*/
32
public static AppDavikActivityMgr getScreenManager() {
33
if (instance == null) {
34
- instance = new AppDavikActivityMgr();
+ synchronized (AppDavikActivityMgr.class){
35
+ if (instance == null) {
36
+ instance = new AppDavikActivityMgr();
37
+ }
38
39
}
40
return instance;
41
0 commit comments