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

Commit 6bbb3dc8 authored by Michael Bestas's avatar Michael Bestas
Browse files

Backgrounds: Use 1440p wallpapers for all devices

Change-Id: I1efa35b6fde58c7367f57adac7350bce5b25b6df
parent 92b01e54
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -8,12 +8,6 @@ include $(CLEAR_VARS)

LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res

ifeq ($(shell test $(TARGET_SCREEN_WIDTH) -gt 1080; echo $$?),0)
LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res_1440p
else
LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res_1080p
endif

LOCAL_USE_AAPT2 := true

LOCAL_PACKAGE_NAME := Backgrounds
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ SPDX-PackageSupplier = "The LineageOS Project"
SPDX-PackageDownloadLocation = "https://github.com/LineageOS/android_packages_apps_Backgrounds"

[[annotations]]
path = ["res_1080p/drawable-nodpi/*.jpg", "res_1440p/drawable-nodpi/*.jpg"]
path = ["res/drawable-nodpi/*.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2022 The LineageOS Project"
SPDX-License-Identifier = "Apache-2.0"
+2 −3
Original line number Diff line number Diff line
#!/usr/bin/env python3
#
# SPDX-FileCopyrightText: 2020-2023 The LineageOS Project
# SPDX-FileCopyrightText: 2020-2024 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#

@@ -10,8 +10,7 @@ from PIL import Image

path = os.path.dirname(os.path.realpath(__file__))

resources = ["res_1080p/drawable-nodpi",
             "res_1440p/drawable-nodpi"]
resources = ["res/drawable-nodpi"]

def generate_smallvariants(resource):
    global path
Loading