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

Commit 6bb10554 authored by Adam Powell's avatar Adam Powell
Browse files

Allow action bar navigation icon resource id of 0

Fix a bug preventing this from being treated properly.

Bug 15458868

Change-Id: Ib1a7def482755757e524dfddd1eb6a02522c5d6b
parent 263a2d65
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -569,7 +569,7 @@ public class ToolbarWidgetWrapper implements DecorToolbar {

    @Override
    public void setNavigationIcon(int resId) {
        setNavigationIcon(mToolbar.getContext().getDrawable(resId));
        setNavigationIcon(resId != 0 ? mToolbar.getContext().getDrawable(resId) : null);
    }

    @Override