Commit e994de5
committed
Fixed: Fix exception in ResultReturner while setting result for a non-ordered broadcast
```
java.lang.RuntimeException: BroadcastReceiver trying to return result during a non-ordered broadcast
at android.content.BroadcastReceiver$PendingResult.checkSynchronousHint(BroadcastReceiver.java:351)
at android.content.BroadcastReceiver$PendingResult.setResultCode(BroadcastReceiver.java:154)
at com.termux.api.util.ResultReturner.lambda$returnData$0(ResultReturner.java:196)
at com.termux.api.util.ResultReturner$$ExternalSyntheticLambda0.run(Unknown Source:8)
at java.lang.Thread.run(Thread.java:1012)
```1 parent 4159c62 commit e994de5
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | | - | |
| 147 | + | |
149 | 148 | | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| |||
0 commit comments