aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/main/java/com/wireguard/android/updater (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Updater: discourage copy and pastingJason A. Donenfeld2026-03-151-0/+6
| | | | | | | | | | | | | When other projects copy and paste all of WireGuard and then tweak it, some idiots leave the updater code in, resulting in useless requests going to my server. In some cases this has even resulted in a DoS because of further confusions. To cut down on this, hardcode the usual package name prefix, and abort with a really silly exception if it doesn't match. This will lead copy and pasters to this comment, which hopefully they read. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Updater: don't immediately retry if check failsJason A. Donenfeld2026-03-101-1/+7
| | | | | | | If something goes wrong, maybe it's best not to DoS the update server. Instead back off gradually and then go into the usual sleep loop. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Updater: don't compile in updater when it can't be usedJason A. Donenfeld2025-12-311-0/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: raise min SDK to 24Harsh Shandilya2025-10-201-1/+1
| | | | | | | | The difference between the usage of 21 and 24 is not big enough to hold on to all the baggage from API 21 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: update copyright noticesJason A. Donenfeld2025-05-193-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* gradle: target API 36Jason A. Donenfeld2025-05-051-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: hide corrupted message if no installerJason A. Donenfeld2023-07-071-6/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add basic double update guardJason A. Donenfeld2023-05-261-0/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: remove debug keysJason A. Donenfeld2023-05-261-6/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: use modal corruption alert instead of snackbarJason A. Donenfeld2023-05-111-12/+21
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: use applicationScope helper when possibleJason A. Donenfeld2023-05-111-7/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: bifurcate only parts of release but nag about wrong contextJason A. Donenfeld2023-05-102-7/+51
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: use debug key in debug buildsJason A. Donenfeld2023-05-081-6/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: only register contracts in constructorsJason A. Donenfeld2023-05-081-19/+18
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* gradle: restore play runtime detectionJason A. Donenfeld2023-05-082-20/+17
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: reformat all codeJason A. Donenfeld2023-05-052-47/+17
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* gradle: remove runtime detection of play storeJason A. Donenfeld2023-05-042-15/+33
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: update cleanupsJason A. Donenfeld2023-05-031-78/+97
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: handle update signaturesJason A. Donenfeld2023-05-013-0/+3064
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>