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

Commit 6def4f90 authored by Mac Duy Hai's avatar Mac Duy Hai
Browse files

Add method to retrieve search box bounds.

Change-Id: I67893f00990053415453490034ea7066d9f0f3b6
parent 6400b84d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4023,6 +4023,11 @@ public class Launcher extends Activity
                getDeviceProfile().isVerticalBarLayout();
    }

    protected Rect getSearchBarBounds() {
        return LauncherAppState.getInstance().getDynamicGrid().
                getDeviceProfile().getSearchBarBounds();
    }

    @Override
    public void bindSearchablesChanged() {
        boolean searchVisible = updateGlobalSearchIcon();