aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/android/QuickTileService.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* QuickTileService: fix null pointer dereferenceJason A. Donenfeld2018-07-191-2/+4
|
* 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>
* QuickTileService: show intermediate state when changingJason A. Donenfeld2018-07-131-0/+3
|
* global: Add nullity annotationsEric Kuck2018-07-131-6/+5
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Clean up warningsJason A. Donenfeld2018-07-111-0/+1
|
* QuickTileService: automatically slash the tileJason A. Donenfeld2018-07-091-4/+26
|
* global: move to Apache 2.0Jason A. Donenfeld2018-07-061-1/+1
|
* QuickTileService: Remove useless overrideHarsh Shandilya2018-06-231-5/+0
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* treewide: Optimize importsHarsh Shandilya2018-06-231-1/+0
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* Give Samuel heart attack by removing DaggerJason A. Donenfeld2018-06-071-5/+3
|
* ExceptionLoggers: never have a null messageJason A. Donenfeld2018-05-161-1/+1
|
* global: fix up copyrightsJason A. Donenfeld2018-05-031-0/+1
|
* global: Add or update copyright headers in Java codeSamuel Holland2018-05-021-0/+5
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* QuickTileService: Fix crash opening activitySamuel Holland2018-01-101-3/+6
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* QuickTileService: sometimes tile is nullJason A. Donenfeld2018-01-101-0/+2
| | | | | | | | | | | | | | | | According to play store reports, such as: wt88047, 0MB RAM, Android 8.1 java.lang.NullPointerException: at com.wireguard.android.QuickTileService.updateTile (QuickTileService.java:97) at com.wireguard.android.QuickTileService.onStartListening (QuickTileService.java:56) at android.service.quicksettings.TileService$H.handleMessage (TileService.java:407) at android.os.Handler.dispatchMessage (Handler.java:106) at android.os.Looper.loop (Looper.java:164) at android.app.ActivityThread.main (ActivityThread.java:6520) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:442) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:807)
* global: Fix or suppress most lints/warningsSamuel Holland2018-01-081-1/+3
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* Fragment/Tile: Make success/error messages translatableSamuel Holland2018-01-081-10/+6
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* QuickTileService: show toast for longer and use right messagesJason A. Donenfeld2018-01-081-2/+6
|
* global: Prefix tags with WireGuard/Jason A. Donenfeld2018-01-081-1/+1
|
* TunnelManager/QuickTileService: Remember last used tunnelSamuel Holland2018-01-071-83/+28
| | | | | | | This is actually a bit simpler than having a manually-selected "primary" tunnel, and is hopefully easier for the user. Signed-off-by: Samuel Holland <samuel@sholland.org>
* Keyed...: Rename all the thingsSamuel Holland2018-01-061-2/+2
| | | | | | Hooray for diamond interface inheritance. Signed-off-by: Samuel Holland <samuel@sholland.org>
* Convert the list of tunnels to a KeyedObservableListSamuel Holland2018-01-061-12/+35
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* Serviceless rewrite, part 1Samuel Holland2018-01-061-48/+116
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* Settings: show quick tile config if no primary is definedJason A. Donenfeld2017-11-271-1/+7
| | | | This seems like a horrific set of hacks.
* QuickTileService: show app if no profiles existJason A. Donenfeld2017-11-271-2/+4
|
* VpnService: Move it to a backends packageSamuel Holland2017-11-241-0/+1
| | | | | | | | It should be split into two pieces: configuration file management (loading/saving/renaming/deleting) and calling into wg-quick via RootShell. The configuration file management part should then go back into the main package. This is in preparation for adding additional backends based on wg(8) and wireguard-go.
* QuickTileService: Update the tile once on service initSamuel Holland2017-08-221-0/+1
| | | | This makes the tile show the correct info when it is first added.
* QuickTileService: Implement and update from VpnServiceSamuel Holland2017-08-171-0/+81