File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Parse/src/main/java/com/parse Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ class ParsePlugins {
26
26
private static final String INSTALLATION_ID_LOCATION = "installationId" ;
27
27
28
28
private static final Object LOCK = new Object ();
29
+ private static final String TAG = "com.parse.ParsePlugins" ;
29
30
private static ParsePlugins instance ;
30
31
31
32
// TODO(grantland): Move towards a Config/Builder parameter pattern to allow other configurations
@@ -37,7 +38,8 @@ static void initialize(Parse.Configuration configuration) {
37
38
static void set (ParsePlugins plugins ) {
38
39
synchronized (LOCK ) {
39
40
if (instance != null ) {
40
- throw new IllegalStateException ("ParsePlugins is already initialized" );
41
+ PLog .w (TAG , "ParsePlugins is already initialized" );
42
+ return ;
41
43
}
42
44
instance = plugins ;
43
45
}
You can’t perform that action at this time.
0 commit comments