Skip to content

Commit 03dec96

Browse files
author
Mike Ng
committed
Make getDatafileUrl static for easier access.
1 parent 387f74a commit 03dec96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ public boolean isDatafileCached(Context context) {
324324
* Returns the URL of the versioned datafile that this SDK expects to use
325325
* @return the CDN location of the datafile
326326
*/
327-
public @NonNull String getDatafileUrl() {
327+
public static @NonNull String getDatafileUrl(String projectId) {
328328
return DataFileService.getDatafileUrl(projectId);
329329
}
330330

0 commit comments

Comments
 (0)