if the user press back without cloning, he gets an NPE
This commit is contained in:
parent
b058008523
commit
9c2115d2d2
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ public class PasswordStore extends ActionBarActivity {
|
|||
super.onBackPressed();
|
||||
}
|
||||
|
||||
if (!plist.isNotEmpty()) {
|
||||
if (null != plist && !plist.isNotEmpty()) {
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue