Commit c6ed651
committed
Improve IPC broadcast performance
The broadcast was initially sent in serialized (ordered) mode, which
could cause delays when Android is very busy (such as at early boot).
The broadcast was changed to use normal broadcast mode.
Additionally, FLAG_RECEIVER_FOREGROUND was added to the intent flags,
to make sure the receiver gets a foreground priority boost.1 parent 88ada1f commit c6ed651
File tree
2 files changed
+3
-2
lines changed- librootjava/src/main/java/eu/chainfire/librootjava
2 files changed
+3
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| |||
0 commit comments