mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-16 15:02:54 +00:00
Check if searchView is not null before closing it in onLocked
This fixes a crash we've been seeing in the Google Play Console
This commit is contained in:
parent
eb22101b02
commit
68eb87b096
1 changed files with 1 additions and 2 deletions
|
@ -59,7 +59,6 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class MainActivity extends AegisActivity implements EntryListView.Listener {
|
||||
// activity request codes
|
||||
|
@ -753,7 +752,7 @@ public class MainActivity extends AegisActivity implements EntryListView.Listene
|
|||
if (_actionMode != null) {
|
||||
_actionMode.finish();
|
||||
}
|
||||
if (!_searchView.isIconified()) {
|
||||
if (_searchView != null && !_searchView.isIconified()) {
|
||||
collapseSearchView();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue