cmsdk: preference: Add SecureSettingSwitchPreference

We may need to store/retrieve secure settings in some cases.

Change-Id: Ibf329652d8d057485e39060c956846755c3a91d2
This commit is contained in:
Zhao Wei Liew
2016-10-13 18:48:25 +08:00
parent f4cd277473
commit 5d787c24d0
2 changed files with 72 additions and 0 deletions

View File

@@ -898,6 +898,15 @@ package cyanogenmod.preference {
method protected boolean persistBoolean(boolean);
}
public class SecureSettingSwitchPreference extends cyanogenmod.preference.SelfRemovingSwitchPreference {
ctor public SecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int);
ctor public SecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet);
ctor public SecureSettingSwitchPreference(android.content.Context);
method protected boolean getPersistedBoolean(boolean);
method protected boolean isPersisted();
method protected boolean persistBoolean(boolean);
}
}
package cyanogenmod.profiles {