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

Commit a27eb12b authored by Omar Miatello's avatar Omar Miatello
Browse files

Make "mechanics" module compiles against public APIs

Test: Manually tested on the demo app
Bug: 419520966
Flag: com.android.systemui.scene_container
Change-Id: I519dc894a999aa850abcaa3e8f3c3caeb1a20860
parent deb0526d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -20,7 +20,8 @@ package {
android_library {
    name: "mechanics",
    manifest: "AndroidManifest.xml",
    sdk_version: "system_current",
    // sdk_version must be specified, otherwise it compiles against private APIs.
    sdk_version: "current",
    min_sdk_version: "31",
    static_libs: [
        "androidx.compose.runtime_runtime",
+3 −1
Original line number Diff line number Diff line
@@ -24,8 +24,10 @@ android_library {
        "src/**/*.kt",
    ],
    static_libs: [
        "PlatformComposeCore",
        // Private APIs
        "PlatformComposeSceneTransitionLayout",

        // Public APIs
        "//frameworks/libs/systemui/mechanics:mechanics",
        "androidx.compose.runtime_runtime",
    ],