Merge "Update reference in comment with location of MediaDefs.cpp"
diff --git a/keystore2/aidl/aidl_api/android.system.keystore2/current/android/system/keystore2/ResponseCode.aidl b/keystore2/aidl/aidl_api/android.system.keystore2/current/android/system/keystore2/ResponseCode.aidl
index bbeb5d2..23f535e 100644
--- a/keystore2/aidl/aidl_api/android.system.keystore2/current/android/system/keystore2/ResponseCode.aidl
+++ b/keystore2/aidl/aidl_api/android.system.keystore2/current/android/system/keystore2/ResponseCode.aidl
@@ -47,4 +47,5 @@
   INVALID_ARGUMENT = 20,
   TOO_MUCH_DATA = 21,
   OUT_OF_KEYS = 22,
+  OUT_OF_KEYS_REQUIRES_UPGRADE = 23,
 }
diff --git a/keystore2/aidl/android/system/keystore2/ResponseCode.aidl b/keystore2/aidl/android/system/keystore2/ResponseCode.aidl
index f23b8d8..d815d4e 100644
--- a/keystore2/aidl/android/system/keystore2/ResponseCode.aidl
+++ b/keystore2/aidl/android/system/keystore2/ResponseCode.aidl
@@ -87,4 +87,13 @@
      * available. This can be thrown during attempts to generate a key.
      */
     OUT_OF_KEYS = 22,
+
+    /**
+     * This device needs a software update as it may contain potentially vulnerable software.
+     * This error is returned only on devices that rely solely on remotely-provisioned keys (see
+     * <a href=
+     * "https://android-developers.googleblog.com/2022/03/upgrading-android-attestation-remote.html"
+     * >Remote Key Provisioning</a>).
+     */
+    OUT_OF_KEYS_REQUIRES_UPGRADE = 23,
 }