[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-26 (世界標準時間)。"],[],[],null,["# Connectivity user interface\n\nIn Android 12 or higher, device manufacturers can\noptionally adopt a simplified connectivity experience that helps users better\nunderstand their network connections, switch between internet providers, and\ntroubleshoot network connectivity issues. These changes in user experience as\ncompared to Android 11 or lower, are reflected in user interface,\niconography, and API changes for Quick Settings and Settings. All of these\nchanges are available in AOSP for device manufacturers to enable as is or to\ncustomize.\n| **Note:** We recommend that device manufacturers and carriers adopt these changes to promote a unified Android ecosystem and a consistent experience for users.\n\nSimplified connectivity experience overview\n-------------------------------------------\n\nThis section describes the major user interface changes of the simplified\nconnectivity experience in AOSP starting in Android 12.\n\n### Internet tile in Quick Settings\n\nThe Quick Settings menu includes an Internet tile that opens up an Internet\npanel where users can switch between Wi-Fi and cellular connections. The\nInternet tile combines the Wi-Fi and Mobile Data tiles used in Android 11 or\nlower.\n\n**Figure 1.** Internet tile in Quick Settings\n\n### Calls \\& SMS section in Settings\n\nThe Settings app includes a **Calls \\& SMS** section under **Network \\&\nInternet** that displays availability status and Wi-Fi calling options.\n\n**Figure 2.** Calls \\& SMS section in Settings\n\n### Reset button in Settings\n\nIn the Settings app, **Network \\& Internet \\\u003e Internet** includes a\n**reset button** that lets users reset the telephony and Wi-Fi modems on the\ndevice, which may be useful when troubleshooting network connectivity issues.\n\n**Figure 3.** Reset button for troubleshooting connectivity issues\n\nImplementation\n--------------\n\nTo enable the simplified connectivity experience on your device, use the\nfollowing global settings flag:\n\n- Name: `persist.sys.fflag.override.settings_provider_model`\n- Type: Boolean\n- Value: Set to `true` to enable the connectivity simplification behavior, `false` to disable it and use the legacy behavior. Starting in Android 12, the codepath for `false` is no longer actively maintained.\n\nAdditionally, you can configure the following modes of the user interface for\nindividual carriers using\n[carrier configuration](/docs/core/connect/carrier).\nThe configuration keys are:\n\n- `CarrierConfigManager#KEY_CARRIER_PROVISIONS_WIFI_MERGED_NETWORKS_BOOL`: A boolean indicating whether the carrier configures Wi-Fi networks that are part of its core network and are displayed as part of the mobile network. This works in tandem with the `WifiNetworkSuggestion.Builder#setCarrierMerged(booleanisCarrierMerged)` method.\n- `CarrierConfigManager#KEY_USE_IP_FOR_CALLING_INDICATOR_BOOL`: A boolean indicating whether data network (IP) connectivity is used as a supplemental condition to gate display of the *no calling* icon.\n- `CarrierConfigManager#KEY_DISPLAY_CALL_STRENGTH_INDICATOR_BOOL`: A boolean indicating whether the *call strength* icon is displayed in the system UI.\n\n### Framework APIs\n\n| **Note:** If you are selectively implementing certain elements of the simplified connectivity UI, make sure to thoroughly test that all the elements are working together properly.\n\nTo temporarily disable nearby Wi-Fi networks, use\nthe following APIs:\n\n- `WifiManager#startRestrictingAutoJoinToSubscriptionId(int\n subscriptionId)`: Allows the user to select a carrier network without disabling Wi-Fi. Disables all visible Wi-Fi networks for a minimum duration of 30 minutes (controlled through the `config_wifiAllNonCarrierMergedWifiMinDisableDurationMinutes` overlay), and a maximum duration of 6 hours (controlled through the `config_wifiAllNonCarrierMergedWifiMaxDisableDurationMinutes` overlay). Wi-Fi networks are reenabled whenever Wi-Fi is toggled, the device is rebooted, if the user selects a Wi-Fi network (in which case the `stopRestrictingAutoJoinToSubscriptionId()` API is executed by Settings), or if the network isn't visible for 60 minutes.\n- `WifiManager#stopRestrictingAutoJoinToSubscriptionId()`: Restores normal operation.\n\nTo support the reset button and troubleshooting user interface, which is\nimplemented in the\n`com.android.settingslib.connectivity.ConnectivitySubsystemsRecoveryManager`\nclass, use the following APIs:\n\n- `WifiManager#restartWifiSubsystem(String reason)`: Restarts the Wi-Fi subsystem.\n- `TelephonyManager#rebootRadio()`: Resets radio modem.\n\nWork with multiple carriers\n---------------------------\n\nIf you adopt the simplified connectivity experience for certain carriers but not\nothers, be aware of the multi-SIM scenario, where a user uses two SIMs, one from\na carrier partner that has opted for the UI changes while the other hasn't. In\nthis scenario, make sure to decide which UI the users see and to thoroughly test\nthe behavior on your devices."]]