Settings: revise WifiEnabler and BluetoothEnabler.
This mainly changes the way both enablers react to the airplane mode. Now enablers show a toast message instead of disabling the check box directly. This avoids the inconsistent state introduced by WirelessSettings which controls the check box using layout dependency. Related bug: 2053751
This commit is contained in:
@@ -707,12 +707,14 @@
|
||||
<string name="ip_address">IP address</string>
|
||||
<!-- Label for the signal strength -->
|
||||
<string name="signal">Signal strength</string>
|
||||
<!--Wireless controls setting screen, Wi-Fi check box summary text when turning Wi-Fi on -->
|
||||
<!-- Summary text when turning Wi-Fi or bluetooth on -->
|
||||
<string name="wifi_starting">Turning on\u2026</string>
|
||||
<!--Wireless controls setting screen, Wi-Fi check box summary text when turning Wi-Fi off -->
|
||||
<!-- Summary text when turning Wi-Fi or bluetooth off -->
|
||||
<string name="wifi_stopping">Turning off\u2026</string>
|
||||
<!-- Generic error message , probably not used-->
|
||||
<!-- Summary text when Wi-Fi or bluetooth has error -->
|
||||
<string name="wifi_error">Error</string>
|
||||
<!-- Toast message when Wi-Fi or bluetooth is disallowed in airplane mode -->
|
||||
<string name="wifi_in_airplane_mode">In airplane mode</string>
|
||||
<!-- Error message when Wi-Fi can't start -->
|
||||
<string name="error_starting">Unable to start Wi-Fi</string>
|
||||
<!-- Error message when Wi-Fi can't stop -->
|
||||
|
||||
Reference in New Issue
Block a user