From 6583282013b4a77d29a097a3afb6e9b719b51efa Mon Sep 17 00:00:00 2001 From: AdarshGrewal Date: Sat, 5 Feb 2022 21:37:22 +0530 Subject: [PATCH] google_pixel: Make Pixel Launcher use the OSS ThemePicker Change-Id: I363bc022b44ed5fb3dad6d7702068988cfcb36a6 --- overlays/NexusLauncherOverlay/Android.bp | 10 ++++++++++ overlays/NexusLauncherOverlay/AndroidManifest.xml | 6 ++++++ overlays/NexusLauncherOverlay/res/values/config.xml | 5 +++++ product.mk | 4 ++++ 4 files changed, 25 insertions(+) create mode 100644 overlays/NexusLauncherOverlay/Android.bp create mode 100644 overlays/NexusLauncherOverlay/AndroidManifest.xml create mode 100644 overlays/NexusLauncherOverlay/res/values/config.xml diff --git a/overlays/NexusLauncherOverlay/Android.bp b/overlays/NexusLauncherOverlay/Android.bp new file mode 100644 index 0000000..1700876 --- /dev/null +++ b/overlays/NexusLauncherOverlay/Android.bp @@ -0,0 +1,10 @@ +// +// Copyright (C) 2020-2021 The LineageOS Project +// +// SPDX-License-Identifier: Apache-2.0 +// + +runtime_resource_overlay { + name: "NexusLauncherOverlay", + product_specific: true, +} diff --git a/overlays/NexusLauncherOverlay/AndroidManifest.xml b/overlays/NexusLauncherOverlay/AndroidManifest.xml new file mode 100644 index 0000000..c12787f --- /dev/null +++ b/overlays/NexusLauncherOverlay/AndroidManifest.xml @@ -0,0 +1,6 @@ + + + diff --git a/overlays/NexusLauncherOverlay/res/values/config.xml b/overlays/NexusLauncherOverlay/res/values/config.xml new file mode 100644 index 0000000..75ede44 --- /dev/null +++ b/overlays/NexusLauncherOverlay/res/values/config.xml @@ -0,0 +1,5 @@ + + + com.android.wallpaper + diff --git a/product.mk b/product.mk index 74184d7..3e2de46 100644 --- a/product.mk +++ b/product.mk @@ -34,6 +34,10 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ setupwizard.feature.show_pixel_tos=true \ setupwizard.feature.skip_button_use_mobile_data.carrier1839=true +# Pixel Theme Picker +PRODUCT_PACKAGES += \ + NexusLauncherOverlay + # Artifact Path Exclusions PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \ system/app/GoogleExtShared/GoogleExtShared.apk \