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 8d7c381 commit 377a9d4Copy full SHA for 377a9d4
android-sdk/src/main/java/com/optimizely/ab/android/sdk/OptimizelyManager.java
@@ -32,7 +32,7 @@
32
* Handles loading the Optimizely data file
33
*/
34
public class OptimizelyManager {
35
- @Nullable private static AndroidOptimizely androidOptimizely;
+ @NonNull private static AndroidOptimizely androidOptimizely = new AndroidOptimizely(null);
36
@NonNull private final String projectId;
37
@NonNull private final Long eventHandlerDispatchInterval;
38
@NonNull private final TimeUnit eventHandlerDispatchIntervalTimeUnit;
@@ -107,6 +107,7 @@ public void stop(@NonNull Context context) {
107
this.optimizelyStartListener = null;
108
}
109
110
+ @NonNull
111
public AndroidOptimizely getOptimizely() {
112
return androidOptimizely;
113
0 commit comments