Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
MobileManager
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Wang Xu
MobileManager
Commits
e63f89cc
Commit
e63f89cc
authored
Mar 23, 2020
by
Baoxy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 更改弹窗
parent
92e5fc2a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
all_apps.xml
Launcher3/res/layout/all_apps.xml
+1
-0
strings.xml
Launcher3/res/values/strings.xml
+1
-1
SettingAdminActivity.kt
...ndroid/launcher3/function/setting/SettingAdminActivity.kt
+3
-2
No files found.
Launcher3/res/layout/all_apps.xml
View file @
e63f89cc
...
...
@@ -80,6 +80,7 @@
android:background=
"@android:color/transparent"
android:layout_gravity=
"bottom"
android:focusableInTouchMode=
"true"
android:visibility=
"invisible"
android:gravity=
"center"
android:imeOptions=
"actionSearch|flagNoExtractUi"
android:inputType=
"text|textNoSuggestions|textCapWords"
...
...
Launcher3/res/values/strings.xml
View file @
e63f89cc
...
...
@@ -321,7 +321,7 @@
<string
name=
"edu_version"
>
%1$s
</string>
<string
name=
"edu_check_update"
>
正在检测更新,请稍后
</string>
<string
name=
"edu_uninstall"
>
正在
卸载中,请稍后
</string>
<string
name=
"edu_uninstall"
>
卸载中,请稍后
</string>
<string
name=
"edu_reinforce"
>
因部分系统版本自身原因,从学习帮内设置回到空间主页时,可能会出现提示设置默认桌面的问题,可在此处确认进行加固处理
</string>
<string
name=
"edu_uninstall_tip"
>
继续操作将卸载学习帮,请确认是否继续
</string>
...
...
Launcher3/src/com/android/launcher3/function/setting/SettingAdminActivity.kt
View file @
e63f89cc
...
...
@@ -11,6 +11,7 @@ import com.android.launcher3.R
import
com.android.launcher3.mdm.DisableCompat
import
com.qmuiteam.qmui.widget.grouplist.QMUICommonListItemView
import
com.qmuiteam.qmui.widget.grouplist.QMUIGroupListView
import
com.secspace.lib.common.dialog.LoadingDialog
import
com.secspace.lib.common.dialog.SwitcherDialog
import
com.secspace.lib.common.event.ChangeWallPaperEvent
import
com.secspace.lib.common.function.DialogManager
...
...
@@ -111,12 +112,12 @@ class SettingAdminActivity : BaseActivity() {
private
fun
uninstall
()
{
GlobalScope
.
launch
(
Dispatchers
.
Main
)
{
SwitcherDialog
.
getInstance
(
mContext
).
show
(
getString
(
R
.
string
.
edu_uninstall
),
"unInstall"
)
LoadingDialog
.
getInstance
(
mContext
).
show
(
getString
(
R
.
string
.
edu_uninstall
)
)
removeForbidden
(
mContext
)
delay
(
1000
)
uninstallService
(
mContext
)
delay
(
800
)
SwitcherDialog
.
getInstance
(
mContext
).
dismiss
(
"unInstall"
)
LoadingDialog
.
getInstance
(
mContext
).
dismiss
(
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment