Commit Graph

267 Commits

Author SHA1 Message Date
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 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 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
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
Marvin W c9e09e9714
Use Cursor.getColumnIndexOrThrow() 2021-03-17 19:38:34 +01:00
Marvin W ecfe3da3f7
Wakeful receivers only handle non-null intents 2021-03-09 22:21:25 +01:00
Marvin W baf890cf18
Bump version 2021-01-12 14:27:36 +01:00
Marvin W af0aa2288a
Auth: Log and handle invalid package names 2021-01-06 12:13:20 +01:00
Marvin W 68a16af53b
Change background service notification
Fixes #1324
2020-12-21 21:46:03 +01:00
Marvin W c648883128
UI: Move advanced GCM configuration get/set off ui process 2020-12-20 19:29:51 +01:00
Marvin W f0337b5dcd
Move EN and GCM service in persistent subprocess
This increases stability/durability of these services in case of crashes
2020-12-20 19:29:50 +01:00
Marvin W 3db548187d
Workaround for Android 8.0 NotificationChannel bug
Fixes #1312
2020-12-14 10:04:39 +01:00
Marvin W eaef4bc151
Auth: Do not try to get token for non-existing accounts 2020-12-05 10:03:22 +01:00
Marvin W 5e39818a20
Add initial support for Vision Barcode API
This work is heavily based on work by @lfxgroove

Co-Authored-By: lfxgroove <lfxgroove@zoho.com>
2020-12-05 09:57:19 +01:00
Marvin W c0324710f3
Return empty list of accounts when receiving weird requests
This is an attempt to fix #1052
2020-12-01 18:30:07 +01:00
Marvin W 9ef9f29940
Wallet: Add dummy for isReadyToPay() API 2020-11-19 16:53:50 +01:00
Marvin W 8006b2c8a9
ProviderInstaller: Use conscrypt-gmscore instead of original conscrypt
Helps with bunch of apps that use OkHttp
2020-11-18 14:40:29 +01:00
Marvin W a95f6449f5
GCM: Fix apps not always whitelisted from powersave
Fixes #1188
2020-10-18 10:20:41 +02:00
Marvin W ebbf78a876
Bump version to 20.39.15 2020-10-17 23:49:58 +02:00
Marvin W 26f2e859b8
Ensure checkin before gcm registration, fix gcm permission requests 2020-10-15 22:08:05 +02:00
Marvin W e20a6c3a3c
Checkin: Ensure we recheckin regularly 2020-10-14 10:57:55 +02:00
Marvin W 0ee18ae6f7
Add new permission requirements for Firebase Auth to Self-Check 2020-10-12 21:29:49 +02:00
Marvin W c3bfb63f27
Add initial support for Firebase Auth 2020-10-12 21:29:36 +02:00
Marvin W d0668d3c83
Make nearby module optional, move UI bits in own module 2020-10-09 15:19:43 +02:00
Marvin W 04c955e998
Self-Check: Add missing permission check, allow to grant FakeStore spoofing perm
Fixes #1178
2020-09-27 11:40:46 +02:00
Marvin W a2afbe07fd
Only apply preferences when they actually changed 2020-09-13 02:14:32 +02:00
Marvin W 6ec8332b1e
GCM: Ensure we have a context for preferences 2020-09-09 00:49:05 +02:00
Marvin W d641ca7e7e
Fix UI mismatching actual configuration due to multiprocess 2020-09-03 00:50:39 +02:00
Marvin W 60cc63ed60
GCM: Add support for message acking, deliver to all receivers of package when working permissionless 2020-08-22 23:43:14 +02:00
Marvin W 0388917350
Add more stubs for measurement API 2020-08-11 22:33:30 +02:00
Marvin W 2076970d40
Disable fragment transitions when system transitions/animations are disabled
Fixes #1119
2020-08-05 15:49:22 +02:00
Alexandru Chircu a22a366797 Return v1 for maps. Fixes #1124. 2020-08-05 14:29:09 +02:00
Alexandru Chircu 312d2a1930
Actually instantiate objects so that we don't pass `null`. Fixes #1120 (#1121) 2020-08-04 17:24:02 +02:00
Marvin W 5f70d943cb
Add initial Exposure Notification API implementation 2020-08-03 18:19:20 +02:00
Marvin W 3c2119ce79
Migrate to latest Wire library, build directly from proto 2020-08-01 22:34:53 +02:00
delthas f199f902b1 Fix GCM heartbeat interval for roaming connections with manual interval
When using GCM on a roaming connection, the heartbeat interval is set
to: `networkRoaming  * 6000`. It should instead be
`networkRoaming * 60000` because we're converting from a number of
minutes (stored in the properties) to a number of milliseconds, like
it's done for regular mobile and wifi connections.
2020-07-26 15:43:46 +02:00
Alexandru Chircu 7bc61ab97f
Implement AppInvite and Firebase Dynamic Links 2020-07-26 15:20:06 +02:00
Marvin W ed68a9482e
Add initial basic provisioning service 2020-07-26 13:40:09 +02:00
Marvin W 396965f407
Major changes to core and settings ui 2020-07-26 12:00:16 +02:00
Marvin W 74213474b5
GCM: Do not require receiver permission for target app 2020-07-09 11:39:43 +02:00
georgeto 5146559f89
Fix FCM registration for apps using firebase >= 20.1.1
With version 20.1.1 the Firebase Cloud Messaging SDK started to use
the Firebase Installations SDK, which affects the FCM registration
process.

The implementation of FCM registration in microG failed to pass extra
parameters that became relevant with the introduction of the
Firebase Installations SDK to the FCM registration endpoint.

These additional parameters are passed through to the endpoint with an 'X-' prefix.
2020-07-09 10:27:53 +02:00
Marvin W 8eff51cfb6
Use flavors for mapbox vs vtm 2020-07-09 09:53:37 +02:00
Marvin W 895c74d095
Huge merge/refactor/update 2020-07-08 22:49:27 +02:00
Marvin W db4bb568e1
Run GCM services as foreground service if needed
That's when we run with battery optimizations disabled but not in foreground
2019-12-04 23:14:58 +01:00
Marvin W cb5fe55606
Add Hangouts Meet to known google packages 2019-10-23 11:16:18 +02:00