update usage permission

This commit is contained in:
quliangxu 2024-11-21 13:53:08 +08:00
parent cb22fe5336
commit d72cb20aba
6 changed files with 7 additions and 268006 deletions

2
.gitignore vendored
View File

@ -14,7 +14,7 @@
.cxx
local.properties
#Android
proguardMapping.txt
# Gradle files
.gradle/
build/

View File

@ -1,9 +1,9 @@
JtunRouting
JtunRouter
=============
Description
------------
[JtunRouting](https://github.com/jtun-coder/JtunRouting) It is an Android-based application that enables managing hotspot properties through a web interface, providing mobile routing functionality.
[JtunRouter](https://github.com/jtun-coder/JtunRouting) It is an Android-based application that enables managing hotspot properties through a web interface, providing mobile routing functionality.
Users can manage the device remotely via the management page without needing to operate the screen, enabling access to an app store and management of third-party applications.
Adapt to simple configuration, startup and other functions.

File diff suppressed because it is too large Load Diff

View File

@ -12,8 +12,8 @@
"filters": [],
"attributes": [],
"versionCode": 1,
"versionName": "1.0",
"outputFile": "Routing_v1.0.apk"
"versionName": "1.0.01",
"outputFile": "JtunRouter_v1.0.01.apk"
}
],
"elementType": "File"

View File

@ -78,7 +78,7 @@ class MainActivity : AppCompatActivity(), EasyPermissions.PermissionCallbacks, L
// .putExtra(TetheringService.EXTRA_REMOVE_INTERFACE, "swlan0"))
startAp()
SystemCtrlUtil.systemSettings(this)
// SystemCtrlUtil.requestUsageStatsPermission(this) //重启后立即打开应用会呼出设置界面
SystemCtrlUtil.requestUsageStatsPermission(this)
SocketIO.getInstance().connect()
// SmsManager.defaultSmsPackage(this)
}

View File

@ -1,5 +1,5 @@
<resources>
<string name="app_name">JtunRouting</string>
<string name="app_name">JtunRouter</string>
<string name="title_repeater">Repeater</string>
<string name="title_tethering">Tethering</string>
<string name="title_clients">Clients</string>