Commit Graph

432 Commits

Author SHA1 Message Date
Marvin W 552aaf856d
Update stub services 2022-01-24 17:47:34 +01:00
Marvin W 10de88b89f
Add new Auth API features 2022-01-24 17:47:34 +01:00
Marvin W 854f879da4
Update checkin service API 2022-01-24 17:47:34 +01:00
Marvin W fd8ce71a83
Add initial UI for new features 2022-01-24 17:47:34 +01:00
Marvin W 56b8bc9f65
Update DroidGuard + SafetyNet 2022-01-18 18:42:23 +01:00
Marvin W 2dd6b6b173
Fixes for profile manager 2022-01-18 13:50:45 +01:00
Marvin W 05d18bb8d2
Do not use application context when requesting resources
Application context is not properly themed, resulting in ugly UI on some devices
2022-01-14 10:39:10 +01:00
Marvin W a7b2b7e3f8
Add profile manager 2022-01-14 10:39:10 +01:00
Marvin W 6d45bfb7ed
Add DroidGuard support 2022-01-14 10:39:09 +01:00
Marvin W a7eb9a2732
Update firebase dynamic links API 2022-01-14 10:39:09 +01:00
Francesco Saltori 507c20aaac
Update and improve Italian translation (#1457) 2021-11-25 06:43:59 +01:00
Torsten Grote 222b03f7ee Respect bounds for heartbeat intervals when learning from timeouts
Without this it can happen that we learn the interval too close to 0 which causes us to assume that we are always disconnected breaking Mcs network functionality

Change-Id: I0dee59d1365a8e10941dd346bfcd7af19d79d523
2021-11-03 13:02:51 +01:00
Torsten Grote 00a06d4b94 Don't reconnect to gcm when opening settings
This doesn't treat the underlying issues and can make debugging harder if we suddenly auto-connect due to this.

Change-Id: I9c04c78e8ebda8472b0cd8c7b0b0deb2e2300139
2021-11-03 13:02:51 +01:00
Torsten Grote 14d666a163 Do a check-in if we are not actually checked in, but should be, e.g. cleared app data
Change-Id: If800339fa35644d8783203fbd511128457d6d101
2021-11-03 13:02:51 +01:00
Torsten Grote f806e1bcdb When check-in fails due to missing internet access, try again as soon as access is restored 2021-11-03 13:02:51 +01:00
Torsten Grote 1367649a18 Lower heartbeat interval when we find the connection reset when wanting to send a message 2021-11-03 13:02:51 +01:00
Torsten Grote d25e351c41 Re-connected in SettingsFragment if we are erroneously disconnected 2021-11-03 13:02:51 +01:00
David 925ce2ddd9 Fix UI crash in Asus 5.0 devices
Closes: #267 , #463 .
This is the same fix made by emv412 here: https://github.com/microg/android_external_MicroGUiTools/pull/11
2021-10-30 21:08:26 +02:00
Torsten Grote a808476b7d Work around rare crashes that can happen when fragments are not attached to a context
while co-routines are still executing but requiring a context

Change-Id: Ie6c7cee50014b59c25384d3bf9a122081b9917fc
2021-10-30 20:48:40 +02:00
Francesco Saltori 82d11e4e7a Log which app was denied push permission 2021-10-07 12:21:48 +02:00
Marvin W e90ce370d4
Don't log callbacks of Google Sign-In page to logcat
Google seems to include sensitive account details in some of these fields.
Fixes #1567
2021-10-06 11:51:04 +02:00
Marvin W 60d26b80eb
Clearcut: Get rid of log spam due to missing fields in tracking function 2021-08-20 10:28:03 +02:00
Marvin W 659ece03b4
Add mobstore to dummy service 2021-08-20 10:28:03 +02:00
Marvin W d707288ec9
Settings: Make provider package dependent and move to core 2021-08-20 10:28:03 +02:00
Chirayu Desai 012c2ffc89 SettingsProvider: Remove logs
* This is really spammy!

Change-Id: If1b9cbaa50bf8af37ca7146c6f510ad6875bab35
2021-08-19 14:40:48 +02:00
Marvin W db6fd73736
Add Cronet to About screen 2021-07-01 21:20:20 +02:00
Marvin W dc3d6250ac
Revert "Make the application persistent"
This reverts commit 3eb3380c2d.
See #1487 for details
2021-07-01 12:08:07 +02:00
Torsten Grote aa3a2d65cd Refactor settings access to use a SettingsProvider
to enable safe usage of settings no matter which process is getting/setting them.
Previously, different processes were accessing settings in an unsafe way and the warn methods were throwing Runtime exceptions which went largely unnoticed, but happened, especially on a fresh start of the OS.

Change-Id: Ie4134e7be2a7ca4a373790f45fbcbd09bf02ad86
2021-06-27 22:39:15 +02:00
Marvin W 602a34ff4b
TapAndPay: Add Dummy 2021-06-27 20:18:40 +02:00
Marvin W a43048995c
Add Cronet 2021-06-26 11:28:47 +02:00
Marvin W 2e64427734
Add CredentialsService dummy 2021-06-26 11:28:46 +02:00
Torsten Grote 9ccb2073e0 Add a FontsProvider that always returns the default font 2021-06-06 17:00:51 -06:00
Chirayu Desai 3eb3380c2d Make the application persistent
* Should help with not having services killed
* System app only, but shouldn't cause any errors if it's a user-app

Change-Id: Iee2a662da074753008f6896cfa155acbeddcc974
2021-06-06 16:56:07 -06:00
Marvin W a830b5dd5d
Dynamite: Use filters for class loader merging 2021-05-15 15:09:43 +02:00
Marvin W a746e79b91
Auth: Update API implementation 2021-05-15 14:45:50 +02:00
Marvin W 5d50ae375f
Adjust dynamite loader to support chimera modules with merged class loaders 2021-05-14 23:52:21 +02:00
Marvin W cd0953b44e
Update libraries 2021-05-10 16:25:20 +02:00
Marvin W e9766db28e
Fix build 2021-05-06 10:14:01 +02:00
Marvin W f6ec0efb63
Add FACS Cache dummy 2021-05-05 23:35:31 +02:00
Marvin W 1a809e0e47
SafetyNet updates
- Add more API details
- preliminary support for SafetyNet reCAPTCHA
- prepare for improved DroidGuard handling
2021-05-05 23:35:27 +02:00
Nico f5cd584a0a
Correct grammar (#1462) 2021-05-05 23:21:43 +02:00
Francesco Saltori ad12bd5de4
Handle GMS intent for launching account settings (#1452) 2021-04-19 12:42:53 +02:00
Oliver Scott 63d09df2fc Replace remaining shared preference edits with service configuration setters
Change-Id: I518f54653791ce02cb0e82662802474c5e8852d5
2021-04-17 14:54:17 +02:00
Marvin W 161c2ffa24
Add Credentials Picker Stub 2021-04-15 12:06:24 +02:00
Marvin W 91b0f6893f
GCM: Fix confirm dialog in dark theme 2021-03-18 01:20:40 +01:00
Marvin W 5eb04b44db
Fix typo 2021-03-18 01:20:39 +01:00
Marcus Hoffmann ff1f879ab6 add deeplink to rpi information screen
CCTG could use this when interacting with external microG. Instead of
directly embedding the fragment through the bottomNavigationBar we can
at least jump to the correct target location. Doing this through an
implicit deeplink intent seems easiest as an explicit intent adds all
the top level nav elements to the backstack
(see: https://developer.android.com/guide/navigation/navigation-deep-link).

Tested and this works pretty nicely :).
2021-03-17 23:39:56 +01:00
Marvin W c9e09e9714
Use Cursor.getColumnIndexOrThrow() 2021-03-17 19:38:34 +01:00
Marvin W 1516af4395
Move EN permission to withNearby flavour 2021-03-11 10:14:43 +01:00
Marvin W ecfe3da3f7
Wakeful receivers only handle non-null intents 2021-03-09 22:21:25 +01:00