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

Commit 30f9ba0d authored by Andrii Kulian's avatar Andrii Kulian Committed by Jeevan Prasath
Browse files

Move reference WM Sidecar impl to system_ext

Placing the reference implementation in /vendor partition tirggers
UnofficialApisUsageTest failures due to hidden API use in the sample.
Moving it to system_ext should resolve this issue.

Bug: 167214265
Test: com.android.gts.api.UnofficialApisUsageTest#testNonApiReferences
Change-Id: I628fd0e00558208a3af26ecf02b82a3cedad8011
(cherry picked from commit 4ebadc80)
parent 85f5802b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -24,14 +24,14 @@ java_library {
    static_libs: ["window-sidecar"],
    installable: true,
    sdk_version: "core_platform",
    vendor: true,
    system_ext_specific: true,
    libs: ["framework", "androidx.annotation_annotation",],
    required: ["androidx.window.sidecar.xml",],
}

prebuilt_etc {
    name: "androidx.window.sidecar.xml",
    vendor: true,
    system_ext_specific: true,
    sub_dir: "permissions",
    src: "androidx.window.sidecar.xml",
    filename_from_src: true,
+1 −1
Original line number Diff line number Diff line
@@ -17,5 +17,5 @@
<permissions>
    <library
        name="androidx.window.sidecar"
        file="/vendor/framework/androidx.window.sidecar.jar"/>
        file="/system_ext/framework/androidx.window.sidecar.jar"/>
</permissions>