Java Code Examples for android.provider.Settings#ACTION_SECURITY_SETTINGS

The following examples show how to use android.provider.Settings#ACTION_SECURITY_SETTINGS . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AppProtectionPreferenceFragment.java    From deltachat-android with GNU General Public License v3.0 6 votes vote down vote up
@Override
public boolean onPreferenceClick(Preference preference) {
    Intent intent = new Intent(Settings.ACTION_SECURITY_SETTINGS);
    startActivity(intent);
    return true;
}
 
Example 2
Source File: FingerprintUtils.java    From FingerprintDialogCompat with Apache License 2.0 2 votes vote down vote up
/**
 * Open the Security settings screen.
 *
 * @param context instance of the caller.
 */
public static void openSecuritySettings(@NonNull final Context context) {
    Intent intent = new Intent(Settings.ACTION_SECURITY_SETTINGS);
    context.startActivity(intent);
}
 
Example 3
Source File: Utils.java    From PasscodeView with Apache License 2.0 2 votes vote down vote up
/**
 * Open the Security settings screen. This settings screen will allow user to register finger
 * prints.
 *
 * @param context instance of the caller.
 */
@SuppressWarnings("WeakerAccess")
public static void openSecuritySettings(@NonNull Context context) {
    Intent intent = new Intent(Settings.ACTION_SECURITY_SETTINGS);
    context.startActivity(intent);
}