Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2d654c7 authored by Tomasz Mikolajewski's avatar Tomasz Mikolajewski
Browse files

Do not crash when stack is null.

Recent regression, sorry!

Test: Tested manually.
Bug: 35053993
Change-Id: I009e060478315e51bb9f0677db09575077832f20
parent 5de2d78a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -135,7 +135,7 @@ public class SearchViewManager implements
    }
    }


    public void showMenu(@Nullable DocumentStack stack) {
    public void showMenu(@Nullable DocumentStack stack) {
        final DocumentInfo cwd = stack.peek();
        final DocumentInfo cwd = stack != null ? stack.peek() : null;


        boolean supportsSearch = true;
        boolean supportsSearch = true;