diff options
author | Hai Shalom <haishalom@google.com> | 2020-12-03 23:54:28 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-12-03 23:54:28 +0000 |
commit | 3e2045d2b4e89ff44f7085c39704bbe6a3aebadf (patch) | |
tree | a89dfc75687415cf25535c116243071fd37b4aa2 /wifi | |
parent | e902a646ce0994f2cc6eb636c881c01d1393c991 (diff) | |
parent | a3767c21550eba1ca053e8aea40fc064187bf326 (diff) |
Merge "Make app installed cert flags persistent" into mainline-prod am: a3767c2155
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12829570
Change-Id: I6ce56a285fdea03c1b685ac3f2f193adf3417058
Diffstat (limited to 'wifi')
-rw-r--r-- | wifi/java/android/net/wifi/WifiEnterpriseConfig.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/wifi/java/android/net/wifi/WifiEnterpriseConfig.java b/wifi/java/android/net/wifi/WifiEnterpriseConfig.java index 90edc4523b7b..e127ea99c716 100644 --- a/wifi/java/android/net/wifi/WifiEnterpriseConfig.java +++ b/wifi/java/android/net/wifi/WifiEnterpriseConfig.java @@ -1335,6 +1335,16 @@ public class WifiEnterpriseConfig implements Parcelable { } /** + * Initialize the value of the app installed device key and cert flag. + * + * @param isAppInstalledDeviceKeyAndCert true or false + * @hide + */ + public void initIsAppInstalledDeviceKeyAndCert(boolean isAppInstalledDeviceKeyAndCert) { + mIsAppInstalledDeviceKeyAndCert = isAppInstalledDeviceKeyAndCert; + } + + /** * Check if CA certificate was installed by an app, or manually (not by an app). If true, * CA certificate will be removed from key storage when this network is removed. If not, * then certificates and keys remain persistent until the user manually removes them. @@ -1348,6 +1358,16 @@ public class WifiEnterpriseConfig implements Parcelable { } /** + * Initialize the value of the app installed root CA cert flag. + * + * @param isAppInstalledCaCert true or false + * @hide + */ + public void initIsAppInstalledCaCert(boolean isAppInstalledCaCert) { + mIsAppInstalledCaCert = isAppInstalledCaCert; + } + + /** * Set the OCSP type. * @param ocsp is one of {@link ##OCSP_NONE}, {@link #OCSP_REQUEST_CERT_STATUS}, * {@link #OCSP_REQUIRE_CERT_STATUS} or |