Fix XML preference controller with androidx LifecycleObserver
Controller can implements LifecycleObserver to observe the lifecycle. Before this fix, preference controller which defined in the XML file must implement com.android.settingslib.core.lifecycle.LifecycleObserver (which is deprecated, and is a subclass of androidx.lifecycle.LifecycleObserver). After this fix, preference controller which defined in the XML file and implemented androidx.lifecycle.LifecycleObserver will successful observe the lifecycle. Fix: 149338098 Test: robotest & manual Change-Id: If9e48e44267de8e89a5e8f45d256719130936320
Loading
Please register or sign in to comment