Skip to content

Commit ca727e0

Browse files
make protected method public (#301)
1 parent 7139c21 commit ca727e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android-sdk/src/main/java/com/optimizely/ab/android/sdk/OptimizelyManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public OptimizelyClient initialize(@NonNull Context context, @NonNull String dat
163163
}
164164

165165
/**
166-
* Initialize Optimizely Synchronously using the datafile passed in while downloading the latest datafile in the background from the CDN to cache.
166+
* Initialize Optimizely Synchronously using the datafile passed in.
167167
* It should be noted that even though it initiates a download of the datafile to cache, this method does not use that cached datafile.
168168
* You can always test if a datafile exists in cache with {@link #isDatafileCached(Context)}.
169169
* <p>
@@ -175,7 +175,7 @@ public OptimizelyClient initialize(@NonNull Context context, @NonNull String dat
175175
* @param downloadToCache to check if datafile should get updated in cache after initialization.
176176
* @return an {@link OptimizelyClient} instance
177177
*/
178-
protected OptimizelyClient initialize(@NonNull Context context, @Nullable String datafile, boolean downloadToCache) {
178+
public OptimizelyClient initialize(@NonNull Context context, @Nullable String datafile, boolean downloadToCache) {
179179
if (!isAndroidVersionSupported()) {
180180
return optimizelyClient;
181181
}

0 commit comments

Comments
 (0)