]> git.ipfire.org Git - thirdparty/strongswan.git/commit
android: Add Android-specific implementation of scheduler_t
authorTobias Brunner <tobias@strongswan.org>
Thu, 30 Apr 2020 16:55:23 +0000 (18:55 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 2 Jun 2020 12:07:06 +0000 (14:07 +0200)
commitb7d66ae2cd31e8071784efe2c9c1cdf3e2ab6aef
treea7233be981f1e8f9a9f5a73366a36d42db026a69
parentaaa908dc0a1ad4ba498e3b25d1b4cdc3f3facc6e
android: Add Android-specific implementation of scheduler_t

This uses AlarmManager to schedule events in a way that ensures the app
is woken up (requires whitelisting when in Doze mode to be woken up at
the exact time, otherwise there are delays of up to 15 minutes).
src/frontends/android/app/src/main/java/org/strongswan/android/logic/Scheduler.java [new file with mode: 0644]
src/frontends/android/app/src/main/jni/libandroidbridge/Android.mk
src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_scheduler.c [new file with mode: 0644]
src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_scheduler.h [new file with mode: 0644]