summaryrefslogtreecommitdiffhomepage
path: root/android
AgeCommit message (Collapse)AuthorFilesLines
2022-07-15Update android readme with reference to gui/locales/README.mdOskar Nyberg1-0/+7
2022-07-13Download and fix translationsOskar Nyberg19-291/+196
2022-07-08Fix texts missing/flickering sometimesAlbin6-104/+168
2022-07-08Disable badge for tunnel stateAlbin3-2/+5
2022-07-07Fix welcome view not showingAlbin3-21/+24
2022-07-07Adapt Android to new relay structureAlbin5-13/+22
2022-07-06Rename AccountCache to AccountRepositoryAlbin13-57/+63
2022-07-06Refactor android app account cacheAlbin16-168/+214
2022-07-05Fix unnecessary allocsDavid Lönnhager1-2/+2
2022-06-27Cleanup unnessary tile service callAlbin1-2/+0
2022-06-27Handle tile click when device is lockedAlbin1-6/+42
2022-06-27Refactor tile stateAlbin1-19/+27
2022-06-27Always start as foreground from tileAlbin1-10/+7
2022-06-27Improve tile coroutine scope/job handlingAlbin1-13/+8
2022-06-27Fix notification action device stateAlbin1-3/+8
2022-06-27Promote service to fg when actions providedAlbin2-1/+7
As of Android 8 (API level 26), the system has a strict timer where the service must run `startForeground` within seconds after being started as foreground (`startForegroundService`). To mitigate cases where the service has been too slow to reach the target state, for instance when the tile service starts the vpn service as foreground with the connect action, this change aims to always promote the service to foreground when connect/disconnect actions are provided. This solution relies on the service demoting itself to from foreground in cases where it shouldn't run as foreground.
2022-06-22Fix notification actionAlbin2-2/+22
2022-06-22Cleanup TODOs and old account handlingAlbin7-44/+8
2022-06-22Clear login vm state when view recreatedAlbin2-0/+5
2022-06-22Fix testsAlbin4-21/+40
2022-06-22Add device list to login flowAlbin4-9/+40
2022-06-22Add device list uiAlbin10-9/+457
2022-06-22Add safelet extensionAlbin1-0/+5
2022-06-22Add and update device compose componentsAlbin5-17/+162
2022-06-22Propagate device listAlbin4-6/+115
2022-06-22Add device eventsAlbin3-0/+29
2022-06-22Enable auto-login by setting account token argumentAlbin5-1/+22
2022-06-22Add Android device stringsAlbin1-0/+15
2022-06-22Set sharing strategy to WhileSubscribedAlbin3-6/+15
2022-06-22Improve login vm service connection handlingAlbin4-48/+70
2022-06-22Fix flow lifecycle setupAlbin3-23/+28
Ensures that flows are setup in the correct Android lifecycle methods.
2022-06-22Rely on device state for logoutAlbin2-29/+11
Prior to the device management, the only way to logout was via the account view. However, since the logic for handling device revocation is similar to device logout, it can now be handled more or less the same as part of the device state listener in the activity. This means that the account view only has to notify the daemon about the logout which will trigger appropriate transitions.
2022-06-22Add missing device port modelAlbin2-1/+8
2022-06-21Fix the large majority of clippy warningsJonathan1-7/+0
This commit fixes most of the remaining clippy warnings in the codebase. These warnings were the more semantically difficult ones to fix. There are some warnings that remain from the rebase that will be fixed in the upcoming PR.
2022-06-20Add PQ-flags to androidAlbin2-2/+8
2022-06-15Simplify device transition flowAlbin3-18/+35
2022-06-15Improve revoked ui stateAlbin6-23/+27
2022-06-15Add revoked ui testsAlbin3-0/+107
2022-06-15Add revoked vm testsAlbin2-1/+142
2022-06-15Suppress false positive CVE-2021-22569Albin2-0/+16
2022-06-15Add Android device revoked viewAlbin12-26/+299
2022-06-15Add initial compose componentsAlbin7-0/+241
2022-06-15Add compose dependenciesAlbin3-0/+35
2022-06-15Improve state handlingAlbin5-68/+97
2022-06-15Ensure all device events are propagatedAlbin2-5/+6
2022-06-14Fix missing IPC event unregistrationAlbin2-2/+21
2022-06-14Fix failing test due to non-loaded di modulesAlbin1-1/+18
2022-06-13Perform a clippy --fixjonathan3-14/+11
This is a giant commit which performs only a clippy --fix. Auditing can happen in two ways, either by reading every line or by running a `cargo clippy --fix` on the previous commit and make sure that the result is the same.
2022-05-31Fix lifecycle owner view crashAlbin1-3/+2
2022-05-31Use Koin for login vmAlbin4-32/+11