android: Display a permanent notification while connected
authorTobias Brunner <tobias@strongswan.org>
Wed, 2 Nov 2016 17:26:43 +0000 (18:26 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 8 Dec 2016 16:14:49 +0000 (17:14 +0100)
commitd5070425a0acefb9a316c52c253f24c29e929554
tree4e3278520ad8d29ac0b7908830875a02979db94f
parente03c9369823e4b6f79733c6d15a8ee95da70c389
android: Display a permanent notification while connected

This forces the service to run in the foreground, meaning the system
won't kill it when low on memory.
src/frontends/android/app/src/main/java/org/strongswan/android/logic/CharonVpnService.java
src/frontends/android/app/src/main/java/org/strongswan/android/logic/VpnStateService.java
src/frontends/android/app/src/main/java/org/strongswan/android/ui/VpnStateFragment.java
src/frontends/android/app/src/main/res/drawable-hdpi/ic_notification.png [new file with mode: 0644]
src/frontends/android/app/src/main/res/drawable-hdpi/ic_notification_warning.png [new file with mode: 0644]
src/frontends/android/app/src/main/res/drawable-mdpi/ic_notification.png [new file with mode: 0644]
src/frontends/android/app/src/main/res/drawable-mdpi/ic_notification_warning.png [new file with mode: 0644]
src/frontends/android/app/src/main/res/drawable-xhdpi/ic_notification.png [new file with mode: 0644]
src/frontends/android/app/src/main/res/drawable-xhdpi/ic_notification_warning.png [new file with mode: 0644]