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
18b1655b
Commit
18b1655b
authored
Jun 30, 2025
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[恢复]恢复弹通知
parent
3bb9270b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+4
-0
PopupConfigBean.kt
.../java/com/ritoq/quickphone/bean/config/PopupConfigBean.kt
+1
-1
MyNotificationManager.kt
...phone/business/push/notification/MyNotificationManager.kt
+0
-1
No files found.
app/src/main/AndroidManifest.xml
View file @
18b1655b
...
...
@@ -20,6 +20,9 @@
<uses-permission
android:name=
"android.permission.RECEIVE_BOOT_COMPLETED"
/>
<uses-permission
android:name=
"android.permission.REQUEST_DELETE_PACKAGES"
/>
<uses-permission
android:name=
"android.permission.ACCESS_NETWORK_STATE"
/>
<uses-permission
android:name=
"android.permission.FOREGROUND_SERVICE"
/>
<uses-permission
android:name=
"android.permission.FOREGROUND_SERVICE_DATA_SYNC"
/>
<queries>
<intent>
...
...
@@ -189,6 +192,7 @@
<data
android:scheme=
"file"
/>
</intent-filter>
</receiver>
``
<service
android:name=
".business.service.StayJobService"
...
...
app/src/main/java/com/ritoq/quickphone/bean/config/PopupConfigBean.kt
View file @
18b1655b
...
...
@@ -2,7 +2,7 @@ package com.ritoq.quickphone.bean.config
class
PopupConfigBean
(
var
popupStatus
:
Boolean
=
fals
e
,
//推送总开关
var
popupStatus
:
Boolean
=
tru
e
,
//推送总开关
var
popupForegroundCanPush
:
Boolean
=
false
,
//前台是否可以推送
var
popupCount
:
Int
=
500
,
//推送总次数
var
isDifferNotificationId
:
Boolean
=
true
,
//推送使用不同的通知ID
...
...
app/src/main/java/com/ritoq/quickphone/business/push/notification/MyNotificationManager.kt
View file @
18b1655b
...
...
@@ -41,7 +41,6 @@ object MyNotificationManager {
private
var
sendBeanBlockingQueue
=
ArrayBlockingQueue
<
NotificationSendBean
>(
10
)
fun
submitSendBean
(
bean
:
NotificationSendBean
)
{
return
//测试哪些位置触发
if
(
BuildConfig
.
DEBUG
)
{
if
(!
testWhere
.
contains
(
bean
.
where
))
return
...
...
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