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

Skip to content
Commit efe45ee4 authored by William Loh's avatar William Loh
Browse files

Signal ASL in APK with manifest property

When bundling ASL in the APK by including a app.metadata file in assets,
the manifest must include an application property tag defining the path
of the file in the APK:

    <property android:name="android.content.SAFETY_LABEL_PATH"
    		android:value="some/path/filename" />

If this file is not found then the app metadata source will be set to
APP_METADATA_SOURCE_UNKNOWN and no ASL will be available for the app.

Bug: 329022140
Test: atest InstallAppMetadataTest
Test: atest AndroidPackageTest
Change-Id: I7646ea3fcc92d30f5b4f6f072e558e04a097978f
parent dc5c05a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment