Update: attempt to add monet
This commit is contained in:
@@ -99,6 +99,15 @@ PRODUCT_COPY_FILES += \
|
||||
PRODUCT_PACKAGES += \
|
||||
pawlet-framework-res-overlay
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Monet / Material You — ThemePicker + Wallpaper & style
|
||||
# ---------------------------------------------------------------------------
|
||||
# ThemePicker (com.android.wallpaper) is added per-device product mk file.
|
||||
# This overlay enables Monet color scheme, icon shape, font, and dark mode
|
||||
# sections inside the app.
|
||||
PRODUCT_PACKAGES += \
|
||||
ThemePickerPawletOverlay
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Version properties
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
// Copyright (C) 2025-2026 oxmc / PawletOS
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Runtime resource overlay for the AOSP ThemePicker / WallpaperPicker2 app.
|
||||
// Package name for the combined ThemePicker+WallpaperPicker2 binary is
|
||||
// com.android.wallpaper. This overlay enables Monet color scheme selection,
|
||||
// icon shape picker, font style picker, and dark mode toggle for PawletOS.
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "ThemePickerPawletOverlay",
|
||||
package_name: "me.pawlet.overlay.themepicker",
|
||||
target_package_name: "com.android.wallpaper",
|
||||
category: "android.theme",
|
||||
resource_dirs: ["res"],
|
||||
product_specific: true,
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025-2026 oxmc / PawletOS
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="me.pawlet.overlay.themepicker">
|
||||
|
||||
<overlay
|
||||
android:targetPackage="com.android.wallpaper"
|
||||
android:category="android.theme"
|
||||
android:isStatic="true"
|
||||
android:priority="1" />
|
||||
|
||||
<application
|
||||
android:label="PawletOS ThemePicker Overlay"
|
||||
android:hasCode="false" />
|
||||
|
||||
</manifest>
|
||||
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025-2026 oxmc / PawletOS
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
PawletOS configuration overlay for com.android.wallpaper (ThemePicker +
|
||||
WallpaperPicker2 combined binary). Enables Monet Material You sections,
|
||||
icon shape picker, font picker, and dark mode toggle.
|
||||
|
||||
Resource names are sourced from:
|
||||
packages/apps/ThemePicker/res/values/flags.xml
|
||||
packages/apps/WallpaperPicker2/res/values/flags.xml
|
||||
Verify names against your exact AOSP android-16.0 checkout if a build
|
||||
error occurs — aconfig flag names are stable but XML fallback names may
|
||||
differ by exact release tag.
|
||||
-->
|
||||
<resources>
|
||||
|
||||
<!-- ------------------------------------------------------------------ -->
|
||||
<!-- Monet / Material You color scheme section -->
|
||||
<!-- ------------------------------------------------------------------ -->
|
||||
|
||||
<!-- Enable the Monet dynamic color scheme picker section in ThemePicker -->
|
||||
<bool name="flag_monet">true</bool>
|
||||
|
||||
<!-- Default color scheme algorithm. Values (from SystemUI Style enum):
|
||||
TONAL_SPOT (0) — default Material You
|
||||
VIBRANT (1) — high-saturation variant
|
||||
EXPRESSIVE (2) — expressive variant
|
||||
SPRITZ (3) — muted/desaturated
|
||||
RAINBOW (4) — rainbow multi-hue
|
||||
FRUIT_SALAD (5) — dual-hue accent
|
||||
-->
|
||||
<integer name="config_default_color_scheme_style">0</integer><!-- TONAL_SPOT -->
|
||||
|
||||
<!-- Show the "Color and style" section (color scheme + accent options) -->
|
||||
<bool name="flag_monochromatic_theme">true</bool>
|
||||
|
||||
<!-- ------------------------------------------------------------------ -->
|
||||
<!-- Wallpaper picker -->
|
||||
<!-- ------------------------------------------------------------------ -->
|
||||
|
||||
<!-- Enable WallpaperPicker2 v2 UI (full-screen preview + crop) -->
|
||||
<bool name="flag_wallpaper_picker_v2_enabled">true</bool>
|
||||
|
||||
<!-- ------------------------------------------------------------------ -->
|
||||
<!-- Icon shape picker -->
|
||||
<!-- ------------------------------------------------------------------ -->
|
||||
|
||||
<!-- Show the "App grid" / icon shape customization section -->
|
||||
<bool name="flag_custom_themed_icon">true</bool>
|
||||
|
||||
<!-- ------------------------------------------------------------------ -->
|
||||
<!-- Font style picker -->
|
||||
<!-- ------------------------------------------------------------------ -->
|
||||
|
||||
<!-- Show the font style section (requires font packs in the build) -->
|
||||
<bool name="flag_font_picker">true</bool>
|
||||
|
||||
<!-- ------------------------------------------------------------------ -->
|
||||
<!-- Dark mode toggle -->
|
||||
<!-- ------------------------------------------------------------------ -->
|
||||
|
||||
<!-- Surface a Dark mode toggle (Light / Dark / Auto) inside ThemePicker -->
|
||||
<bool name="flag_dark_mode_toggle">true</bool>
|
||||
|
||||
<!-- ------------------------------------------------------------------ -->
|
||||
<!-- Clock face picker (disable — RPi has no Always-on display) -->
|
||||
<!-- ------------------------------------------------------------------ -->
|
||||
<bool name="flag_custom_clocks_enabled">false</bool>
|
||||
|
||||
</resources>
|
||||
@@ -23,4 +23,16 @@
|
||||
<!-- No hardware camera on base RPi boards -->
|
||||
<bool name="config_hasRecents">false</bool>
|
||||
|
||||
<!-- ------------------------------------------------------------------ -->
|
||||
<!-- Monet / Material You -->
|
||||
<!-- ------------------------------------------------------------------ -->
|
||||
|
||||
<!-- Enable wallpaper-seeded dynamic color (Monet engine in SystemUI).
|
||||
true = SystemUI extracts a palette from the wallpaper and applies it
|
||||
system-wide. Requires WallpaperColors API support (always true in 12+) -->
|
||||
<bool name="config_monet_color_source">true</bool>
|
||||
|
||||
<!-- Allow apps to opt into dynamic colors via DynamicColors.applyToActivitiesIfAvailable() -->
|
||||
<bool name="config_dynamic_color_support">true</bool>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user