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

Commit 77d95e0d authored by Michael Bestas's avatar Michael Bestas Committed by Bruno Martins
Browse files

Update for QPR2 setRotationLockForAccessibility API change

Change-Id: Icd0f32503e8bebdce9567b26f4e09fb100e5a238
parent 4fb2ea46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -127,7 +127,7 @@ public class DisplayRotation extends SettingsPreferenceFragment
    @Override
    public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
        RotationPolicy.setRotationLockForAccessibility(requireActivity(),
                !mAccelerometer.isChecked());
                !mAccelerometer.isChecked(), /* caller= */ "DisplayRotation");
    }

    public static final SummaryProvider SUMMARY_PROVIDER = (context, key) -> {