Jason A. Donenfeld
8e3586328c
fab: use auto calculated fling threshold
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
f315654d40
fab: add fab sized padding at bottom of recycler view
This way we can keep scrolling when there are exactly the right number
of items, so that the toggle switch becomes visible.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Harsh Shandilya
fdfab18d45
fab: make fab respond to recyclerview scroll events
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6 years ago
Harsh Shandilya
d43e77867c
fab: slide fab up when a snackbar shows
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6 years ago
Harsh Shandilya
df03bdd7f9
android: QuickTileService: Do not use slashed icon on Android P
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 <me@msfjarvis.dev>
6 years ago
Jason A. Donenfeld
ae5bf6fbb2
Version bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
04ff63f1b5
InetAddresses: unwrap reflection exceptions
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Harsh Shandilya
71cf39660f
android: TunnelListFragment: Annotate parameter to match super method
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6 years ago
Jason A. Donenfeld
7364f2540e
BaseFragment: do not allow tunnel to be null
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
5d66f6b2e5
config: dns servers can be null
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
fec5fa8caf
config: make loadData private
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
6f48e138a4
TunnelEditorFragment: binding might be null
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
21c15fe4ea
QuickTileService: show intermediate state when changing
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Eric Kuck
67ea8b2936
global: Add nullity annotations
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
6 years ago
Jason A. Donenfeld
fbaa4d9ab1
Version bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Harsh Shandilya
19b57c41b7
Address lint issues in TunnelListFragment
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6 years ago
Jason A. Donenfeld
26d762bc5c
TunnelEditorFragment: add DNSes to allowedIPs when excluding rfc1918
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
eab0248aaa
Clean up warnings
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
a5bbe171cb
fab: remove asus hack
Let's hope Eric's changes make this no longer required.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Eric Kuck
5463086e75
fab: use support library's rendering
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
6 years ago
Jason A. Donenfeld
1f7bdd4f5f
Version bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
3cf6aad083
QuickTileService: automatically slash the tile
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
b997a2581b
BaseFragment: in the event no view is available, use toast
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Eric Kuck
d7ea078cdf
Request VPN permissions on activation
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
6 years ago
Jason A. Donenfeld
d50e0f5fb9
Use instanceOf instead of getClass
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Eric Kuck
c696e9f275
Build with different name and ID in debug mode
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
6 years ago
Jason A. Donenfeld
707c8c19a8
gradle: bump build tools version
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Eric Kuck
b37b48b8dc
Switch from ListView to RecyclerView
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
6 years ago
Jason A. Donenfeld
2c7203ab8d
Another bump for misbuild
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
d1a812042c
Version bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
78d976162d
PeerEditor: put exclusion checkbox next to label
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
7078162c69
AppListDialogFragment: add deselect all button
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
2742b09b5a
tools: update wg-quick for ExcludedApplications support
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
7b28d51cdd
global: move to Apache 2.0
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
d132087b3c
PeerEditor: add exclude private IPs functionality
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
124f186983
TunnelEditor: fix nits
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Eric Kuck
500a705531
AppListDialogFragment: add implementation for excluding applications
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
6 years ago
Jason A. Donenfeld
5729947d6c
TunnelEditor: better looking buttons
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Harsh Shandilya
363d0b9126
android: model: Make some methods static
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6 years ago
Harsh Shandilya
e985452f3b
android: FloatingActionsMenu: Don't create labels on ASUS' Android 5 devices
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 <me@msfjarvis.dev>
6 years ago
Harsh Shandilya
5c9643a23b
android: VersionPreference: Handle no-browser-installed case
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6 years ago
Harsh Shandilya
0e3e3ae37b
android: Add select all button to action mode
Thanks to Jason for suggesting the not-clinically-insane
method to go about this.
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6 years ago
Harsh Shandilya
b41d473f64
wireguard: Bump snapshot
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6 years ago
Jason A. Donenfeld
3de549d2c7
Version bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
408e9004b0
libwg-quick: add iptables output allowance
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Jason A. Donenfeld
e1a66d5766
global: Small cleanups
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Harsh Shandilya
99cf2152c4
android: Consolidate getPrefActivity into FragmentUtils
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
[Samuel: Changed static to non-static import]
Signed-off-by: Samuel Holland <samuel@sholland.org>
6 years ago
Harsh Shandilya
53e8d425e9
QuickTileService: Remove useless override
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6 years ago
Harsh Shandilya
9e5f45da15
gradle: Style
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6 years ago
Harsh Shandilya
4c0caa10e9
treewide: Optimize imports
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6 years ago