xref: /aosp_15_r20/system/apex/shim/build/AndroidManifestInstallConstraints_no_value.xml (revision 33f3758387333dbd2962d7edbd98681940d895da)
1*33f37583SAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*33f37583SAndroid Build Coastguard Worker<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3*33f37583SAndroid Build Coastguard Worker          package="com.android.apex.cts.shim">
4*33f37583SAndroid Build Coastguard Worker    <!-- APEX does not have classes.dex -->
5*33f37583SAndroid Build Coastguard Worker    <application android:hasCode="false"/>
6*33f37583SAndroid Build Coastguard Worker    <install-constraints>
7*33f37583SAndroid Build Coastguard Worker        <!-- PackageManager will allow installation if at least one of the fingerprint-prefixes
8*33f37583SAndroid Build Coastguard Worker             matches the build fingerprint of a device.
9*33f37583SAndroid Build Coastguard Worker             Since one of them is an empty string, the apex with these constraints can be installed
10*33f37583SAndroid Build Coastguard Worker             on all devices as long as the packagename is allowlisted by the system.
11*33f37583SAndroid Build Coastguard Worker         -->
12*33f37583SAndroid Build Coastguard Worker        <fingerprint-prefix android:value="does/not/exist"/>
13*33f37583SAndroid Build Coastguard Worker        <fingerprint-prefix android:value=""/>
14*33f37583SAndroid Build Coastguard Worker    </install-constraints>
15*33f37583SAndroid Build Coastguard Worker</manifest>
16