aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/android (follow)
Commit message (Collapse)AuthorAgeFilesLines
* FloatingActionButonBehavior: set translation back to 0 when snackbar diesJason A. Donenfeld2018-07-291-0/+7
|
* MainActivity: Fix fragment selection logicSamuel Holland2018-07-282-107/+65
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* Application: refuse to run on old androidJason A. Donenfeld2018-07-281-0/+12
|
* QuickTileService: fix bug the wrong wayJason A. Donenfeld2018-07-281-0/+14
|
* config: show more informative error message on wrong keyJason A. Donenfeld2018-07-271-1/+1
|
* Set ACRA install sourceJason A. Donenfeld2018-07-261-8/+15
|
* TunnelDetailFragment now restores state correctly after process deathEric Kuck2018-07-265-34/+49
|
* Application: use proper completablefuture for backendJason A. Donenfeld2018-07-265-52/+24
|
* Wire up ACRAJason A. Donenfeld2018-07-261-0/+66
|
* FloatingActionBehaviour: Adjust constructorsHarsh Shandilya2018-07-261-2/+3
| | | | | | Get these in line with the parent class Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* ThemeChangeAwareActivity: reintroduce cache busterJason A. Donenfeld2018-07-251-0/+37
| | | | | This is still needed by certain icons, like the trash icon in the peer editor.
* MainActivity: attempt to fix commit state exceptionsJason A. Donenfeld2018-07-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* TunnelEditorFragment: plug memory leak on listenersJason A. Donenfeld2018-07-251-0/+14
| | | | | | | | Apparently these don't get GC'd unless they're removed explicitly, because there's a global singleton registry of them. So, introduce a little registry of our own. Reported-by: Samuel Holland <samuel@sholland.org>
* qrcode: minor adjustmentsJason A. Donenfeld2018-07-252-5/+5
|
* Added QR code scanner as tunnel import methodEric Kuck2018-07-252-0/+150
|
* tools: pass in debug package nameJason A. Donenfeld2018-07-241-2/+3
|
* FloatingActionsMenuRecyclerViewScrollListener: add final modifiersJason A. Donenfeld2018-07-221-1/+1
|
* treewide: Optimize importsHarsh Shandilya2018-07-224-10/+0
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* fab: move in direct ratio to scrollJason A. Donenfeld2018-07-205-67/+52
|
* fab: make icons always whiteJason A. Donenfeld2018-07-202-34/+1
| | | | | | With the new shade of blue, perhaps this simply looks better. I don't like hard coding the color away from the theme, however.
* TunnelListFragment: Allocate interpolators outside scroll listenerHarsh Shandilya2018-07-201-2/+5
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* TunnelEditorFragment: fix null pointer dereferenceJason A. Donenfeld2018-07-191-2/+4
|
* QuickTileService: fix null pointer dereferenceJason A. Donenfeld2018-07-191-2/+4
|
* TunnelListFragment: setOnScrollListener is old, but we support API 21, so we have to use itJason A. Donenfeld2018-07-181-0/+1
|
* AppListDialogFragment: getArguments is null before onCreateJason A. Donenfeld2018-07-181-1/+8
|
* fab: use auto calculated fling thresholdJason A. Donenfeld2018-07-181-3/+8
|
* fab: make fab respond to recyclerview scroll eventsHarsh Shandilya2018-07-182-0/+58
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* fab: slide fab up when a snackbar showsHarsh Shandilya2018-07-181-0/+32
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* android: QuickTileService: Do not use slashed icon on Android PHarsh Shandilya2018-07-161-6/+11
| | | | | | | | Android P features circle masked QS tiles which make use of colors to denote STATE_ACTIVE/STATE_INACTIVE rather than a slash across the drawable as seen on Android Oreo. Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* android: TunnelListFragment: Annotate parameter to match super methodHarsh Shandilya2018-07-161-1/+2
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* BaseFragment: do not allow tunnel to be nullJason A. Donenfeld2018-07-131-0/+2
|
* TunnelEditorFragment: binding might be nullJason A. Donenfeld2018-07-131-0/+2
|
* QuickTileService: show intermediate state when changingJason A. Donenfeld2018-07-131-0/+3
|
* global: Add nullity annotationsEric Kuck2018-07-1336-245/+280
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Address lint issues in TunnelListFragmentHarsh Shandilya2018-07-121-6/+5
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* TunnelEditorFragment: add DNSes to allowedIPs when excluding rfc1918Jason A. Donenfeld2018-07-121-0/+45
|
* Clean up warningsJason A. Donenfeld2018-07-113-1/+3
|
* fab: remove asus hackJason A. Donenfeld2018-07-111-3/+0
| | | | Let's hope Eric's changes make this no longer required.
* fab: use support library's renderingEric Kuck2018-07-116-600/+86
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* QuickTileService: automatically slash the tileJason A. Donenfeld2018-07-092-4/+262
|
* BaseFragment: in the event no view is available, use toastJason A. Donenfeld2018-07-091-8/+7
|
* Request VPN permissions on activationEric Kuck2018-07-097-89/+97
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Use instanceOf instead of getClassJason A. Donenfeld2018-07-083-3/+3
|
* Switch from ListView to RecyclerViewEric Kuck2018-07-084-235/+99
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* AppListDialogFragment: add deselect all buttonJason A. Donenfeld2018-07-061-1/+8
|
* global: move to Apache 2.0Jason A. Donenfeld2018-07-0647-47/+47
|
* TunnelEditor: fix nitsJason A. Donenfeld2018-07-064-27/+37
|
* AppListDialogFragment: add implementation for excluding applicationsEric Kuck2018-07-066-2/+385
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* android: model: Make some methods staticHarsh Shandilya2018-06-302-5/+5
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* android: FloatingActionsMenu: Don't create labels on ASUS' Android 5 devicesHarsh Shandilya2018-06-301-0/+3
| | | | | | | | They have completely wrecked the framework there and all efforts to work around their absolutely broken software have been in vain, hence let's atleast let users be able to use the app, labels or otherwise. Signed-off-by: Harsh Shandilya <harsh@prjkt.io>