We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25eb137 commit be7e0c3Copy full SHA for be7e0c3
auth/src/main/java/com/firebase/ui/auth/util/smartlock/SaveSmartLock.java
@@ -11,6 +11,7 @@
11
import android.support.v4.app.Fragment;
12
import android.support.v4.app.FragmentManager;
13
import android.support.v4.app.FragmentTransaction;
14
+import android.text.TextUtils;
15
import android.util.Log;
16
import android.widget.Toast;
17
@@ -48,7 +49,7 @@ public class SaveSmartLock extends SmartLock<Status> {
48
49
50
@Override
51
public void onConnected(Bundle bundle) {
- if (mEmail == null) {
52
+ if (TextUtils.isEmpty(mEmail)) {
53
Log.e(TAG, "Unable to save null credential!");
54
finish();
55
return;
0 commit comments