Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
launcherdemo
Overview
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
lihuaikun
launcherdemo
Commits
a6f71f1d
Commit
a6f71f1d
authored
Mar 21, 2020
by
hk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.1.8修改文档
parent
7cb6e7f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
README.md
README.md
+10
-2
No files found.
README.md
View file @
a6f71f1d
# Launcher[![Release Version](https://img.shields.io/badge/release-1.1.
6-red.svg)](https://git.dankal.cn/lihuaikun/androidlibrary/tree/master/cn/dankal/android/launcher/1.1.6
)
# Launcher[![Release Version](https://img.shields.io/badge/release-1.1.
8-red.svg)](https://git.dankal.cn/lihuaikun/androidlibrary/tree/master/cn/dankal/android/launcher/1.1.8
)
1.
添加依赖配置
1.
添加依赖配置
```groovy
```groovy
//在build.gradle中添加maven
//在build.gradle中添加maven
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
}
}
dependencies {
dependencies {
implementation 'cn.dankal.android:launcher:1.1.
5
'
implementation 'cn.dankal.android:launcher:1.1.
8
'
}
}
```
```
2.
AndroidManifests.xml配置
2.
AndroidManifests.xml配置
...
@@ -121,6 +121,14 @@
...
@@ -121,6 +121,14 @@
//获取当前是否可卸载
//获取当前是否可卸载
LauncherManager.getInstance().getUninstallEnable();
LauncherManager.getInstance().getUninstallEnable();
```
```
9.
控制退出/进入管控状态
```java
//改变管制的状态 true 退出管制 false 进入管制 默认false
LauncherManager.getInstance().changeExitState(true);
//获取当前的管制状态
LauncherManager.getInstance().getExitState();
```
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