Skip to content

Commit

Permalink
Undo removal of @nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
fat-tire committed Dec 5, 2019
1 parent 8e64b19 commit a857b34
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/main/java/org/havenapp/main/PreferenceManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,16 @@
import android.content.SharedPreferences.Editor;
import android.text.TextUtils;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import org.havenapp.main.sensors.motion.LuminanceMotionDetector;

import java.io.File;
import java.util.Date;
import java.util.Objects;

import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;


public class PreferenceManager {

Expand Down Expand Up @@ -150,6 +151,7 @@ public void setSignalUsername (String signalUsername)
*
* @return the verified Signal username; null when no Signal username is verified even though registered.
*/
@Nullable
public String getVerifiedSignalUsername() {
return appSharedPrefs.getString(SIGNAL_VERIFIED_USERNAME, null);
}
Expand Down

0 comments on commit a857b34

Please sign in to comment.