Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_goodmoney
Project
Project
Details
Activity
Releases
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
android
android_goodmoney
Commits
e32815b0
Commit
e32815b0
authored
Jan 30, 2021
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
APP判定时间逻辑修改
parent
f8367f0c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
AppConfig.java
...p/src/main/java/com/mints/goodmoney/common/AppConfig.java
+1
-1
TaskCpdHistoryFragment.kt
...com/mints/goodmoney/ui/fragment/TaskCpdHistoryFragment.kt
+1
-1
AppUtil.kt
...ey/app/src/main/java/com/mints/goodmoney/utils/AppUtil.kt
+1
-1
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/common/AppConfig.java
View file @
e32815b0
...
...
@@ -108,7 +108,7 @@ public class AppConfig {
/**
* 显示cpd任务下载
*/
public
static
boolean
useAppCpdModelShow
=
tru
e
;
public
static
boolean
useAppCpdModelShow
=
fals
e
;
/**
* 微转金币
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/TaskCpdHistoryFragment.kt
View file @
e32815b0
...
...
@@ -192,7 +192,7 @@ class TaskCpdHistoryFragment : LazyLoadBaseFragment(), TaskCpdHistoryView,
readyGo
(
AwardActivity
::
class
.
java
,
bundle
)
}
else
{
// 试玩时间不足5秒
mFakeTaskList
[
position
].
state
=
1
mFakeTaskList
[
position
].
state
=
4
it
.
notifyItemChanged
(
it
.
getPosition
())
}
}
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/utils/AppUtil.kt
View file @
e32815b0
...
...
@@ -139,7 +139,7 @@ object AppUtil {
// l = (list[i] as UsageStats).totalTimeInForeground
// 如果当前上次使用时间 小于 当前时间-5分钟,判断合规
if
(
paramString
==
(
list
[
i
]
as
UsageStats
).
packageName
&&
(
l
-
5
*
60
*
1000L
)
<
(
list
[
i
]
as
UsageStats
).
lastTimeUsed
)
{
if
(
paramString
==
(
list
[
i
]
as
UsageStats
).
packageName
)
{
if
(
BuildConfig
.
DEBUG
)
{
ToastUtil
.
showLong
(
paramContext
,
"当前APP名称:"
+
getAppName
(
paramString
,
paramContext
)
...
...
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