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

Commit 784a18ea authored by Winson Chung's avatar Winson Chung
Browse files

Remove old logic from tinting prototype

- We support tinting in all orientations now

Bug: 132699171
Test: Rotate to landscape, ensure that the nav bar continues to update
Change-Id: I0fa71a693ed61092c1ac4137691334fd28b250e0
parent 28706f02
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -967,12 +967,6 @@ public class NavigationBarView extends FrameLayout implements
            // If car mode or density changes, we need to reset the icons.
            updateNavButtonIcons();
        }

        if (newConfig.orientation == Configuration.ORIENTATION_PORTRAIT) {
            mTintController.start();
        } else {
            mTintController.stop();
        }
    }

    /**