Skip to content

Commit a857b34

Browse files
committed
Undo removal of @nullable
1 parent 8e64b19 commit a857b34

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/main/java/org/havenapp/main/PreferenceManager.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,16 @@
2424
import android.content.SharedPreferences.Editor;
2525
import android.text.TextUtils;
2626

27+
import androidx.annotation.NonNull;
28+
import androidx.annotation.Nullable;
29+
import androidx.appcompat.app.AppCompatActivity;
30+
2731
import org.havenapp.main.sensors.motion.LuminanceMotionDetector;
2832

2933
import java.io.File;
3034
import java.util.Date;
3135
import java.util.Objects;
3236

33-
import androidx.annotation.NonNull;
34-
import androidx.appcompat.app.AppCompatActivity;
35-
3637

3738
public class PreferenceManager {
3839

@@ -150,6 +151,7 @@ public void setSignalUsername (String signalUsername)
150151
*
151152
* @return the verified Signal username; null when no Signal username is verified even though registered.
152153
*/
154+
@Nullable
153155
public String getVerifiedSignalUsername() {
154156
return appSharedPrefs.getString(SIGNAL_VERIFIED_USERNAME, null);
155157
}

0 commit comments

Comments
 (0)