Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d54a57f5 authored by Kenny Root's avatar Kenny Root Committed by Android (Google) Code Review
Browse files

Merge "Use the correct package name for CHOOSER"

parents ecaa91f8 a365906e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -88,6 +88,11 @@ public final class KeyChain {
     */
    public static final String ACCOUNT_TYPE = "com.android.keychain";

    /**
     * Package name for KeyChain chooser.
     */
    private static final String KEYCHAIN_PACKAGE = "com.android.keychain";

    /**
     * Action to bring up the KeyChainActivity
     */
@@ -272,7 +277,7 @@ public final class KeyChain {
            throw new NullPointerException("response == null");
        }
        Intent intent = new Intent(ACTION_CHOOSER);
        intent.setPackage(CERT_INSTALLER_PACKAGE);
        intent.setPackage(KEYCHAIN_PACKAGE);
        intent.putExtra(EXTRA_RESPONSE, new AliasResponse(response));
        intent.putExtra(EXTRA_HOST, host);
        intent.putExtra(EXTRA_PORT, port);