Commit Graph

254 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 a746e79b91
Auth: Update API implementation 2021-05-15 14:45:50 +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 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 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 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
Marvin W 9d0bb9670b
Allow access to Google contact data based on READ_CONTACTS permission 2019-10-23 11:16:00 +02:00
Marvin W b0724f1243
Invalidate auth tokens as needed
This seems to fix issues with Google Maps stopping to connect to internet after adding an Account.
2019-10-23 01:38:37 +02:00
Marvin W 6c27c2474e
Ensure form data is not optimized by proguard 2019-10-16 01:29:20 +02:00
Marvin W 3c5e68404b
Improvements to Wear code for emulator 2019-10-15 14:58:07 +02:00
Marvin W 6ba9bbb03b
Add dummy TapAndPay service 2019-10-15 14:56:24 +02:00
Niklas Sombert 0d9bb345a8 Make requestLocationSettingsDialog return success 2019-09-28 00:40:36 +02:00