Draft for supporting using system configuration for temporary hotspot
Attempt at addressing #166.
This commit is contained in:
5
mobile/src/main/res/drawable/ic_content_file_copy.xml
Normal file
5
mobile/src/main/res/drawable/ic_content_file_copy.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<vector android:autoMirrored="true" android:height="24dp"
|
||||
android:tint="?attr/colorControlNormal" android:viewportHeight="24"
|
||||
android:viewportWidth="24" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="@android:color/white" android:pathData="M16,1L4,1c-1.1,0 -2,0.9 -2,2v14h2L4,3h12L16,1zM15,5l6,6v10c0,1.1 -0.9,2 -2,2L7.99,23C6.89,23 6,22.1 6,21l0.01,-14c0,-1.1 0.89,-2 1.99,-2h7zM14,12h5.5L14,6.5L14,12z"/>
|
||||
</vector>
|
||||
@@ -113,6 +113,8 @@
|
||||
<string name="settings_service_repeater_safe_mode">中继安全模式</string>
|
||||
<string name="settings_service_repeater_safe_mode_summary">不对系统配置进行修改,但是可能须要较长的网络名称。</string>
|
||||
<string name="settings_service_repeater_safe_mode_warning">使用短名称可能需要关闭安全模式。</string>
|
||||
<string name="settings_service_temp_hotspot_use_system">临时 WLAN 热点使用系统配置</string>
|
||||
<string name="settings_service_temp_hotspot_use_system_summary">这将与其他使用本地热点的应用冲突</string>
|
||||
<string name="settings_service_wifi_lock">保持 Wi\u2011Fi 开启</string>
|
||||
<string name="settings_service_wifi_lock_none">系统默认</string>
|
||||
<string name="settings_service_wifi_lock_full">开</string>
|
||||
|
||||
@@ -131,6 +131,9 @@
|
||||
not work with short network names.</string>
|
||||
<string name="settings_service_repeater_safe_mode_warning">Short network names might require turning off safe
|
||||
mode.</string>
|
||||
<string name="settings_service_temp_hotspot_use_system">Use system configuration for temporary hotspot</string>
|
||||
<string name="settings_service_temp_hotspot_use_system_summary">Will conflict with other apps using local only
|
||||
hotspot</string>
|
||||
<string name="settings_service_wifi_lock">Keep Wi\u2011Fi alive</string>
|
||||
<string name="settings_service_wifi_lock_none">System default</string>
|
||||
<string name="settings_service_wifi_lock_full">On</string>
|
||||
|
||||
@@ -68,6 +68,11 @@
|
||||
app:title="@string/settings_service_repeater_safe_mode"
|
||||
app:summary="@string/settings_service_repeater_safe_mode_summary"
|
||||
app:defaultValue="true"/>
|
||||
<SwitchPreference
|
||||
app:key="service.tempHotspot.useSystem"
|
||||
app:icon="@drawable/ic_content_file_copy"
|
||||
app:title="@string/settings_service_temp_hotspot_use_system"
|
||||
app:summary="@string/settings_service_temp_hotspot_use_system_summary"/>
|
||||
<com.takisoft.preferencex.SimpleMenuPreference
|
||||
app:key="service.ipMonitor"
|
||||
app:icon="@drawable/ic_hardware_device_hub"
|
||||
|
||||
Reference in New Issue
Block a user