You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: firebase-ml-modeldownloader/src/main/java/com/google/firebase/ml/modeldownloader/internal/SharedPreferencesUtil.java
+28-27Lines changed: 28 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@
16
16
17
17
importandroid.content.Context;
18
18
importandroid.content.SharedPreferences;
19
+
importandroid.content.SharedPreferences.Editor;
19
20
importandroid.os.SystemClock;
20
21
importandroidx.annotation.NonNull;
21
22
importandroidx.annotation.Nullable;
@@ -51,8 +52,8 @@ public SharedPreferencesUtil(FirebaseApp firebaseApp) {
51
52
* Returns the Custom Model details currently associated with this model. If a fully downloaded
52
53
* model is present - this returns the details of that model, including local file path. If an
53
54
* update of an existing model is in progress, the local model plus the download id for the new
54
-
* upload is returned. To get only details related to the downloading model use
55
-
* getDownloadingCustomModelDetails. If this is the initial download of a local file - the
55
+
* upload is returned. To get only details related to the downloading model use {@link
56
+
* #getDownloadingCustomModelDetails}. If this is the initial download of a local file - the
56
57
* downloading model details are returned.
57
58
*
58
59
* @param modelName - name of the model
@@ -138,7 +139,7 @@ public synchronized void setDownloadingCustomModelDetails(@NonNull CustomModel c
Copy file name to clipboardExpand all lines: firebase-ml-modeldownloader/src/test/java/com/google/firebase/ml/modeldownloader/internal/SharedPreferencesUtilTest.java
+3-8Lines changed: 3 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -44,13 +44,6 @@ public class SharedPreferencesUtilTest {
0 commit comments