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

Commit e1f9d977 authored by Justin Yun's avatar Justin Yun
Browse files

Define android.software.credentials.xml as prebuilt_etc

Instead of using PRODUCT_COPY_FILES to copy a source file to install,
define a prebuilt_etc module and add it to the PRODUCT_PACKAGES.
android.software.credentials.xml is to be installed in system for
GSI.

Bug: 345373198
Test: See if android.software.credentials.xml is installed in
      system/etc/permissions
Change-Id: Ib9f030e1e0ff6db55a6e07444943407f9ff1c1df
parent 8a56df68
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -370,6 +370,14 @@ prebuilt_etc {
    defaults: ["frameworks_native_data_etc_defaults"],
}

// installed in system for GSI
prebuilt_etc {
    name: "android.software.credentials.prebuilt.xml",
    relative_install_path: "permissions",
    src: "android.software.credentials.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "android.software.device_id_attestation.prebuilt.xml",
    src: "android.software.device_id_attestation.xml",