Add logos and better documentation for config.xml
This commit is contained in:
@@ -93,6 +93,11 @@ PRODUCT_COPY_FILES += \
|
||||
vendor/pawlet/prebuilt/common/etc/init/init.pawlet-updater.rc:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/init.pawlet-updater.rc \
|
||||
vendor/pawlet/config/permissions/privapp-permissions-PawletUpdater.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-PawletUpdater.xml
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# PawletOS build-time framework resource overlay (adds new drawables)
|
||||
# ---------------------------------------------------------------------------
|
||||
PRODUCT_PACKAGE_OVERLAYS += vendor/pawlet/overlay/static
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# PawletOS resource overlay (framework customisations)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
@@ -1,38 +1,76 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 oxmc / PawletOS
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
Copyright (C) 2025-2026 oxmc / PawletOS
|
||||
|
||||
PawletOS framework configuration overrides.
|
||||
These values override the defaults in frameworks/base/core/res/res/values/config.xml.
|
||||
Only put framework config overrides here, NOT new resources.
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<!-- Flag indicating whether the device supports a location overlay. Disabled on RPi
|
||||
because there is no GPS or cell radio available. -->
|
||||
<bool name="config_enableNetworkLocationOverlay" translatable="false">false</bool>
|
||||
<bool name="config_enableFusedLocationOverlay" translatable="false">false</bool>
|
||||
|
||||
<!-- Disable network location provider (RPi has no GPS/cell radio) -->
|
||||
<bool name="config_enableNetworkLocationOverlay" translatable="false">false</bool>
|
||||
<bool name="config_enableFusedLocationOverlay" translatable="false">false</bool>
|
||||
<!-- Flag indicating whether the current device is "voice capable". Disabled on RPi
|
||||
because it has no telephony radio and does not support circuit-switched voice calls. -->
|
||||
<bool name="config_voice_capable">false</bool>
|
||||
|
||||
<!-- RPi has no telephony -->
|
||||
<bool name="config_voice_capable">false</bool>
|
||||
<bool name="config_sms_capable">false</bool>
|
||||
<!-- Flag indicating whether the current device allows SMS service. Disabled on RPi
|
||||
because it has no telephony radio and cannot send or receive SMS messages. -->
|
||||
<bool name="config_sms_capable">false</bool>
|
||||
|
||||
<!-- Ethernet is the primary connectivity on RPi -->
|
||||
<integer name="config_networkTransitionTimeout">0</integer>
|
||||
<!-- Timeout in milliseconds before the framework gives up waiting for a network transition
|
||||
to complete. Set to 0 on RPi so that Ethernet is used immediately on boot. -->
|
||||
<integer name="config_networkTransitionTimeout">0</integer>
|
||||
|
||||
<!-- No hardware camera on base RPi boards -->
|
||||
<bool name="config_hasRecents">false</bool>
|
||||
<!-- Flag indicating whether the Recents button and overview screen are available.
|
||||
Disabled on RPi as there is no hardware camera and it simplifies the UI. -->
|
||||
<bool name="config_hasRecents">false</bool>
|
||||
|
||||
<!-- ------------------------------------------------------------------ -->
|
||||
<!-- Monet / Material You -->
|
||||
<!-- ------------------------------------------------------------------ -->
|
||||
<!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
|
||||
autodetected from the Configuration. -->
|
||||
<bool name="config_showNavigationBar">true</bool>
|
||||
|
||||
<!-- 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>
|
||||
<!-- Controls the navigation bar interaction mode:
|
||||
0 - 3 button mode (back, home, overview buttons)
|
||||
1 - 2 button mode (back, home buttons + swipe up for overview)
|
||||
2 - gesture only mode for back, home and overview -->
|
||||
<integer name="config_navBarInteractionMode">0</integer>
|
||||
|
||||
<!-- Allow apps to opt into dynamic colors via DynamicColors.applyToActivitiesIfAvailable() -->
|
||||
<bool name="config_dynamic_color_support">true</bool>
|
||||
<!-- Whether the taskbar is enabled. The taskbar is a large-screen / tablet UI element
|
||||
that replaces the navigation bar. Disabled on RPi as it targets a desktop layout. -->
|
||||
<bool name="config_enableTaskbar">false</bool>
|
||||
<bool name="config_showTaskbarNavbar">false</bool>
|
||||
|
||||
<!-- Control the default night mode to use when there is no other mode override set.
|
||||
One of the following values (see UiModeManager.java):
|
||||
0 - MODE_NIGHT_AUTO
|
||||
1 - MODE_NIGHT_NO
|
||||
2 - MODE_NIGHT_YES -->
|
||||
<integer name="config_defaultThemeMode">2</integer>
|
||||
|
||||
<!-- Package name of the default browser application. -->
|
||||
<string name="config_defaultBrowser" translatable="false">com.vivaldi.browser</string>
|
||||
|
||||
<!-- Component name of the default soft keyboard (IME). -->
|
||||
<string name="config_defaultInputMethod" translatable="false">dev.patrickgold.florisboard/.inputmethod.FlorisBoard</string>
|
||||
|
||||
<!-- Enable wallpaper-seeded dynamic color (Monet engine in SystemUI). When true,
|
||||
SystemUI extracts a color palette from the wallpaper and applies it system-wide.
|
||||
Requires WallpaperColors API support, which is always available on Android 12+. -->
|
||||
<bool name="config_monet_color_source">true</bool>
|
||||
|
||||
<!-- Allow apps to opt into Material You dynamic colors via
|
||||
DynamicColors.applyToActivitiesIfAvailable(). -->
|
||||
<bool name="config_dynamic_color_support">true</bool>
|
||||
</resources>
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 93 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
Reference in New Issue
Block a user