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

Commit 6d9989ce authored by Brandon McAnsh's avatar Brandon McAnsh Committed by Gerrit Code Review
Browse files

NavigationBarView: Set buttonWithTagVisibility for Search



* a67d3509 set this correctly for home, recent, and back, but neglected Search which leaves it
     visible on secure lockscreen during pin/password entry.
* Set the button with tag visibility so it is hidden with the rest of the buttons

OSS-JIRA : NIGHTLIES-1476

Change-Id: I64b7ca216e04ae2509fa8048544ab3b47aef32ab
Signed-off-by: default avatarBrandon McAnsh <brandon.mcansh@gmail.com>
parent 773e1f86
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -504,6 +504,7 @@ public class NavigationBarView extends LinearLayout {
        setButtonWithTagVisibility(NavbarEditor.NAVBAR_BACK, !disableBack);
        setButtonWithTagVisibility(NavbarEditor.NAVBAR_HOME, !disableHome);
        setButtonWithTagVisibility(NavbarEditor.NAVBAR_RECENT, !disableRecent);
        setButtonWithTagVisibility(NavbarEditor.NAVBAR_SEARCH, !disableSearch);

        mBarTransitions.applyBackButtonQuiescentAlpha(mBarTransitions.getMode(), true /*animate*/);
    }