Skip to content

Settings Intent

Roman Tcaregorodtcev edited this page Mar 30, 2018 · 5 revisions

Activity Action: Show system settings.

OmegaIntentBuilder.from(context)
                .settings()
                .wifi()
                .startActivity();

Supported features:

wifi() - show settings to allow configuration of Wi-Fi.

wifiIp() - show settings to allow configuration of a static IP address for Wi-Fi.

locationSource() - show settings to allow configuration of current location sources.

accessibility() - show settings for accessibility modules.

addAccount() - show add account screen for creating a new account.

airplaneMode() - show settings to allow entering/exiting airplane mode.

apn() - show settings to allow configuration of APNs.

applicationDetails() - show screen of details about a particular application.

development() - show settings to allow configuration of application development-related settings.

application() - show settings to allow configuration of application-related settings.

batterySaver() - show battery saver settings.

bluetooth() - show settings to allow configuration of Bluetooth.

captioning() - show settings for video captioning.

cast() - show settings to allow configuration of cast endpoints.

dataRoaming() - show settings for selection of 2G/3G.

data() - show settings to allow configuration of date and time.

deviceInfo() - show general device information settings (serial number, software version, phone number, etc.).

display() - show settings to allow configuration of display.

dream() - show Daydream settings.

keyboard() - show settings to configure the hardware keyboard.

home() - show Home selection settings.

ignoreBackgroundDataRestrictions() - show screen for controlling background data restrictions for a particular application.

ignoreBatteryOptimization() - show screen for controlling which apps can ignore battery optimizations.

inputMethod() - show settings to configure input methods, in particular allowing the user to enable input methods.

inputMethodSubtype() - show settings to enable/disable input method subtypes.

internalStorage() - show settings for internal storage.

locale() - show settings to allow configuration of locale.

manageAllApps() - show settings to manage all applications.

manageApps() - show settings to manage installed applications.

manageDefaultApps() - show Default apps settings.

manageOverlay() - show screen for controlling which apps can draw on top of other apps.

manageWrite() - show screen for controlling which apps are allowed to write/modify system settings.

memoryCard() - show settings for memory card storage.

networkOperator() - show settings for selecting the network operator.

nfsSharing() - show NFC Sharing settings.

nfcPayment() - show NFC Tap & Pay settings, this shows UI that allows the user to configure Tap&Pay settings.

nfc() - show NFC settings.

notificationListener() - show Notification listener settings.

notificationPolicyAccess() - show Do Not Disturb access settings.

print() - show the top level print settings.

privacy() - show settings to allow configuration of privacy options.

quickLaunch() - show settings to allow configuration of quick launch shortcuts.

requestIgnoreBatteryOptimizations() - Ask the user to allow an app to ignore battery optimizations (that is, put them on the whitelist of apps shown by ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS).

search() - show settings for global search

security() - show settings to allow configuration of security and location privacy.

regulatoryInfo() - show the regulatory information screen for the device.

sound() - show settings to allow configuration of sound and volume.

sync() - show settings to allow configuration of sync settings.

usageAccess() - show settings to control access to usage information.

userDictionary() - show settings to manage the user input dictionary.

voiceControlAirplaneMode() - modify Airplane mode settings using a voice command.

voiceControlBatterySaverMode() - modify Battery Saver mode setting using a voice command.

voiceControlDontDisturb() - modify do not disturb mode settings.

voiceInput() - show settings to configure input methods, in particular allowing the user to enable input methods.

vpn() - show settings to allow configuration of VPN.

vrListener() - show VR listener settings.

webview() - allows user to select current webview implementation.

wireless() - show settings to allow configuration of wireless controls such as Wi-Fi, Bluetooth and Mobile networks.

authority()

accountTypes() - limit available options in launched activity based on the given account types.

airplaneModeEnabled() - enable or disable Airplane Mode.

extraAuthorities() - limit available options in launched activity based on the given authority.

batterySaverModeEnabled() - enable or disable Battery saver mode.

extraDontDisturbModeEnabled() - enable or disable Do Not Disturb mode.

extraDontDisturbModeMinutes() - how many minutes to enable do not disturb mode for.

extraInputMethodId()

categoryUsageAccessConfig() - show application settings related to usage access.

metadataUsageAccessReason() - Metadata key: Reason for needing usage access.

applicationSettingsInfo("Package name") - show application detail settings.