aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* config: Remove Locale based string formatHarsh Shandilya2018-07-242-8/+4
| | | | | | | | | | | | The configurations are supposed to be in a very specific format which is not user-facing and hence doesn't have to be adjusted for locale avoiding both the redundancy as well as potential breakages in the configuration file format from different locales. Fixes: 71c67aa24ae2 ("config: Minor cleanup") Reported-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tools: pass in debug package nameJason A. Donenfeld2018-07-241-2/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Make placeholder prettyJason A. Donenfeld2018-07-234-6/+22
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Show help text when no tunnels are importedHarsh Shandilya2018-07-222-0/+15
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* FloatingActionsMenuRecyclerViewScrollListener: add final modifiersJason A. Donenfeld2018-07-221-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* RTL layout fixesHarsh Shandilya2018-07-225-4/+7
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* treewide: Optimize importsHarsh Shandilya2018-07-224-10/+0
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: move in direct ratio to scrollJason A. Donenfeld2018-07-206-68/+53
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* UI: use background color for navbar in dark modeHarsh Shandilya2018-07-201-0/+9
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: make icons always whiteJason A. Donenfeld2018-07-206-39/+6
| | | | | | | | 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>
* theme: use less disgusting colorJason A. Donenfeld2018-07-201-1/+1
| | | | | | | | 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>
* TunnelListFragment: Allocate interpolators outside scroll listenerHarsh Shandilya2018-07-201-2/+5
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* TunnelEditorFragment: fix null pointer dereferenceJason A. Donenfeld2018-07-191-2/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* QuickTileService: fix null pointer dereferenceJason A. Donenfeld2018-07-191-2/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelListFragment: setOnScrollListener is old, but we support API 21, so we have to use itJason A. Donenfeld2018-07-181-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* AppListDialogFragment: getArguments is null before onCreateJason A. Donenfeld2018-07-181-1/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: use auto calculated fling thresholdJason A. Donenfeld2018-07-181-3/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: add fab sized padding at bottom of recycler viewJason A. Donenfeld2018-07-181-0/+2
| | | | | | | 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>
* fab: make fab respond to recyclerview scroll eventsHarsh Shandilya2018-07-184-1/+63
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: slide fab up when a snackbar showsHarsh Shandilya2018-07-182-1/+34
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* 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 <me@msfjarvis.dev>
* InetAddresses: unwrap reflection exceptionsJason A. Donenfeld2018-07-161-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* android: TunnelListFragment: Annotate parameter to match super methodHarsh Shandilya2018-07-161-1/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* BaseFragment: do not allow tunnel to be nullJason A. Donenfeld2018-07-131-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* config: dns servers can be nullJason A. Donenfeld2018-07-131-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* config: make loadData privateJason A. Donenfeld2018-07-132-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelEditorFragment: binding might be nullJason A. Donenfeld2018-07-131-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* QuickTileService: show intermediate state when changingJason A. Donenfeld2018-07-131-0/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: Add nullity annotationsEric Kuck2018-07-1344-310/+388
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Version bump0.0.20180711Jason A. Donenfeld2018-07-121-1/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Address lint issues in TunnelListFragmentHarsh Shandilya2018-07-121-6/+5
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* TunnelEditorFragment: add DNSes to allowedIPs when excluding rfc1918Jason A. Donenfeld2018-07-123-18/+93
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Clean up warningsJason A. Donenfeld2018-07-113-1/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: remove asus hackJason A. Donenfeld2018-07-111-3/+0
| | | | | | Let's hope Eric's changes make this no longer required. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: use support library's renderingEric Kuck2018-07-1119-640/+108
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* QuickTileService: automatically slash the tileJason A. Donenfeld2018-07-093-33/+262
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* BaseFragment: in the event no view is available, use toastJason A. Donenfeld2018-07-091-8/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Request VPN permissions on activationEric Kuck2018-07-099-95/+107
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Use instanceOf instead of getClassJason A. Donenfeld2018-07-083-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Build with different name and ID in debug modeEric Kuck2018-07-082-2/+6
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Switch from ListView to RecyclerViewEric Kuck2018-07-086-237/+107
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* PeerEditor: put exclusion checkbox next to labelJason A. Donenfeld2018-07-062-13/+14
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* AppListDialogFragment: add deselect all buttonJason A. Donenfeld2018-07-062-1/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: move to Apache 2.0Jason A. Donenfeld2018-07-0659-59/+59
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* PeerEditor: add exclude private IPs functionalityJason A. Donenfeld2018-07-063-1/+46
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelEditor: fix nitsJason A. Donenfeld2018-07-067-29/+49
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* AppListDialogFragment: add implementation for excluding applicationsEric Kuck2018-07-0612-4/+550
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* TunnelEditor: better looking buttonsJason A. Donenfeld2018-07-061-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* android: model: Make some methods staticHarsh Shandilya2018-06-302-5/+5
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* 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 <me@msfjarvis.dev>