summaryrefslogtreecommitdiffhomepage
path: root/app/src
AgeCommit message (Collapse)Author
2018-07-22FloatingActionsMenuRecyclerViewScrollListener: add final modifiersJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-22RTL layout fixesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-22treewide: Optimize importsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-20fab: move in direct ratio to scrollJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-20UI: use background color for navbar in dark modeHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-20fab: make icons always whiteJason A. Donenfeld
With the new shade of blue, perhaps this simply looks better. I don't like hard coding the color away from the theme, however. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-20theme: use less disgusting colorJason A. Donenfeld
Harsh's "users" were offended by the dark theme. So, we change the accent to that used by gboard's dark theme, which should be pretty uncontroversial. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-20TunnelListFragment: Allocate interpolators outside scroll listenerHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-19TunnelEditorFragment: fix null pointer dereferenceJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-19QuickTileService: fix null pointer dereferenceJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-18TunnelListFragment: setOnScrollListener is old, but we support API 21, so we ↵Jason A. Donenfeld
have to use it Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-18AppListDialogFragment: getArguments is null before onCreateJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-18fab: use auto calculated fling thresholdJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-18fab: add fab sized padding at bottom of recycler viewJason A. Donenfeld
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>
2018-07-18fab: make fab respond to recyclerview scroll eventsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-18fab: slide fab up when a snackbar showsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-16android: QuickTileService: Do not use slashed icon on Android PHarsh Shandilya
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>
2018-07-16InetAddresses: unwrap reflection exceptionsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-16android: TunnelListFragment: Annotate parameter to match super methodHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-13BaseFragment: do not allow tunnel to be nullJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-13config: dns servers can be nullJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-13config: make loadData privateJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-13TunnelEditorFragment: binding might be nullJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-13QuickTileService: show intermediate state when changingJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-13global: Add nullity annotationsEric Kuck
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-07-12Version bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-12Address lint issues in TunnelListFragmentHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-12TunnelEditorFragment: add DNSes to allowedIPs when excluding rfc1918Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-11Clean up warningsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-11fab: remove asus hackJason A. Donenfeld
Let's hope Eric's changes make this no longer required. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-11fab: use support library's renderingEric Kuck
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-07-09QuickTileService: automatically slash the tileJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-09BaseFragment: in the event no view is available, use toastJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-09Request VPN permissions on activationEric Kuck
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-07-08Use instanceOf instead of getClassJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-08Build with different name and ID in debug modeEric Kuck
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-07-08Switch from ListView to RecyclerViewEric Kuck
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-07-06PeerEditor: put exclusion checkbox next to labelJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-06AppListDialogFragment: add deselect all buttonJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-06global: move to Apache 2.0Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-06PeerEditor: add exclude private IPs functionalityJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-06TunnelEditor: fix nitsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-06AppListDialogFragment: add implementation for excluding applicationsEric Kuck
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-07-06TunnelEditor: better looking buttonsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-30android: model: Make some methods staticHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-30android: FloatingActionsMenu: Don't create labels on ASUS' Android 5 devicesHarsh Shandilya
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>
2018-06-30android: VersionPreference: Handle no-browser-installed caseHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-30android: Add select all button to action modeHarsh Shandilya
Thanks to Jason for suggesting the not-clinically-insane method to go about this. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-25global: Small cleanupsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-23android: Consolidate getPrefActivity into FragmentUtilsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> [Samuel: Changed static to non-static import] Signed-off-by: Samuel Holland <samuel@sholland.org>