summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEran Messeri <eranm@google.com>2018-06-22 12:56:44 +0100
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-06-26 23:44:25 +0000
commitd62837ea7d41be3c6f77a2ddbb54837ce052e3d3 (patch)
tree6ca03ab75a2170df8e038d58f5207d3ef67d23bc
parent42c78cb65dbe315c50236fe1a11dfaf40fef2534 (diff)
downloadnative-pie-release-2.tar.gz
AOSP builds have different product & brand values than the ones flashed onto the device's Keymaster in the factory. As a result, Device ID attestation will not work on them correctly because there is a mismatch between the values sent to Keymaster by the platform and the values Keymaster is expecting to attest to. Mark AOSP builds as not having this feature since it would affect all AOSP builds on all devices. Bug: 110361822 Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testKeyManagement Change-Id: I55e7c68b3e082af465c19cf18aeeeecffc4eb356 (cherry picked from commit 4260ee9282f9666821dbdb4e7dda6c65f605a6b2)
-rw-r--r--data/etc/aosp_excluded_hardware.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/etc/aosp_excluded_hardware.xml b/data/etc/aosp_excluded_hardware.xml
index 013f278f34..c12f4358c5 100644
--- a/data/etc/aosp_excluded_hardware.xml
+++ b/data/etc/aosp_excluded_hardware.xml
@@ -18,4 +18,5 @@
<!-- This should be used to exclude this feature from aosp targets. As aosp configurations
may or may not have a valid location provider -->
<unavailable-feature name="android.hardware.location.network" />
+ <unavailable-feature name="android.software.device_id_attestation" />
</permissions>