]> git.ipfire.org Git - thirdparty/strongswan.git/commit
android: Again change how data source is handled in TileService
authorTobias Brunner <tobias@strongswan.org>
Mon, 21 Oct 2019 13:12:05 +0000 (15:12 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 2 Jun 2020 11:57:37 +0000 (13:57 +0200)
commit907a31db4cf36dcd76fa8de3ae98c295d6c2f0e0
treecff645de632a50df1cc5465e71c227348b86a296
parent0ff939585ec7e24c36af77615255d1dc8ca8609a
android: Again change how data source is handled in TileService

Evidently, onClick() may be called either before onStartListening() or
after onStopListening() has been called, which causes a crash when
trying to load a VpnProfile via mDataSource.

This partially reverts 3716af079e21 ("android: Avoid crash related to
TileService on Huawei devices").
src/frontends/android/app/src/main/java/org/strongswan/android/ui/VpnTileService.java