Show trust option for multiple unapproved cert in chain
- Add a argument to pass user id - Check approval status of certs in WorkerThread Bug: 18224038 Change-Id: I5fd6a41e9593d0f339fecb4185331175e32c50c2
This commit is contained in:
@@ -26,6 +26,7 @@ import android.content.DialogInterface.OnClickListener;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.os.RemoteException;
|
||||
import android.os.UserHandle;
|
||||
import android.view.WindowManager;
|
||||
import android.view.WindowManagerGlobal;
|
||||
|
||||
@@ -88,6 +89,8 @@ public class MonitoringCertInfoActivity extends Activity implements OnClickListe
|
||||
Intent intent =
|
||||
new Intent(android.provider.Settings.ACTION_TRUSTED_CREDENTIALS_USER);
|
||||
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
||||
intent.putExtra(TrustedCredentialsSettings.ARG_SHOW_NEW_FOR_USER,
|
||||
UserHandle.myUserId());
|
||||
startActivity(intent);
|
||||
finish();
|
||||
}
|
||||
|
Reference in New Issue
Block a user