Skip to content

Commit

Permalink
Merge branch 'LawnchairLauncher:15-dev' into trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler authored Jan 7, 2025
2 parents e8af4f0 + 3398fce commit 7182679
Show file tree
Hide file tree
Showing 220 changed files with 3,191 additions and 2,307 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ plugins {
id 'app.cash.licensee' version "1.12.0"
id 'dev.rikka.tools.refine' version "4.4.0"
id 'org.gradle.android.cache-fix' version '3.0.1'
id 'com.diffplug.spotless' version '6.25.0'
id 'com.diffplug.spotless' version '7.0.0'
}


Expand Down Expand Up @@ -344,7 +344,7 @@ dependencies {
implementation "androidx.preference:preference-ktx:1.2.1"

implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.1'
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3'
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.0'
implementation 'com.github.ChickenHook:RestrictionBypass:2.2'
implementation 'dev.rikka.tools.refine:runtime:4.4.0'

Expand Down
13 changes: 7 additions & 6 deletions lawnchair/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" tools:ignore="ProtectedPermissions" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="com.google.android.apps.nexuslauncher.permission.QSB" />
<uses-permission android:name="com.kieronquinn.app.smartspacer.permission.ACCESS_SMARTSPACER"/>
Expand All @@ -29,11 +29,12 @@
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_HISTORY_BOOKMARKS" />
<uses-permission android:name="android.permission.WRITE_HISTORY_BOOKMARKS" />
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/>
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"/>
<uses-permission android:name="android.permission.MANAGE_USERS"/>
<uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" />
<uses-permission android:name="android.permission.STATUS_BAR_SERVICE" />
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" tools:ignore="ProtectedPermissions"/>
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" tools:ignore="ProtectedPermissions"/>
<uses-permission android:name="android.permission.MANAGE_USERS" tools:ignore="ProtectedPermissions"/>
<uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" tools:ignore="ProtectedPermissions"/>
<uses-permission android:name="android.permission.STATUS_BAR_SERVICE" tools:ignore="ProtectedPermissions"/>
<uses-permission android:name="android.permission.SUSPEND_APPS" tools:ignore="ProtectedPermissions" />

<!--override minSdk declared in it-->
<uses-sdk tools:overrideLibrary="com.kieronquinn.app.smartspacer.sdk" />
Expand Down
5 changes: 5 additions & 0 deletions lawnchair/res/drawable/ic_wallpaper.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#000000" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">

<path android:fillColor="@android:color/white" android:pathData="M4,4h7L11,2L4,2c-1.1,0 -2,0.9 -2,2v7h2L4,4zM10,13l-4,5h12l-3,-4 -2.03,2.71L10,13zM17,8.5c0,-0.83 -0.67,-1.5 -1.5,-1.5S14,7.67 14,8.5s0.67,1.5 1.5,1.5S17,9.33 17,8.5zM20,2h-7v2h7v7h2L22,4c0,-1.1 -0.9,-2 -2,-2zM20,20h-7v2h7c1.1,0 2,-0.9 2,-2v-7h-2v7zM4,13L2,13v7c0,1.1 0.9,2 2,2h7v-2L4,20v-7z"/>

</vector>
8 changes: 8 additions & 0 deletions lawnchair/res/values-af-rZA/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,16 @@
<string name="hotseat_bg_horizontal_inset_right">Horizontal inset (Right)</string>
<string name="hotseat_bg_vertical_inset_top">Vertical inset (Top)</string>
<string name="hotseat_bg_vertical_inset_bottom">Vertical inset (Bottom)</string>
<!-- Pause apps shortcut -->
<string name="pause">Pause</string>
<string name="pause_apps_dialog_title">Pause %1$s?</string>
<string name="pause_apps_dialog_message">Notifications for %1$s will be paused</string>
<string name="paused_apps_dialog_title">App paused</string>
<string name="paused_apps_dialog_message">%1$s was directly paused from the launcher</string>
<string name="paused_apps_drop_target_label">Pause app</string>
<string name="dock_icons">Dock icons</string>
<string name="hotseat_bottom_space_label">Bottom padding</string>
<string name="page_indicator_height">Page indicator height</string>
<!-- Search providers -->
<string name="search_provider_app_search">App search</string>
<string name="search_provider_sponsored_description">%1$s and Lawnchair have a revenue share agreement.\n\nSearching with %1$s helps support Lawnchair.</string>
Expand Down
8 changes: 8 additions & 0 deletions lawnchair/res/values-am-rET/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,16 @@
<string name="hotseat_bg_horizontal_inset_right">Horizontal inset (Right)</string>
<string name="hotseat_bg_vertical_inset_top">Vertical inset (Top)</string>
<string name="hotseat_bg_vertical_inset_bottom">Vertical inset (Bottom)</string>
<!-- Pause apps shortcut -->
<string name="pause">Pause</string>
<string name="pause_apps_dialog_title">Pause %1$s?</string>
<string name="pause_apps_dialog_message">Notifications for %1$s will be paused</string>
<string name="paused_apps_dialog_title">App paused</string>
<string name="paused_apps_dialog_message">%1$s was directly paused from the launcher</string>
<string name="paused_apps_drop_target_label">Pause app</string>
<string name="dock_icons">Dock icons</string>
<string name="hotseat_bottom_space_label">Bottom padding</string>
<string name="page_indicator_height">Page indicator height</string>
<!-- Search providers -->
<string name="search_provider_app_search">App search</string>
<string name="search_provider_sponsored_description">%1$s and Lawnchair have a revenue share agreement.\n\nSearching with %1$s helps support Lawnchair.</string>
Expand Down
8 changes: 8 additions & 0 deletions lawnchair/res/values-ar-rSA/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,16 @@
<string name="hotseat_bg_horizontal_inset_right">المساحة البينية الأفقية (جهة اليمين)</string>
<string name="hotseat_bg_vertical_inset_top">المساحة البينية العمودية (جهة الأعلى)</string>
<string name="hotseat_bg_vertical_inset_bottom">المساحة البينية العمودية (جهة الأسفل)</string>
<!-- Pause apps shortcut -->
<string name="pause">Pause</string>
<string name="pause_apps_dialog_title">Pause %1$s?</string>
<string name="pause_apps_dialog_message">Notifications for %1$s will be paused</string>
<string name="paused_apps_dialog_title">App paused</string>
<string name="paused_apps_dialog_message">%1$s was directly paused from the launcher</string>
<string name="paused_apps_drop_target_label">Pause app</string>
<string name="dock_icons">أيقونات شريط Dock</string>
<string name="hotseat_bottom_space_label">المساحة السفلية</string>
<string name="page_indicator_height">Page indicator height</string>
<!-- Search providers -->
<string name="search_provider_app_search">بحث التطبيقات</string>
<string name="search_provider_sponsored_description">%1$s وLawnchair لديهما اتفاقية مشاركة الإيرادات.\n\nالبحث باستخدام %1$s يساعد في دعم Lawnchair.</string>
Expand Down
8 changes: 8 additions & 0 deletions lawnchair/res/values-az-rAZ/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,16 @@
<string name="hotseat_bg_horizontal_inset_right">Horizontal inset (Right)</string>
<string name="hotseat_bg_vertical_inset_top">Vertical inset (Top)</string>
<string name="hotseat_bg_vertical_inset_bottom">Vertical inset (Bottom)</string>
<!-- Pause apps shortcut -->
<string name="pause">Pause</string>
<string name="pause_apps_dialog_title">Pause %1$s?</string>
<string name="pause_apps_dialog_message">Notifications for %1$s will be paused</string>
<string name="paused_apps_dialog_title">App paused</string>
<string name="paused_apps_dialog_message">%1$s was directly paused from the launcher</string>
<string name="paused_apps_drop_target_label">Pause app</string>
<string name="dock_icons">Dock icons</string>
<string name="hotseat_bottom_space_label">Bottom padding</string>
<string name="page_indicator_height">Page indicator height</string>
<!-- Search providers -->
<string name="search_provider_app_search">App search</string>
<string name="search_provider_sponsored_description">%1$s and Lawnchair have a revenue share agreement.\n\nSearching with %1$s helps support Lawnchair.</string>
Expand Down
8 changes: 8 additions & 0 deletions lawnchair/res/values-b+sr+Latn/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,16 @@
<string name="hotseat_bg_horizontal_inset_right">Horizontalni pomak (desno)</string>
<string name="hotseat_bg_vertical_inset_top">Vertikalni pomak (gore)</string>
<string name="hotseat_bg_vertical_inset_bottom">Vertikalni pomak (dole)</string>
<!-- Pause apps shortcut -->
<string name="pause">Pause</string>
<string name="pause_apps_dialog_title">Pause %1$s?</string>
<string name="pause_apps_dialog_message">Notifications for %1$s will be paused</string>
<string name="paused_apps_dialog_title">App paused</string>
<string name="paused_apps_dialog_message">%1$s was directly paused from the launcher</string>
<string name="paused_apps_drop_target_label">Pause app</string>
<string name="dock_icons">Ikone na doku</string>
<string name="hotseat_bottom_space_label">Donji razmak</string>
<string name="page_indicator_height">Page indicator height</string>
<!-- Search providers -->
<string name="search_provider_app_search">Pretraga aplikacija</string>
<string name="search_provider_sponsored_description">%1$s i Lawnchair imaju ugovor o podeli prihoda.\n\nPretraživanjem pomoću usluge %1$s podržavate Lawnchair.</string>
Expand Down
8 changes: 8 additions & 0 deletions lawnchair/res/values-bn-rBD/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,16 @@
<string name="hotseat_bg_horizontal_inset_right">Horizontal inset (Right)</string>
<string name="hotseat_bg_vertical_inset_top">Vertical inset (Top)</string>
<string name="hotseat_bg_vertical_inset_bottom">Vertical inset (Bottom)</string>
<!-- Pause apps shortcut -->
<string name="pause">Pause</string>
<string name="pause_apps_dialog_title">Pause %1$s?</string>
<string name="pause_apps_dialog_message">Notifications for %1$s will be paused</string>
<string name="paused_apps_dialog_title">App paused</string>
<string name="paused_apps_dialog_message">%1$s was directly paused from the launcher</string>
<string name="paused_apps_drop_target_label">Pause app</string>
<string name="dock_icons">Dock icons</string>
<string name="hotseat_bottom_space_label">Bottom padding</string>
<string name="page_indicator_height">Page indicator height</string>
<!-- Search providers -->
<string name="search_provider_app_search">App search</string>
<string name="search_provider_sponsored_description">%1$s and Lawnchair have a revenue share agreement.\n\nSearching with %1$s helps support Lawnchair.</string>
Expand Down
8 changes: 8 additions & 0 deletions lawnchair/res/values-bs-rBA/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,16 @@
<string name="hotseat_bg_horizontal_inset_right">Horizontal inset (Right)</string>
<string name="hotseat_bg_vertical_inset_top">Vertical inset (Top)</string>
<string name="hotseat_bg_vertical_inset_bottom">Vertical inset (Bottom)</string>
<!-- Pause apps shortcut -->
<string name="pause">Pause</string>
<string name="pause_apps_dialog_title">Pause %1$s?</string>
<string name="pause_apps_dialog_message">Notifications for %1$s will be paused</string>
<string name="paused_apps_dialog_title">App paused</string>
<string name="paused_apps_dialog_message">%1$s was directly paused from the launcher</string>
<string name="paused_apps_drop_target_label">Pause app</string>
<string name="dock_icons">Dock icons</string>
<string name="hotseat_bottom_space_label">Bottom padding</string>
<string name="page_indicator_height">Page indicator height</string>
<!-- Search providers -->
<string name="search_provider_app_search">App search</string>
<string name="search_provider_sponsored_description">%1$s and Lawnchair have a revenue share agreement.\n\nSearching with %1$s helps support Lawnchair.</string>
Expand Down
8 changes: 8 additions & 0 deletions lawnchair/res/values-ca-rES/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,16 @@
<string name="hotseat_bg_horizontal_inset_right">Horizontal inset (Right)</string>
<string name="hotseat_bg_vertical_inset_top">Vertical inset (Top)</string>
<string name="hotseat_bg_vertical_inset_bottom">Vertical inset (Bottom)</string>
<!-- Pause apps shortcut -->
<string name="pause">Pause</string>
<string name="pause_apps_dialog_title">Pause %1$s?</string>
<string name="pause_apps_dialog_message">Notifications for %1$s will be paused</string>
<string name="paused_apps_dialog_title">App paused</string>
<string name="paused_apps_dialog_message">%1$s was directly paused from the launcher</string>
<string name="paused_apps_drop_target_label">Pause app</string>
<string name="dock_icons">Dock icons</string>
<string name="hotseat_bottom_space_label">Bottom padding</string>
<string name="page_indicator_height">Page indicator height</string>
<!-- Search providers -->
<string name="search_provider_app_search">App search</string>
<string name="search_provider_sponsored_description">%1$s and Lawnchair have a revenue share agreement.\n\nSearching with %1$s helps support Lawnchair.</string>
Expand Down
8 changes: 8 additions & 0 deletions lawnchair/res/values-cs-rCZ/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,16 @@
<string name="hotseat_bg_horizontal_inset_right">Horizontal inset (Right)</string>
<string name="hotseat_bg_vertical_inset_top">Vertical inset (Top)</string>
<string name="hotseat_bg_vertical_inset_bottom">Vertical inset (Bottom)</string>
<!-- Pause apps shortcut -->
<string name="pause">Pozastavit</string>
<string name="pause_apps_dialog_title">Pozastavit %1$s?</string>
<string name="pause_apps_dialog_message">Oznámení pro %1$s budou pozastavena</string>
<string name="paused_apps_dialog_title">Aplikace pozastavena</string>
<string name="paused_apps_dialog_message">%1$s byla přímo pozastavena ze spouštěče</string>
<string name="paused_apps_drop_target_label">Pozastavit aplikaci</string>
<string name="dock_icons">Ikony doku</string>
<string name="hotseat_bottom_space_label">Spodní mezera</string>
<string name="page_indicator_height">Page indicator height</string>
<!-- Search providers -->
<string name="search_provider_app_search">Hledání aplikací</string>
<string name="search_provider_sponsored_description">%1$s a Lawnchair má smlouvu o sdílení příjmů.\n\nVyhledávání pomocí %1$s pomáhá podpořit Lawnchair.</string>
Expand Down
8 changes: 8 additions & 0 deletions lawnchair/res/values-da-rDK/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,16 @@
<string name="hotseat_bg_horizontal_inset_right">Horizontal inset (Right)</string>
<string name="hotseat_bg_vertical_inset_top">Vertical inset (Top)</string>
<string name="hotseat_bg_vertical_inset_bottom">Vertical inset (Bottom)</string>
<!-- Pause apps shortcut -->
<string name="pause">Pause</string>
<string name="pause_apps_dialog_title">Pause %1$s?</string>
<string name="pause_apps_dialog_message">Notifications for %1$s will be paused</string>
<string name="paused_apps_dialog_title">App paused</string>
<string name="paused_apps_dialog_message">%1$s was directly paused from the launcher</string>
<string name="paused_apps_drop_target_label">Pause app</string>
<string name="dock_icons">Dock icons</string>
<string name="hotseat_bottom_space_label">Bottom padding</string>
<string name="page_indicator_height">Page indicator height</string>
<!-- Search providers -->
<string name="search_provider_app_search">App search</string>
<string name="search_provider_sponsored_description">%1$s and Lawnchair have a revenue share agreement.\n\nSearching with %1$s helps support Lawnchair.</string>
Expand Down
8 changes: 8 additions & 0 deletions lawnchair/res/values-de-rDE/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,16 @@
<string name="hotseat_bg_horizontal_inset_right">Horizontale Einrückung (rechts)</string>
<string name="hotseat_bg_vertical_inset_top">Vertikale Einrückung (oben)</string>
<string name="hotseat_bg_vertical_inset_bottom">Vertikale Einrückung (unten)</string>
<!-- Pause apps shortcut -->
<string name="pause">Anhalten</string>
<string name="pause_apps_dialog_title">%1$s anhalten?</string>
<string name="pause_apps_dialog_message">Benachrichtigungen für %1$s werden pausiert</string>
<string name="paused_apps_dialog_title">App angehalten</string>
<string name="paused_apps_dialog_message">%1$s wurde direkt vom Launcher angehalten</string>
<string name="paused_apps_drop_target_label">App anhalten</string>
<string name="dock_icons">Dock-Symbole</string>
<string name="hotseat_bottom_space_label">Unterer Abstand</string>
<string name="page_indicator_height">Page indicator height</string>
<!-- Search providers -->
<string name="search_provider_app_search">App-Suche</string>
<string name="search_provider_sponsored_description">%1$s und Lawnchair haben eine Umsatzbeteiligungsvereinbarung.\n\nSuchen mit %1$s unterstützt Lawnchair.</string>
Expand Down
8 changes: 8 additions & 0 deletions lawnchair/res/values-el-rGR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,16 @@
<string name="hotseat_bg_horizontal_inset_right">Horizontal inset (Right)</string>
<string name="hotseat_bg_vertical_inset_top">Vertical inset (Top)</string>
<string name="hotseat_bg_vertical_inset_bottom">Vertical inset (Bottom)</string>
<!-- Pause apps shortcut -->
<string name="pause">Pause</string>
<string name="pause_apps_dialog_title">Pause %1$s?</string>
<string name="pause_apps_dialog_message">Notifications for %1$s will be paused</string>
<string name="paused_apps_dialog_title">App paused</string>
<string name="paused_apps_dialog_message">%1$s was directly paused from the launcher</string>
<string name="paused_apps_drop_target_label">Pause app</string>
<string name="dock_icons">Εικονίδια μπάρας εφαρμογών</string>
<string name="hotseat_bottom_space_label">Κάτω περιθώριο</string>
<string name="page_indicator_height">Page indicator height</string>
<!-- Search providers -->
<string name="search_provider_app_search">Αναζήτηση εφαρμογών</string>
<string name="search_provider_sponsored_description">%1$s και ο εκκινητής Lawnchair έχουν συμφωνία μεριδίου εσόδων.\n\nΗ αναζήτηση μέσω του %1$s βοηθά στην υποστήριξη του Lawnchair.</string>
Expand Down
8 changes: 8 additions & 0 deletions lawnchair/res/values-en-rCA/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,16 @@
<string name="hotseat_bg_horizontal_inset_right">Horizontal inset (Right)</string>
<string name="hotseat_bg_vertical_inset_top">Vertical inset (Top)</string>
<string name="hotseat_bg_vertical_inset_bottom">Vertical inset (Bottom)</string>
<!-- Pause apps shortcut -->
<string name="pause">Pause</string>
<string name="pause_apps_dialog_title">Pause %1$s?</string>
<string name="pause_apps_dialog_message">Notifications for %1$s will be paused</string>
<string name="paused_apps_dialog_title">App paused</string>
<string name="paused_apps_dialog_message">%1$s was directly paused from the launcher</string>
<string name="paused_apps_drop_target_label">Pause app</string>
<string name="dock_icons">Dock icons</string>
<string name="hotseat_bottom_space_label">Bottom padding</string>
<string name="page_indicator_height">Page indicator height</string>
<!-- Search providers -->
<string name="search_provider_app_search">App search</string>
<string name="search_provider_sponsored_description">%1$s and Lawnchair have a revenue share agreement.\n\nSearching with %1$s helps support Lawnchair.</string>
Expand Down
Loading

0 comments on commit 7182679

Please sign in to comment.