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

Commit c4b416f1 authored by Adam Powell's avatar Adam Powell
Browse files

Fix a bug in querying showing state for action bars

Bug 14492418

Change-Id: I8d24fd90a8d4004ace186f5ce84ba68fc8419307
parent 4d7c0171
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -576,7 +576,7 @@ public class ActionBarOverlayLayout extends ViewGroup {
    }

    public int getActionBarHideOffset() {
        return -((int) mActionBarTop.getTranslationY());
        return mActionBarTop != null ? -((int) mActionBarTop.getTranslationY()) : 0;
    }

    public void setActionBarHideOffset(int offset) {