Add a CMSystemSettingDropDownPreference.

Change-Id: Ic3b7589fe3a33b62fba3949e968789a3a99cf9f6
This commit is contained in:
Danny Baumann
2016-11-02 13:10:00 +01:00
parent fbd5dc1b07
commit e01237ee2f
3 changed files with 140 additions and 0 deletions

View File

@@ -840,6 +840,15 @@ package cyanogenmod.preference {
method protected boolean persistBoolean(boolean);
}
public class CMSystemSettingDropDownPreference extends cyanogenmod.preference.SelfRemovingDropDownPreference {
ctor public CMSystemSettingDropDownPreference(android.content.Context, android.util.AttributeSet, int);
ctor public CMSystemSettingDropDownPreference(android.content.Context, android.util.AttributeSet);
method public int getIntValue(int);
method protected java.lang.String getPersistedString(java.lang.String);
method protected boolean isPersisted();
method protected boolean persistString(java.lang.String);
}
public class CMSystemSettingListPreference extends cyanogenmod.preference.SelfRemovingListPreference {
ctor public CMSystemSettingListPreference(android.content.Context, android.util.AttributeSet, int);
ctor public CMSystemSettingListPreference(android.content.Context, android.util.AttributeSet);
@@ -894,6 +903,15 @@ package cyanogenmod.preference {
method protected boolean persistBoolean(boolean);
}
public class SelfRemovingDropDownPreference extends DropDownPreference {
ctor public SelfRemovingDropDownPreference(android.content.Context, android.util.AttributeSet, int);
ctor public SelfRemovingDropDownPreference(android.content.Context, android.util.AttributeSet);
ctor public SelfRemovingDropDownPreference(android.content.Context);
method public boolean isAvailable();
method public void onBindViewHolder(PreferenceViewHolder);
method public void setAvailable(boolean);
}
public class SelfRemovingListPreference extends ListPreference {
ctor public SelfRemovingListPreference(android.content.Context, android.util.AttributeSet, int);
ctor public SelfRemovingListPreference(android.content.Context, android.util.AttributeSet);