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

Commit 00abe511 authored by Hawkwood Glazier's avatar Hawkwood Glazier
Browse files

Access Hidden SystemApis from libtorus

Bug: 364656281
Test: Rebuilt and flashed system image
Flag: NONE Soong build change
Change-Id: I502bc2bf390227f92de71c7b4e5f8ec34978b830
parent 0855cef0
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -47,7 +47,5 @@ android_library {
    optimize: {
        enabled: true,
    },
    min_sdk_version: "31",
    sdk_version: "system_current",
    platform_apis: true,
}
+1 −1
Original line number Diff line number Diff line
@@ -409,7 +409,7 @@ abstract class LiveWallpaper : WallpaperService() {
        /**
         * This is overriding a hidden API [WallpaperService.shouldZoomOutWallpaper].
         */
        fun shouldZoomOutWallpaper(): Boolean {
        override fun shouldZoomOutWallpaper(): Boolean {
            if (wallpaperEngine is LiveWallpaperEventListener) {
                return (wallpaperEngine as LiveWallpaperEventListener).shouldZoomOutWallpaper()
            }
+2 −2
Original line number Diff line number Diff line
@@ -46,8 +46,7 @@ android_app {
    name: "WeatherEffectsDebug",
    manifest: "debug/AndroidManifest.xml",
    owner: "google",
    sdk_version: "system_current",
    min_sdk_version: "34",
    platform_apis: true,
    srcs: [
        "src/**/*.java",
        "src/**/*.kt",
@@ -89,6 +88,7 @@ android_test {
    manifest: "AndroidManifest.xml",
    test_suites: ["general-tests"],
    sdk_version: "current",
    owner: "google",
    srcs: [
        "tests/src/**/*.java",
        "tests/src/**/*.kt",