Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed0525a3 authored by Yue Liang's avatar Yue Liang
Browse files

HotSpot: Mandatory Inactivity timer options

The device must have an inactivity timer for Mobile HotSpot.
The default option out of the box must be the
Disable after 10 min of inactivity option.

Change-Id: Ic91afe656477c4012d78a3d53669fa6b227c8bac
CRs-Fixed: 1070422
parent bcc5e2aa
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -93,4 +93,6 @@
    <!-- Config to show bluetooth menu-->
    <bool name="config_hide_bluetooth_menu">false</bool>
    <bool name="config_hotspot_need_show_activated_dialog">false</bool>
    <bool name="config_keep_hotspot_on_10mins_default">false</bool>
    <bool name="hotspot_show_alert_for_open_security">false</bool>
</resources>
+1 −0
Original line number Diff line number Diff line
@@ -7635,4 +7635,5 @@
    <string name="learn_hotspot_dialog_title">Wi-Fi tethering is activated</string>
    <string name="learn_hotspot_dialog_text">Would you like to learn more about wifi Tethering on your phone?</string>
    <string name="open_security_settings_note">With Open security, any device can connect to your Mobile HotSpot and use your mobile data connection.</string>
</resources>
+2 −0
Original line number Diff line number Diff line
@@ -742,6 +742,8 @@ public class TetherSettings extends RestrictedSettingsFragment
                }
                if (isFirstUseUSBTethering(getActivity())) {
                    showFirstUseUSBTetheringDialog(getActivity());
                } else if(checkWifiConnectivityState(getActivity())) {
                    showTurnOffWifiDialog(getActivity());
                }
                startTethering(TETHERING_USB);
            } else {