@Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Bundle bundle = getIntent().getExtras();
        if (bundle == null) {
            finish();
            return;
        }
        Intent intent = KeyChain.createInstallIntent();
        intent.putExtras(bundle);
        try {
            startActivityForResult(intent, REQUEST_CODE_INSTALL);
        } catch (ActivityNotFoundException e) {
            NetBareLog.e("Unable to start certificate installer.");
            finish();
        }
    }
A translucent activity uses to install self-signed certificate.

@author Megatron King
@since 2018-11-10 21:18
netbare-core/src/main/java/com/github/megatronking/netbare/ssl/CertificateInstallActivity.java