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

Commit 18ad0c49 authored by Tsung-Mao Fang's avatar Tsung-Mao Fang
Browse files

Import the window extension libary in the Settings app

Test: Rebuilt apk and run apk successfully.
Bug: 196939216
Change-Id: If9040ae9a1c72097e4964c8d40ea9785cf2f01dc
parent b7680ac2
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -74,6 +74,7 @@ android_library {
        "android.hardware.dumpstate-V1.1-java",
        "lottie",
        "WifiTrackerLib",
        "windowExtLib",
    ],

    libs: [
@@ -102,6 +103,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"],
@@ -113,6 +118,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"],
+1 −0
Original line number Diff line number Diff line
@@ -122,6 +122,7 @@
            android:appComponentFactory="androidx.core.app.CoreComponentFactory">

        <uses-library android:name="org.apache.http.legacy" />

        <!-- Settings -->

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

File added.

No diff preview for this file type.

+5 −0
Original line number Diff line number Diff line
@@ -66,3 +66,8 @@
-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.extensions.** { *; }
-dontwarn androidx.window.extensions.**
-keep class androidx.window.** { *; }