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
165a3b3b
Commit
165a3b3b
authored
Mar 13, 2020
by
hk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新文档
parent
d1b17b4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
README.md
README.md
+0
-3
No files found.
README.md
View file @
165a3b3b
...
@@ -102,8 +102,6 @@
...
@@ -102,8 +102,6 @@
//regions成对出现 每一对表示一个可以使用的时间段
//regions成对出现 每一对表示一个可以使用的时间段
regions.add(Long.valueOf(9 * 3600));//起始时间 9*3600=当天的早上九点
regions.add(Long.valueOf(9 * 3600));//起始时间 9*3600=当天的早上九点
regions.add(Long.valueOf(19 * 3600));//结束时间
regions.add(Long.valueOf(19 * 3600));//结束时间
//设置管控配置
//设置管控配置
TimeConfig config= new TimeConfig.Builder(ColumnDef.TimeManager.WORK_DAY) //管控类型 WORK_DAY=工作日 WEEK_RESET=周末 HOLIDAY_MODE=假日
TimeConfig config= new TimeConfig.Builder(ColumnDef.TimeManager.WORK_DAY) //管控类型 WORK_DAY=工作日 WEEK_RESET=周末 HOLIDAY_MODE=假日
.lockScreenMode(ColumnDef.LockScreen.MODE_UNLOCK) //指定不包含regions的时间段中的锁屏模式
.lockScreenMode(ColumnDef.LockScreen.MODE_UNLOCK) //指定不包含regions的时间段中的锁屏模式
...
@@ -116,7 +114,6 @@
...
@@ -116,7 +114,6 @@
//设置当前的工作模式(主要是针对假日模式,其他两个模式会根据当前时间自动变换,
//设置当前的工作模式(主要是针对假日模式,其他两个模式会根据当前时间自动变换,
//在假日模式过期之后需要主动调用此方法设置为其他模式)
//在假日模式过期之后需要主动调用此方法设置为其他模式)
LauncherManager.getInstance().setCurrentWorkMode(ColumnDef.TimeManager.WORK_DAY);
LauncherManager.getInstance().setCurrentWorkMode(ColumnDef.TimeManager.WORK_DAY);
```
```
...
...
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