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

Commit 50c80277 authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Use existing content resolver

See b/153347449 for possible
future changes

Fixes: 153338799
Change-Id: I1cc918742ded98d44adfd44b5e6e247f2b71b6a7
parent fc294e86
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -635,7 +635,7 @@ public class NavigationBarFragment extends LifecycleFragment implements Callback
    }

    private void updatedFixedRotation() {
        mFixedRotationEnabled = Settings.Global.getInt(getContext().getContentResolver(),
        mFixedRotationEnabled = Settings.Global.getInt(mContentResolver,
                FIXED_ROTATION_TRANSFORM_SETTING_NAME, 0) != 0;
        if (!canShowSecondaryHandle()) {
            resetSecondaryHandle();