use of android.app.trust.TrustManager in project android_packages_apps_Settings by DirtyUnicorns.
the class ConfirmDeviceCredentialBaseFragment method onAuthenticated.
@Override
public void onAuthenticated() {
// Check whether we are still active.
if (getActivity() != null && getActivity().isResumed()) {
TrustManager trustManager = (TrustManager) getActivity().getSystemService(Context.TRUST_SERVICE);
trustManager.setDeviceLockedForUser(mEffectiveUserId, false);
authenticationSucceeded();
checkForPendingIntent();
}
}
use of android.app.trust.TrustManager in project android_packages_apps_Settings by crdroidandroid.
the class ConfirmDeviceCredentialBaseFragment method onAuthenticated.
@Override
public void onAuthenticated() {
// Check whether we are still active.
if (getActivity() != null && getActivity().isResumed()) {
TrustManager trustManager = (TrustManager) getActivity().getSystemService(Context.TRUST_SERVICE);
trustManager.setDeviceLockedForUser(mEffectiveUserId, false);
authenticationSucceeded();
checkForPendingIntent();
}
}
Aggregations