Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Sobot_module_Dev
Project
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
sobot_android
Sobot_module_Dev
Commits
86092840
Commit
86092840
authored
Mar 18, 2024
by
zhengnw@sobot.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widget 1.2.0
parent
5fe7dc12
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
LiveEventBusCore.java
...a/com/sobot/widget/livedatabus/core/LiveEventBusCore.java
+1
-2
No files found.
sobot_widget/src/main/java/com/sobot/widget/livedatabus/core/LiveEventBusCore.java
View file @
86092840
...
@@ -132,12 +132,11 @@ public final class LiveEventBusCore {
...
@@ -132,12 +132,11 @@ public final class LiveEventBusCore {
if
(
application
!=
null
)
{
if
(
application
!=
null
)
{
IntentFilter
intentFilter
=
new
IntentFilter
();
IntentFilter
intentFilter
=
new
IntentFilter
();
intentFilter
.
addAction
(
IpcConst
.
ACTION
);
intentFilter
.
addAction
(
IpcConst
.
ACTION
);
application
.
registerReceiver
(
receiver
,
intentFilter
);
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
TIRAMISU
)
{
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
TIRAMISU
)
{
application
.
registerReceiver
(
receiver
,
intentFilter
,
RECEIVER_EXPORTED
);
application
.
registerReceiver
(
receiver
,
intentFilter
,
RECEIVER_EXPORTED
);
}
}
// api <= 32
else
{
else
{
// api <= 32
application
.
registerReceiver
(
receiver
,
intentFilter
);
application
.
registerReceiver
(
receiver
,
intentFilter
);
}
}
isRegisterReceiver
=
true
;
isRegisterReceiver
=
true
;
...
...
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