Commit 45078d0
committed
Fix compilation error in AndroidImplementation.
Corrected the placement of `notifyPushCompletion()` in `AndroidImplementation.java` to resolve the "java.lang.Override is not a repeatable annotation type" error caused by improper nesting with `notifyCommandBehavior`.
This completes the cross-platform push completion support feature, which is OPT-IN via the `delayPushCompletion` build hint.
If the hint is present and true:
- Android: Acquires a `PARTIAL_WAKE_LOCK` upon receiving a push, releasing it only when `notifyPushCompletion()` is called.
- iOS: Delays firing the system completion handler until `notifyPushCompletion()` is called.
Builders have been updated to inject the necessary permissions and runtime properties.
Developer guide documentation has been updated.1 parent 3dd7497 commit 45078d0
File tree
1 file changed
+1
-1
lines changed- Ports/Android/src/com/codename1/impl/android
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2797 | 2797 | | |
2798 | 2798 | | |
2799 | 2799 | | |
2800 | | - | |
2801 | 2800 | | |
2802 | 2801 | | |
2803 | 2802 | | |
| |||
2809 | 2808 | | |
2810 | 2809 | | |
2811 | 2810 | | |
| 2811 | + | |
2812 | 2812 | | |
2813 | 2813 | | |
2814 | 2814 | | |
| |||
0 commit comments