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

Commit 3cc78273 authored by Bruno Martins's avatar Bruno Martins
Browse files

DisplayRotation: Use new method to listen for preference changes

Usage of addOnSwitchChangeListener(OnCheckedChangeListener) is
deprecated. The Javadoc explicitly says:

  Use setOnPreferenceChangeListener(OnPreferenceChangeListener) instead.

Change-Id: I7a31cbdb8b68fc9e851c040f6b056bf7bfa5d2a8
parent f74caaf2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment