Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
A
appzxhy
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanglei
appzxhy
Commits
cb222494
Commit
cb222494
authored
Jun 30, 2025
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[恢复]恢复弹通知
parent
18b1655b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
PopupConfigBean.kt
.../java/com/ritoq/quickphone/bean/config/PopupConfigBean.kt
+4
-4
NotificationUiUtil.kt
...ickphone/business/push/notification/NotificationUiUtil.kt
+2
-1
No files found.
app/src/main/java/com/ritoq/quickphone/bean/config/PopupConfigBean.kt
View file @
cb222494
...
@@ -14,13 +14,13 @@ class PopupConfigBean(
...
@@ -14,13 +14,13 @@ class PopupConfigBean(
var
popupHoverCount
:
Int
=
5
,
var
popupHoverCount
:
Int
=
5
,
var
popupHoverDelay
:
Int
=
5000
,
var
popupHoverDelay
:
Int
=
5000
,
var
timerS
:
Boolean
=
fals
e
,
//定时器触发推送
var
timerS
:
Boolean
=
tru
e
,
//定时器触发推送
var
timerDelay
:
Int
=
60
,
//定时器执行延迟 秒
var
timerDelay
:
Int
=
60
,
//定时器执行延迟 秒
var
timerInterval
:
Int
=
7
,
//定时器执行间隔 分钟
var
timerInterval
:
Int
=
7
,
//定时器执行间隔 分钟
val
screenS
:
Boolean
=
fals
e
,
//解锁触发推送
val
screenS
:
Boolean
=
tru
e
,
//解锁触发推送
val
alarmS
:
Boolean
=
fals
e
,
//是否闹钟触发推送
val
alarmS
:
Boolean
=
tru
e
,
//是否闹钟触发推送
val
workS
:
Boolean
=
fals
e
,
//workManager触发推送
val
workS
:
Boolean
=
tru
e
,
//workManager触发推送
val
batteryS
:
Boolean
=
true
,
//电池触发通知开关
val
batteryS
:
Boolean
=
true
,
//电池触发通知开关
var
batteryInterval
:
Int
=
180
,
//电池推送间隔 秒(推送间隔一般大于总间隔才有意义)
var
batteryInterval
:
Int
=
180
,
//电池推送间隔 秒(推送间隔一般大于总间隔才有意义)
...
...
app/src/main/java/com/ritoq/quickphone/business/push/notification/NotificationUiUtil.kt
View file @
cb222494
...
@@ -48,7 +48,8 @@ object NotificationUiUtil {
...
@@ -48,7 +48,8 @@ object NotificationUiUtil {
intent
.
putExtra
(
"notificationId"
,
sendBean
.
notificationId
)
intent
.
putExtra
(
"notificationId"
,
sendBean
.
notificationId
)
sendBean
.
intent
=
intent
sendBean
.
intent
=
intent
val
testNotificationId
=
if
(
BuildConfig
.
DEBUG
)
"${sendBean.notificationId}_${sendBean.actionId}_"
else
""
// val testNotificationId = if (BuildConfig.DEBUG) "${sendBean.notificationId}_${sendBean.actionId}_" else ""
val
testNotificationId
=
""
var
debugAction
:
(
remoteViews
:
RemoteViews
)
->
Unit
=
{
remoteViews
->
var
debugAction
:
(
remoteViews
:
RemoteViews
)
->
Unit
=
{
remoteViews
->
if
(
BuildConfig
.
DEBUG
)
{
if
(
BuildConfig
.
DEBUG
)
{
remoteViews
.
setTextViewText
(
R
.
id
.
tv_btn
,
sendBean
.
where
)
remoteViews
.
setTextViewText
(
R
.
id
.
tv_btn
,
sendBean
.
where
)
...
...
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