Skip to content

Device settings search#758

Open
strongville wants to merge 14 commits into
MM2-0:mainfrom
strongville:feat/settingsSearch
Open

Device settings search#758
strongville wants to merge 14 commits into
MM2-0:mainfrom
strongville:feat/settingsSearch

Conversation

@strongville

@strongville strongville commented Apr 8, 2024

Copy link
Copy Markdown
Contributor
  • This will let search for and open the most common settings across AOSP that would be available on the device.
  • At the moment there's no intention to add any One-UI/MIUI/etc. custom settings page because they won't be functional for all users and it's not certain if we can discriminate settings querying for the info of the device without adding special or invasive permissions on the app.
  • Settings should appear if you search for "settings" or for the title, both localized.

Supported settings on this provider:

  • Accessibility: android.settings.ACCESSIBILITY_SETTINGS
  • Airplane mode: android.settings.AIRPLANE_MODE_SETTINGS
  • All apps: android.settings.MANAGE_APPLICATIONS_SETTINGS
  • Battery: android.intent.action.POWER_USAGE_SUMMARY
  • Bluetooth: android.settings.BLUETOOTH_SETTINGS
  • Development: android.settings.APPLICATION_DEVELOPMENT_SETTINGS
  • Device info: android.settings.DEVICE_INFO_SETTINGS
  • Display: android.settings.DISPLAY_SETTINGS
  • Kvaesitso (same as settings on dotted menu)
  • Location: android.settings.LOCATION_SOURCE_SETTINGS
  • NFC: android.settings.NFC_SETTINGS
  • Security: android.settings.SECURITY_SETTINGS
  • Sound: android.settings.SOUND_SETTINGS
  • Storage: android.settings.INTERNAL_STORAGE_SETTINGS
  • System updates: android.settings.SYSTEM_UPDATE_SETTINGS
  • Tethering (action com.android.settings.TetherSettings for com.android.settings package)
  • Wi-Fi: android.settings.WIFI_SETTINGS
  • Wireless connection: android.settings.WIRELESS_SETTINGS

List of settings on Kvaesitso

Signed-off-by: Guillermo Villafuerte <gvillafu@comunidad.unam.mx>
Signed-off-by: Guillermo Villafuerte <gvillafu@comunidad.unam.mx>
Signed-off-by: Guillermo Villafuerte <gvillafu@comunidad.unam.mx>
Signed-off-by: Guillermo Villafuerte <gvillafu@comunidad.unam.mx>
Signed-off-by: Guillermo Villafuerte <gvillafu@comunidad.unam.mx>
Signed-off-by: Guillermo Villafuerte <gvillafu@comunidad.unam.mx>

# Conflicts:
#	app/ui/src/main/java/de/mm20/launcher2/ui/launcher/search/SearchColumn.kt
#	app/ui/src/main/java/de/mm20/launcher2/ui/launcher/search/SearchVM.kt
#	services/search/src/main/java/de/mm20/launcher2/search/SearchService.kt
Signed-off-by: Guillermo Villafuerte <gvillafu@comunidad.unam.mx>
Signed-off-by: Guillermo Villafuerte <gvillafu@comunidad.unam.mx>
# Conflicts:
#	core/preferences/src/main/java/de/mm20/launcher2/preferences/LauncherSettingsData.kt
#	core/preferences/src/main/java/de/mm20/launcher2/preferences/Module.kt
@strongville
strongville marked this pull request as ready for review April 22, 2024 01:49
Signed-off-by: Guillermo Villafuerte <gvillafu@comunidad.unam.mx>
Signed-off-by: Guillermo Villafuerte <gvillafu@comunidad.unam.mx>

# Conflicts:
#	app/ui/src/main/java/de/mm20/launcher2/ui/launcher/search/filters/SearchFilters.kt
#	app/ui/src/main/java/de/mm20/launcher2/ui/settings/search/SearchSettingsScreenVM.kt
# Conflicts:
#	app/ui/src/main/java/de/mm20/launcher2/ui/launcher/search/filters/KeyboardFilterBar.kt
Signed-off-by: Guillermo Villafuerte <gvillafu@comunidad.unam.mx>
@TimoNotThy

Copy link
Copy Markdown
Contributor

Is it not possible to somehow add the results of the search function of the settings app instead? That way it would also include the custom settings from One-UI/MIUI/custom roms/etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants