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

Commit a1b8347a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Import the window extension libary in the Settings app" into sc-v2-dev

parents 3d7b3abf c6e44c0e
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -73,6 +73,7 @@ android_library {
        "android.hardware.dumpstate-V1.0-java",
        "android.hardware.dumpstate-V1.1-java",
        "lottie",
        "windowExtLib",
    ],

    libs: [
@@ -101,6 +102,10 @@ android_app {
    ],
    static_libs: ["Settings-core"],
    uses_libs: ["org.apache.http.legacy"],
    optional_uses_libs: [
        "androidx.window.extensions",
        "androidx.window.sidecar",
    ],
    resource_dirs: [],
    optimize: {
        proguard_flags_files: ["proguard.flags"],
@@ -112,6 +117,11 @@ android_library_import {
    aars: ["libs/contextualcards.aar"],
}

android_library_import {
    name: "windowExtLib",
    aars: ["libs/window_ext_lib.aar"],
}

filegroup {
    name: "Settings_proguard_flags",
    srcs: ["proguard.flags"],
+4 −1
Original line number Diff line number Diff line
@@ -121,6 +121,9 @@
            android:appComponentFactory="androidx.core.app.CoreComponentFactory">

        <uses-library android:name="org.apache.http.legacy"/>
        <uses-library android:name="androidx.window.extensions" android:required="false"/>
        <uses-library android:name="androidx.window.sidecar" android:required="false"/>

        <!-- Settings -->

        <activity android:name=".homepage.SettingsHomepageActivity"
+159 KiB

File added.

No diff preview for this file type.

+4 −0
Original line number Diff line number Diff line
@@ -66,3 +66,7 @@
-keepclasseswithmembers class * extends com.android.settings.slices.SliceBackgroundWorker {
    public <init>(android.content.Context, android.net.Uri);
}

# Keep WM Jetpack classes and callbacks
-keep class androidx.window.** { *; }
-dontwarn androidx.window.extensions.**