diff options
author | zeapo <mohamed@zenadi.com> | 2014-11-01 00:16:52 +0100 |
---|---|---|
committer | zeapo <mohamed@zenadi.com> | 2014-11-01 00:16:52 +0100 |
commit | 9c2115d2d2c331aa10eceb4ad43f620be2b1606f (patch) | |
tree | 5cde4d15c4edb97adf8833388d0ca4dd1a9b4ab0 /app/src | |
parent | b058008523c72841670882e79bd9bb5fb8d904f8 (diff) |
if the user press back without cloning, he gets an NPE
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/PasswordStore.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java index 3de74357..e932584f 100644 --- a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java +++ b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java @@ -329,7 +329,7 @@ public class PasswordStore extends ActionBarActivity { super.onBackPressed(); } - if (!plist.isNotEmpty()) { + if (null != plist && !plist.isNotEmpty()) { getSupportActionBar().setDisplayHomeAsUpEnabled(false); } } |