summaryrefslogtreecommitdiffhomepage
path: root/android/src/main
AgeCommit message (Collapse)AuthorFilesLines
2020-03-19Regenerate small monochromatic logosJanito Vaqueiro Ferreira Filho10-0/+0
2020-03-18Update tile state as soon as it's shownJanito Vaqueiro Ferreira Filho1-0/+2
2020-03-18Change quick tile icon based on tunnel stateJanito Vaqueiro Ferreira Filho1-0/+8
2020-03-18Create a quick settings tileJanito Vaqueiro Ferreira Filho2-0/+85
2020-03-18Add icons for quick settings tileJanito Vaqueiro Ferreira Filho5-0/+0
2020-03-18Rename notification icon drawableJanito Vaqueiro Ferreira Filho6-1/+1
So that it can be shared with the quick settings tile
2020-03-18Allow listening for `TunnelState` persistenceJanito Vaqueiro Ferreira Filho2-0/+52
2020-03-18Persist tunnel state in shared preferencesJanito Vaqueiro Ferreira Filho3-0/+75
2020-03-18Allow representing a `TunnelState` by a `String`Janito Vaqueiro Ferreira Filho1-0/+48
2020-03-17Fix leak of connectivity subscriptionsJanito Vaqueiro Ferreira Filho1-0/+1
The `LocationInfoCache` is created for every service connection, but the `ConnectivityListener` it uses is reused from the service if the service is always the same. Since there was unsubscribe command, the number of listeners would increase every time the main app activity was started. Each listener would then attempt to fetch the location if connectivity was lost and then restored.
2020-03-16Update logo image size in the app screensJanito Vaqueiro Ferreira Filho2-2/+2
2020-03-16Regenerate logo imagesJanito Vaqueiro Ferreira Filho15-0/+0
2020-03-13Remove obsolete `isStable` propertyJanito Vaqueiro Ferreira Filho1-3/+0
2020-03-13Notify when `showBetaReleases` updatesJanito Vaqueiro Ferreira Filho1-1/+6
2020-03-13Refactor to separate `val`s from `var`sJanito Vaqueiro Ferreira Filho1-9/+9
2020-03-13Always calculate `upgradeVersion` when necessaryJanito Vaqueiro Ferreira Filho1-9/+17
2020-03-13Remove obsolete `AppVersionInfo.isOutdated` fieldJanito Vaqueiro Ferreira Filho2-11/+3
2020-03-13Calculate `isOutdated` based on other fieldsJanito Vaqueiro Ferreira Filho1-2/+9
2020-03-13Listen for `showBetaReleases` in version cacheJanito Vaqueiro Ferreira Filho1-0/+7
2020-03-13Use `SettingsListener` in `AppVersionInfoCache`Janito Vaqueiro Ferreira Filho2-2/+6
2020-03-11Beta program option in CLIDavid Lönnhager1-1/+2
2020-02-28Remove tunnel action permissionJanito Vaqueiro Ferreira Filho2-9/+2
2020-02-27Format manifest XML fileJanito Vaqueiro Ferreira Filho1-28/+17
2020-02-27Change notification banner for non-blocking errorJanito Vaqueiro Ferreira Filho2-9/+10
2020-02-27Change action button for non-blocking error stateJanito Vaqueiro Ferreira Filho1-3/+21
2020-02-27Update connection status text for error stateJanito Vaqueiro Ferreira Filho1-4/+3
2020-02-27Show critical error message in notificationJanito Vaqueiro Ferreira Filho2-3/+11
2020-02-27Fix reconnect button vector drawable on API 21Janito Vaqueiro Ferreira Filho1-1/+1
2020-02-21Format all the android xml filesEmīls65-1814/+1459
2020-02-21Remove unused parameterEmīls1-1/+1
2020-02-21Make enum check exhaustiveEmīls1-0/+1
2020-02-21Remove shadowing in MainActivity.ktEmīls1-2/+2
2020-02-21Remove unecessary null-checksEmīls2-13/+7
2020-02-17Make the settings screen scrollableJanito Vaqueiro Ferreira Filho1-186/+198
2020-02-17Swap country and city labels in connect screenJanito Vaqueiro Ferreira Filho1-2/+2
2020-02-15Implement reconnect button behaviorJanito Vaqueiro Ferreira Filho1-0/+1
2020-02-15Implement `ConnectionProxy.reconnect()`Janito Vaqueiro Ferreira Filho1-0/+24
2020-02-15Implement `MullvadDaemon.reconnect()`Janito Vaqueiro Ferreira Filho1-0/+5
2020-02-15Add callback for reconnect button behaviorJanito Vaqueiro Ferreira Filho1-0/+2
2020-02-15Update text alignment when layout changesJanito Vaqueiro Ferreira Filho1-0/+6
2020-02-15Keep track if reconnect button is visible or notJanito Vaqueiro Ferreira Filho1-4/+20
2020-02-15Refactor to remove repeated codeJanito Vaqueiro Ferreira Filho1-5/+6
2020-02-15Recalc. reconnect button space when layout changesJanito Vaqueiro Ferreira Filho1-10/+12
2020-02-15Fix text alignment when reconnect button is shownJanito Vaqueiro Ferreira Filho1-0/+15
2020-02-15Show reconnect button on the appropriate statesJanito Vaqueiro Ferreira Filho1-4/+9
2020-02-15Rename `button` field into `mainButton`Janito Vaqueiro Ferreira Filho1-8/+8
2020-02-15Add reconnect button to layoutJanito Vaqueiro Ferreira Filho1-4/+21
2020-02-15Add reconnect button drawable resourceJanito Vaqueiro Ferreira Filho1-0/+11
2020-02-15Split red button background in twoJanito Vaqueiro Ferreira Filho2-0/+44
2020-02-14Check if returned tunnel is nullEmīls1-1/+1
If the daemon tries to connect when our service has had it's permissions revoked on Android, VpnServiceBuilder.establish() will return a null poitner, which has to be checked for. By returning an error when this happens, the daemon ends up in the error state where it's not blocking. Whilst not ideal, this is preferrable to the crash.