Update settings PrimarySwitchPreference reference

To make InputMethodPreference support 2 target
reference, CL[1] move the PrimarySwitchPreference
into SettingsLib.

Change all PrimarySwitchPreference reference to
Settingslib one and remove the original one.

[1]: Idea3935d95b8d22b00ca89313e9eb3e979e4aa74

Bug: 197705032
Test: Presubmit
Change-Id: I95d111522344bb7cbdd380382e48fe60a5ebc9a2
This commit is contained in:
Wilson Wu
2021-08-27 10:19:56 +08:00
parent 1fca55dd68
commit 9edf79741d
36 changed files with 37 additions and 394 deletions

View File

@@ -20,8 +20,8 @@ import androidx.preference.TwoStatePreference;
import com.android.settings.overlay.FeatureFactory;
import com.android.settings.slices.SliceData;
import com.android.settings.widget.PrimarySwitchPreference;
import com.android.settings.widget.TwoStateButtonPreference;
import com.android.settingslib.PrimarySwitchPreference;
/**
* Abstract class that consolidates logic for updating toggle controllers.