| Age | Commit message (Collapse) | Author | Files | Lines |
|
The main activity and tv activity are both designed to be running as
singleTask and the app would crash if both were started. This would not
be common, but possible, on a phone or tablet, however this can
potentially occur frequently on Android TV (perhaps depending on OEM),
as both categories LAUNCHER and LEANBACK_LAUNCHER are used. E.g.the tv
launcher would use LEANBACK_LAUNCHER whereas the settings app would use
LAUNCHER.
As the tv activity isn't used for any customization atm, this was fixed
by simply removing the tv activity and adding the LEANBACK_LAUNCHER
category to the main activity.
|
|
Default vibration behavior:
* Vibration enabled for account expiration notification.
* Vibration disabled for tunnel state notification.
These defaults can be overridden in system settings.
|
|
The tunnel state notification is hidden from the lock screen by using
the Android notification visibility mechanism.
|
|
|
|
Remove the tunnel state notification if the task is removed (app swiped
away from recent apps) while the tunnel is disconnected.
|
|
Skip creating/updating the tunnel state notification when the vpn
service is killed.
|
|
By default in Android, a service will be automatically killed if it
belongs to a task that was removed (i.e. from recent apps) without a
chance to run any cleanup logic.
In this case, the lack of cleanup would lead to a crash and auto-restart
(triggered by the system) resulting in a auto-connect. To fix this, a
graceful stop will be ran if the task is removed while the tunnel is
disconnected (service not running as foreground). However if the tunnel
is in other states than disconnected (service running as foreground),
the service should continue to run as it's bound by the system.
|
|
Fixes an issue with url buttons keeping an old reference to service
dependent instances, even after the service connection is no longer
available. The fix ensures that the reference is updated once there
is a new service connection.
|
|
Extracts Android dependency names/versions/repos to Kotlin constants in
source code. The purpose of this change is to minimize duplication,
unify versions and prepare the project to be split into multiple
sub-projects/modules.
|
|
|
|
|
|
|
|
|
|
|
|
Fixes the invalid path to 'keystore.properties' introduced in the
previous split of the android/root project and app module.
|
|
Adds the OWASP Dependency-Check tool to the project to detect
potentially vulnerable dependencies.
Gradle is configured to skip the lintClassPath configuration, which
relies on many dependencies that has been flagged to have CVEs, as it's
related to the lint tooling rather than the project's compilation class
path. The alternative would be to suppress specific CVEs, however that
could potentially result in suppressed CVEs in project compilation
class path.
|
|
Change Android tile title/label to "Toggle VPN" to better inform the
user about the tile action. Also set the subtitle (on Android Q and
above) to match the state shown in the notification.
|
|
The purpose of this is to:
* Comply better with the default Android project structure
(see https://developer.android.com/studio/build).
* Avoid conflicts between project and app dependencies and plugins.
|