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.
```
This commit is contained in:
Goooler
2023-01-23 14:06:39 +08:00
committed by GitHub
parent 9898be55c4
commit 43b263ce89
5 changed files with 14 additions and 42 deletions
+14 -12
View File
@@ -18,10 +18,11 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
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.FOREGROUND_SERVICE" />
<uses-permission android:name="com.google.android.apps.nexuslauncher.permission.QSB"/>
<uses-permission android:name="com.google.android.apps.nexuslauncher.permission.QSB" />
<permission
android:name="${packageName}.permission.READ_SETTINGS"
@@ -41,9 +42,9 @@
<activity
android:name="app.lawnchair.ui.preferences.PreferenceActivity"
android:autoRemoveFromRecents="true"
android:exported="true"
android:label="@string/settings_button_text"
android:theme="@style/Theme.Lawnchair"
android:exported="true"
android:windowSoftInputMode="adjustResize">
<intent-filter android:priority="1">
<action android:name="android.intent.action.APPLICATION_PREFERENCES" />
@@ -65,10 +66,10 @@
<receiver
android:name="app.lawnchair.gestures.handlers.SleepMethodDeviceAdmin$SleepDeviceAdmin"
android:label="@string/derived_app_name"
android:description="@string/dt2s_admin_hint"
android:permission="android.permission.BIND_DEVICE_ADMIN"
android:exported="true">
android:exported="true"
android:label="@string/derived_app_name"
android:permission="android.permission.BIND_DEVICE_ADMIN">
<meta-data
android:name="android.app.device_admin"
android:resource="@xml/sleep_policy" />
@@ -79,22 +80,22 @@
<service
android:name="app.lawnchair.LawnchairAccessibilityService"
android:exported="false"
android:label="@string/derived_app_name"
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"
android:exported="false">
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
<intent-filter>
<action android:name="android.accessibilityservice.AccessibilityService" />
</intent-filter>
</service>
<provider
android:name="app.lawnchair.bugreport.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true"
android:name="app.lawnchair.bugreport.FileProvider">
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths"/>
android:resource="@xml/provider_paths" />
</provider>
<receiver
@@ -108,12 +109,13 @@
</receiver>
<service
android:name="app.lawnchair.bugreport.UploaderService"
android:enabled="true"
android:exported="false"
android:name="app.lawnchair.bugreport.UploaderService"
android:process=":bugReport" />
<receiver android:name="app.lawnchair.smartspace.SmartspaceAppWidgetProvider"
<receiver
android:name="app.lawnchair.smartspace.SmartspaceAppWidgetProvider"
android:exported="false">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
-6
View File
@@ -39,21 +39,16 @@
<string name="dock_icons">Dock Icons</string>
<string name="max_folder_columns">Max. Folder Columns</string>
<string name="max_folder_rows">Max. Folder Rows</string>
<string name="home_screen_columns">Home Screen Columns</string>
<string name="grid">Grid</string>
<string name="home_screen_rows">Home Screen Rows</string>
<string name="icons">Icons</string>
<string name="icon_size">Icon Size</string>
<string name="label_size">Label Size</string>
<string name="allow_empty_pages_label">Allow Empty Pages</string>
<string name="notification_dots">Notification Dots</string>
<string name="smartspace_preferences">Preferences</string>
<string name="about_label">About</string>
<string name="news">News</string>
<string name="support">Support</string>
<string name="acknowledgements">Acknowledgements</string>
<string name="patryk_description">Manages development and creates the UI. Obsessed with Jetpack Compose indefinitely.</string>
<string name="kshitij_description">Writes the core logic for Lawnchair features. Proud member of the Spoingus gang.</string>
<string name="devops">DevOps</string>
<string name="quickswitch_maintenance">QuickSwitch Maintenance</string>
<string name="all_apps_search_bar_hint">Search Apps</string>
@@ -64,7 +59,6 @@
<string name="all_apps_no_search_results">No apps found matching <xliff:g example="Android" id="query">%1$s</xliff:g>.</string>
<string name="background_opacity">Background Opacity</string>
<string name="background_lightness_label">Background Lightness</string>
<string name="adaptive_icons">Adaptive Icons</string>
<string name="adaptive_icon_background_description">Use 100% background lightness for white.</string>
<string name="auto_adaptive_icons_label">Auto Adaptive Icons</string>
<string name="auto_adaptive_icons_description">For all non-Adaptive icons.</string>
-8
View File
@@ -58,13 +58,10 @@
<string name="all_apps_no_search_results">No apps found matching “<xliff:g example="Android" id="query">%1$s</xliff:g>”.</string>
<string name="background_opacity">שקיפות הרקע</string>
<string name="background_lightness_label">בהירות הרקע</string>
<string name="adaptive_icons">Adaptive Icons</string>
<string name="adaptive_icon_background_description">Use 100% background lightness for white.</string>
<string name="auto_adaptive_icons_label">Auto Adaptive Icons</string>
<string name="auto_adaptive_icons_description">For all non-Adaptive icons.</string>
<string name="support_and_pr">Support &amp; PR</string>
<string name="workspace_dt2s">הקשה כפולה לכיבוי המסך</string>
<string name="smart_space_enable">At a Glance Widget</string>
<string name="design_and_development">Design &amp; Development</string>
<string name="translate">תרגום</string>
<string name="product">מוצר</string>
@@ -76,7 +73,6 @@
<item quantity="many">%1$d Apps</item>
<item quantity="other">%1$d Apps</item>
</plurals>
<string name="hotseat_qsb_label">הצגת סרגל חיפוש</string>
<string name="dt2s_admin_hint_title">Admin permission required</string>
<string name="dt2s_admin_hint">To use Double-Tap to Sleep, set Lawnchair as a device admin app. Tap Open Settings, then tap “Activate this device admin app.”</string>
<string name="dt2s_admin_warning">Double Tap to Sleep will be disabled.</string>
@@ -93,13 +89,11 @@
<string name="theme_system_default">מערכת</string>
<string name="theme_follow_wallpaper">התאמה לרקע</string>
<string name="quickstep_label">אחרונים</string>
<string name="clear_all_as_action_label">כפתור ניקוי הכל בתחתית</string>
<string name="window_corner_radius_label">רדיוס פינות מסך</string>
<string name="override_window_corner_radius_label">רדיוס פינות מסך מותאם</string>
<string name="window_corner_radius_description">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 its nearly full-screen such that it matches the corners of your screen.</string>
<string name="system_icons">סמלי המערכת</string>
<string name="accent_color">צבע הדגשה</string>
<string name="done">סיום</string>
<string name="loading">כעת בטעינה…</string>
<string name="system">מערכת</string>
<string name="wallpaper">רקע</string>
@@ -142,7 +136,6 @@
<string name="icon_shape_rounded_square">Rounded Square</string>
<string name="icon_shape_squircle">Squircle</string>
<string name="customize_button_text">התאמה אישית</string>
<string name="app_title_label">כותרת</string>
<string name="hide_from_drawer">Hide from App Drawer</string>
<string name="action_lens">Lens</string>
<string name="force_rounded_widgets">Rounded Corners</string>
@@ -155,7 +148,6 @@
<string name="show_app_search_bar">הצגת סרגל חיפוש</string>
<string name="lawnchair_bug_report">Lawnchair Bug Report</string>
<string name="crash_report_notif_title">%1$s Crashed</string>
<string name="action_upload">Upload to Dogbin</string>
<string name="action_copy_link">העתקת קישור</string>
<string name="action_copy">העתקה</string>
<string name="copied_toast">הועתק ללוח הכתיבה.</string>
-8
View File
@@ -58,13 +58,10 @@
<string name="all_apps_no_search_results">Tidak ada aplikasi yang cocok dengan “<xliff:g example="Android" id="query">%1$s</xliff:g>”.</string>
<string name="background_opacity">Kegelapan Latar Belakang</string>
<string name="background_lightness_label">Kecerahan Latar Belakang</string>
<string name="adaptive_icons">Ikon Adaptif</string>
<string name="adaptive_icon_background_description">Gunakan 100% kecerahan latar untuk warna putih.</string>
<string name="auto_adaptive_icons_label">Ikon Adaptif Otomatis</string>
<string name="auto_adaptive_icons_description">Untuk semua Ikon Non-Adaptif.</string>
<string name="support_and_pr">Bantuan &amp; PR</string>
<string name="workspace_dt2s">Ketuk Ganda untuk Tidur</string>
<string name="smart_space_enable">Tampilkan Widget At a Glance</string>
<string name="design_and_development">Desain &amp; Pengembangan</string>
<string name="translate">Terjemah</string>
<string name="product">Produk</string>
@@ -73,7 +70,6 @@
<plurals name="apps_count">
<item quantity="other">%1$d Aplikasi</item>
</plurals>
<string name="hotseat_qsb_label">Tampilkan Bilah Pencarian</string>
<string name="dt2s_admin_hint_title">Izin Admin Dibutuhkan</string>
<string name="dt2s_admin_hint">Untuk menggunakan Ketuk Dua Kali untuk Tidur, atur Lawnchair sebagai aplikasi admin perangkat. Ketuk \"Buka Pengaturan,\" lalu ketuk \"Aktifkan aplikasi admin perangkat ini.\"</string>
<string name="dt2s_admin_warning">Ketuk Dua Kali untuk Tidur akan dimatikan.</string>
@@ -90,13 +86,11 @@
<string name="theme_system_default">Sistem</string>
<string name="theme_follow_wallpaper">Samakan dengan wallpaper</string>
<string name="quickstep_label">Terbaru</string>
<string name="clear_all_as_action_label">Tombol Hapus Semua di Bawah</string>
<string name="window_corner_radius_label">Tampilan Radius Sudut</string>
<string name="override_window_corner_radius_label">Radius Sudut Layar Tersesuai</string>
<string name="window_corner_radius_description">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.</string>
<string name="system_icons">Ikon sistem</string>
<string name="accent_color">Warna Aksen</string>
<string name="done">Selesai</string>
<string name="loading">Memuat…</string>
<string name="system">Sistem</string>
<string name="wallpaper">Wallpaper</string>
@@ -139,7 +133,6 @@
<string name="icon_shape_rounded_square">Persegi Membulat</string>
<string name="icon_shape_squircle">Squircle</string>
<string name="customize_button_text">Kustomisasi</string>
<string name="app_title_label">Judul</string>
<string name="hide_from_drawer">Sembunyikan dari Layar Aplikasi</string>
<string name="action_lens">Lens</string>
<string name="force_rounded_widgets">Sudut Lengkung</string>
@@ -152,7 +145,6 @@
<string name="show_app_search_bar">Tampilkan Bilah Pencarian</string>
<string name="lawnchair_bug_report">Laporan Bug Lawnchair</string>
<string name="crash_report_notif_title">%1$s berhenti</string>
<string name="action_upload">Unggah ke Dogbin</string>
<string name="action_copy_link">Salin Tautan</string>
<string name="action_copy">Salin</string>
<string name="copied_toast">Disalin ke papan klip.</string>
-8
View File
@@ -58,13 +58,10 @@
<string name="all_apps_no_search_results">No apps found matching “<xliff:g example="Android" id="query">%1$s</xliff:g>”.</string>
<string name="background_opacity">Background Opacity</string>
<string name="background_lightness_label">Background Lightness</string>
<string name="adaptive_icons">Adaptive Icons</string>
<string name="adaptive_icon_background_description">Use 100% background lightness for white.</string>
<string name="auto_adaptive_icons_label">Auto Adaptive Icons</string>
<string name="auto_adaptive_icons_description">For all non-Adaptive icons.</string>
<string name="support_and_pr">Support &amp; PR</string>
<string name="workspace_dt2s">Double-Tap to Sleep</string>
<string name="smart_space_enable">At a Glance Widget</string>
<string name="design_and_development">Design &amp; Development</string>
<string name="translate">Translate</string>
<string name="product">Product</string>
@@ -74,7 +71,6 @@
<item quantity="one">%1$d App</item>
<item quantity="other">%1$d Apps</item>
</plurals>
<string name="hotseat_qsb_label">Show Search Bar</string>
<string name="dt2s_admin_hint_title">Admin Permissions Required</string>
<string name="dt2s_admin_hint">To use Double-Tap to Sleep, set Lawnchair as a device admin app. Tap Open Settings, then tap “Activate this device admin app.”</string>
<string name="dt2s_admin_warning">Double-Tap to Sleep will be turned off.</string>
@@ -91,13 +87,11 @@
<string name="theme_system_default">System</string>
<string name="theme_follow_wallpaper">Match Wallpaper</string>
<string name="quickstep_label">Recents</string>
<string name="clear_all_as_action_label">Clear All Button at Bottom</string>
<string name="window_corner_radius_label">Screen Corner Radius</string>
<string name="override_window_corner_radius_label">Custom Screen Corner Radius</string>
<string name="window_corner_radius_description">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 its nearly full-screen such that it matches the corners of your screen.</string>
<string name="system_icons">System Icons</string>
<string name="accent_color">Accent Color</string>
<string name="done">Done</string>
<string name="loading">Loading…</string>
<string name="system">System</string>
<string name="wallpaper">Wallpaper</string>
@@ -140,7 +134,6 @@
<string name="icon_shape_rounded_square">Rounded Square</string>
<string name="icon_shape_squircle">Squircle</string>
<string name="customize_button_text">Customize</string>
<string name="app_title_label">Title</string>
<string name="hide_from_drawer">Hide from App Drawer</string>
<string name="action_lens">Lens</string>
<string name="force_rounded_widgets">Rounded Corners</string>
@@ -153,7 +146,6 @@
<string name="show_app_search_bar">Show Search Bar</string>
<string name="lawnchair_bug_report">Lawnchair Bug Report</string>
<string name="crash_report_notif_title">%1$s Crashed</string>
<string name="action_upload">Upload to Dogbin</string>
<string name="action_copy_link">Copy Link</string>
<string name="action_copy">Copy</string>
<string name="copied_toast">Copied to clipboard.</string>