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

Commit caef4f80 authored by Alex Johnston's avatar Alex Johnston
Browse files

WiFi certificates installable from Wifi sub-preference

Updated the intent to use certificate_install_usage as the extra
instead of install_as_uid.

Bug: 147473033
Test: manual testing
Change-Id: Ic2df3c3c3dc213b8761282d64bde528c1616c44a
parent 65b29905
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -51,10 +51,12 @@
    <Preference
        android:key="install_credentials"
        android:title="@string/wifi_install_credentials">
        <intent android:action="android.credentials.INSTALL_AS_USER"
        <intent
            android:action="android.credentials.INSTALL"
            android:targetPackage="com.android.certinstaller"
            android:targetClass="com.android.certinstaller.CertInstallerMain">
            <extra android:name="install_as_uid" android:value="1010" />
            <!-- Same value as CERTIFICATE_USAGE_WIFI in keystore/java/android/security/Credentials.java -->
            <extra android:name="certificate_install_usage" android:value="wifi"/>
        </intent>
    </Preference>