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

Commit 4619b2a3 authored by Justin Yun's avatar Justin Yun Committed by Android Build Coastguard Worker
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
(cherry picked from https://android-review.googlesource.com/q/commit:e1f9d9778f80c498b6c6747157006302224e652f)
Merged-In: Ib9f030e1e0ff6db55a6e07444943407f9ff1c1df
Change-Id: Ib9f030e1e0ff6db55a6e07444943407f9ff1c1df
parent 5601165b
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -376,6 +376,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",