commit | 29e4bbf0e2d41ab13b421515f2197a97e247cfc4 | [log] [tgz] |
---|---|---|
author | William Loh <wloh@google.com> | Thu May 09 16:40:06 2024 -0700 |
committer | William Loh <wloh@google.com> | Wed May 15 15:27:02 2024 -0700 |
tree | 8a41257cd4b1452539dfc38e2bf4816cb1167297 | |
parent | 6b591573cfdecea1f36410d087a7a1e3715aa903 [diff] |
Extract ASL-in-APK as a raw resource To embed the app metadata bundle in the apk, it must be included as a raw resource in the APK (i.e. "res/raw/app-metdata") The android manifest must also define a property with app metadata resource: <property android:name="android.content.PROPERTY_ANDROID_SAFETY_LABEL" android:resource="@raw/app-metadata"/> Bug: 338418504 Test: atest InstallAppMetadataTest Flag: NONE Change-Id: Ic5b4995045db3e24c0f2c995f2903c6df12dc797