From 43b263ce89de5c7cbbdaf081d1d6c44aec85bf09 Mon Sep 17 00:00:00 2001 From: Goooler Date: Mon, 23 Jan 2023 14:06:39 +0800 Subject: [PATCH] Remove unused res under lawn dir (#3279) Before: ```shell warn: removing resource app.lawnchair:string/action_upload without required default value. warn: removing resource app.lawnchair:string/adaptive_icons without required default value. warn: removing resource app.lawnchair:string/allow_empty_pages_label without required default value. warn: removing resource app.lawnchair:string/app_title_label without required default value. warn: removing resource app.lawnchair:string/back_gesture_feedback_cancelled_left_edge without required default value. warn: removing resource app.lawnchair:string/back_gesture_feedback_cancelled_right_edge without required default value. warn: removing resource app.lawnchair:string/back_gesture_feedback_complete without required default value. warn: removing resource app.lawnchair:string/back_gesture_feedback_complete_left_edge without required default value. warn: removing resource app.lawnchair:string/back_gesture_feedback_swipe_too_far_from_left_edge without required default value. warn: removing resource app.lawnchair:string/back_gesture_feedback_swipe_too_far_from_right_edge without required default value. warn: removing resource app.lawnchair:string/clear_all_as_action_label without required default value. warn: removing resource app.lawnchair:string/done without required default value. warn: removing resource app.lawnchair:string/gesture_tutorial_action_button_label_done without required default value. warn: removing resource app.lawnchair:string/gesture_tutorial_action_button_label_next without required default value. warn: removing resource app.lawnchair:string/home_gesture_feedback_complete without required default value. warn: removing resource app.lawnchair:string/home_screen_columns without required default value. warn: removing resource app.lawnchair:string/home_screen_rows without required default value. warn: removing resource app.lawnchair:string/hotseat_qsb_label without required default value. warn: removing resource app.lawnchair:string/kshitij_description without required default value. warn: removing resource app.lawnchair:string/overview_gesture_feedback_complete without required default value. warn: removing resource app.lawnchair:string/patryk_description without required default value. warn: removing resource app.lawnchair:string/smart_space_enable without required default value. warn: removing resource app.lawnchair:string/workspace_dt2s without required default value. ``` After: ```shell warn: removing resource app.lawnchair:string/back_gesture_feedback_cancelled_left_edge without required default value. warn: removing resource app.lawnchair:string/back_gesture_feedback_cancelled_right_edge without required default value. warn: removing resource app.lawnchair:string/back_gesture_feedback_complete without required default value. warn: removing resource app.lawnchair:string/back_gesture_feedback_complete_left_edge without required default value. warn: removing resource app.lawnchair:string/back_gesture_feedback_swipe_too_far_from_left_edge without required default value. warn: removing resource app.lawnchair:string/back_gesture_feedback_swipe_too_far_from_right_edge without required default value. warn: removing resource app.lawnchair:string/gesture_tutorial_action_button_label_done without required default value. warn: removing resource app.lawnchair:string/gesture_tutorial_action_button_label_next without required default value. warn: removing resource app.lawnchair:string/home_gesture_feedback_complete without required default value. warn: removing resource app.lawnchair:string/overview_gesture_feedback_complete without required default value. ``` --- lawnchair/AndroidManifest.xml | 26 +++++++++++++------------ lawnchair/res/values-en-rGB/strings.xml | 6 ------ lawnchair/res/values-he/strings.xml | 8 -------- lawnchair/res/values-id/strings.xml | 8 -------- lawnchair/res/values-ku/strings.xml | 8 -------- 5 files changed, 14 insertions(+), 42 deletions(-) diff --git a/lawnchair/AndroidManifest.xml b/lawnchair/AndroidManifest.xml index 8890c3ca69..a8de550deb 100644 --- a/lawnchair/AndroidManifest.xml +++ b/lawnchair/AndroidManifest.xml @@ -18,10 +18,11 @@ --> + - + @@ -65,10 +66,10 @@ + android:exported="true" + android:label="@string/derived_app_name" + android:permission="android.permission.BIND_DEVICE_ADMIN"> @@ -79,22 +80,22 @@ + android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> + android:grantUriPermissions="true"> + android:resource="@xml/provider_paths" /> - diff --git a/lawnchair/res/values-en-rGB/strings.xml b/lawnchair/res/values-en-rGB/strings.xml index 679b0a6367..2d70d504fc 100644 --- a/lawnchair/res/values-en-rGB/strings.xml +++ b/lawnchair/res/values-en-rGB/strings.xml @@ -39,21 +39,16 @@ Dock Icons Max. Folder Columns Max. Folder Rows - Home Screen Columns Grid - Home Screen Rows Icons Icon Size Label Size - Allow Empty Pages Notification Dots Preferences About News Support Acknowledgements - Manages development and creates the UI. Obsessed with Jetpack Compose indefinitely. - Writes the core logic for Lawnchair features. Proud member of the Spoingus gang. DevOps QuickSwitch Maintenance Search Apps @@ -64,7 +59,6 @@ No apps found matching ‘%1$s’. Background Opacity Background Lightness - Adaptive Icons Use 100% background lightness for white. Auto Adaptive Icons For all non-Adaptive icons. diff --git a/lawnchair/res/values-he/strings.xml b/lawnchair/res/values-he/strings.xml index eceed988d0..e71675a5e5 100644 --- a/lawnchair/res/values-he/strings.xml +++ b/lawnchair/res/values-he/strings.xml @@ -58,13 +58,10 @@ No apps found matching “%1$s”. שקיפות הרקע בהירות הרקע - Adaptive Icons Use 100% background lightness for white. Auto Adaptive Icons For all non-Adaptive icons. Support & PR - הקשה כפולה לכיבוי המסך - At a Glance Widget Design & Development תרגום מוצר @@ -76,7 +73,6 @@ %1$d Apps %1$d Apps - הצגת סרגל חיפוש Admin permission required To use Double-Tap to Sleep, set Lawnchair as a device admin app. Tap Open Settings, then tap “Activate this device admin app.” Double Tap to Sleep will be disabled. @@ -93,13 +89,11 @@ מערכת התאמה לרקע אחרונים - כפתור ניקוי הכל בתחתית רדיוס פינות מסך רדיוס פינות מסך מותאם When you swipe up to open Recents, the current app follows your finger, shrinking into a card. Use this slider to adjust the corner radius of the card when it’s nearly full-screen such that it matches the corners of your screen. סמלי המערכת צבע הדגשה - סיום כעת בטעינה… מערכת רקע @@ -142,7 +136,6 @@ Rounded Square Squircle התאמה אישית - כותרת Hide from App Drawer Lens Rounded Corners @@ -155,7 +148,6 @@ הצגת סרגל חיפוש Lawnchair Bug Report %1$s Crashed - Upload to Dogbin העתקת קישור העתקה הועתק ללוח הכתיבה. diff --git a/lawnchair/res/values-id/strings.xml b/lawnchair/res/values-id/strings.xml index 9715ede594..644690ac8a 100644 --- a/lawnchair/res/values-id/strings.xml +++ b/lawnchair/res/values-id/strings.xml @@ -58,13 +58,10 @@ Tidak ada aplikasi yang cocok dengan “%1$s”. Kegelapan Latar Belakang Kecerahan Latar Belakang - Ikon Adaptif Gunakan 100% kecerahan latar untuk warna putih. Ikon Adaptif Otomatis Untuk semua Ikon Non-Adaptif. Bantuan & PR - Ketuk Ganda untuk Tidur - Tampilkan Widget At a Glance Desain & Pengembangan Terjemah Produk @@ -73,7 +70,6 @@ %1$d Aplikasi - Tampilkan Bilah Pencarian Izin Admin Dibutuhkan Untuk menggunakan Ketuk Dua Kali untuk Tidur, atur Lawnchair sebagai aplikasi admin perangkat. Ketuk \"Buka Pengaturan,\" lalu ketuk \"Aktifkan aplikasi admin perangkat ini.\" Ketuk Dua Kali untuk Tidur akan dimatikan. @@ -90,13 +86,11 @@ Sistem Samakan dengan wallpaper Terbaru - Tombol Hapus Semua di Bawah Tampilan Radius Sudut Radius Sudut Layar Tersesuai Saat Anda menggesek ke atas untuk membuka Aplikasi Terkini, aplikasi saat ini mengikuti jari Anda, menyusut menjadi kartu. Gunakan penggeser ini untuk menyesuaikan radius sudut kartu saat hampir layar penuh sehingga cocok. Ikon sistem Warna Aksen - Selesai Memuat… Sistem Wallpaper @@ -139,7 +133,6 @@ Persegi Membulat Squircle Kustomisasi - Judul Sembunyikan dari Layar Aplikasi Lens Sudut Lengkung @@ -152,7 +145,6 @@ Tampilkan Bilah Pencarian Laporan Bug Lawnchair %1$s berhenti - Unggah ke Dogbin Salin Tautan Salin Disalin ke papan klip. diff --git a/lawnchair/res/values-ku/strings.xml b/lawnchair/res/values-ku/strings.xml index b5452490d9..f4fc4d26eb 100644 --- a/lawnchair/res/values-ku/strings.xml +++ b/lawnchair/res/values-ku/strings.xml @@ -58,13 +58,10 @@ No apps found matching “%1$s”. Background Opacity Background Lightness - Adaptive Icons Use 100% background lightness for white. Auto Adaptive Icons For all non-Adaptive icons. Support & PR - Double-Tap to Sleep - At a Glance Widget Design & Development Translate Product @@ -74,7 +71,6 @@ %1$d App %1$d Apps - Show Search Bar Admin Permissions Required To use Double-Tap to Sleep, set Lawnchair as a device admin app. Tap Open Settings, then tap “Activate this device admin app.” Double-Tap to Sleep will be turned off. @@ -91,13 +87,11 @@ System Match Wallpaper Recents - Clear All Button at Bottom Screen Corner Radius Custom Screen Corner Radius When you swipe up to open Recents, the current app follows your finger, shrinking into a card. Use this slider to adjust the corner radius of the card when it’s nearly full-screen such that it matches the corners of your screen. System Icons Accent Color - Done Loading… System Wallpaper @@ -140,7 +134,6 @@ Rounded Square Squircle Customize - Title Hide from App Drawer Lens Rounded Corners @@ -153,7 +146,6 @@ Show Search Bar Lawnchair Bug Report %1$s Crashed - Upload to Dogbin Copy Link Copy Copied to clipboard.