Go to file
Jason A. Donenfeld 2db2a0921d MainActivity: attempt to fix commit state exceptions
This is an attempt to fix:

java.lang.IllegalStateException:
at android.support.v4.app.FragmentManagerImpl.checkStateLoss (FragmentManager.java:2053)
at android.support.v4.app.FragmentManagerImpl.enqueueAction (FragmentManager.java:2079)
at android.support.v4.app.BackStackRecord.commitInternal (BackStackRecord.java:678)
at android.support.v4.app.BackStackRecord.commit (BackStackRecord.java:632)
at com.wireguard.android.activity.MainActivity.moveToState (MainActivity.java:58)
at com.wireguard.android.activity.MainActivity.onSelectedTunnelChanged (MainActivity.java:157)
at com.wireguard.android.activity.BaseActivity.setSelectedTunnel (BaseActivity.java:75)
at com.wireguard.android.fragment.BaseFragment.setSelectedTunnel (BaseFragment.java:82)
at com.wireguard.android.fragment.TunnelListFragment.lambda$null$4$TunnelListFragment (TunnelListFragment.java:307)
at com.wireguard.android.fragment.TunnelListFragment$$Lambda$4.onClick (Unknown Source:6)
at android.view.View.performClick (View.java:6274)
at android.view.View$PerformClick.run (View.java:24729)
at android.os.Handler.handleCallback (Handler.java:789)
at android.os.Handler.dispatchMessage (Handler.java:98)
at android.os.Looper.loop (Looper.java:169)
at android.app.ActivityThread.main (ActivityThread.java:6595)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:767)

But this is probably the wrong way to fix it and instead moveToState
needs to be reimagined.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-25 03:07:16 +02:00
.idea global: Add nullity annotations 2018-07-13 03:46:23 +02:00
app MainActivity: attempt to fix commit state exceptions 2018-07-25 03:07:16 +02:00
gradle/wrapper app: Regularly scheduled gradle updates 2018-06-19 21:35:54 -05:00
.gitignore global: Add nullity annotations 2018-07-13 03:46:23 +02:00
.gitmodules GoBackend: integrate into app 2018-02-17 21:14:09 +01:00
build.gradle app: Regularly scheduled gradle updates 2018-06-19 21:35:54 -05:00
COPYING global: move to Apache 2.0 2018-07-06 16:28:46 +02:00
gradle.properties project: Create empty project with WireGuard icon 2017-07-28 23:10:37 -05:00
gradlew wg-build: Update gradle build files 2018-05-02 03:40:02 +02:00
README.md global: move to Apache 2.0 2018-07-06 16:28:46 +02:00
settings.gradle project: Create empty project with WireGuard icon 2017-07-28 23:10:37 -05:00

Android GUI for WireGuard

Download from the Play Store

This is an Android GUI for WireGuard. It opportunistically uses the kernel implementation, and falls back to using the non-root userspace implementation.

Building

$ git clone https://git.zx2c4.com/wireguard-android
$ cd wireguard-android
$ git submodule init
$ git submodule update
$ ./gradlew assembleRelease