Commit Graph

349 Commits

Author SHA1 Message Date
Oizaro 452cf57a31 Remove unused library and update readme 2020-08-11 13:22:44 +02:00
Oizaro 420ace1219 Fixed pointless bug of unlinked translations 2020-08-10 18:55:16 +02:00
Oizaro f8d8f1f2ab Crazy debloat 2020-08-10 05:59:29 +02:00
KevinX8 776451efd4
Revert "Fix device duplication in casting menu" 2020-08-09 00:20:38 +03:00
Oizaro 0846c9c29a Update upstream 2020-08-07 18:57:36 +02:00
gr3ger bc526bf548 Update strings to reflect that this is a fix, and invert the toggle. 2020-08-07 12:50:13 +02:00
gr3ger 2e675ffdde using lambda and elvis operator. 2020-08-07 11:32:59 +02:00
gr3ger 9c96383eb9 Add preference for controlling the cast service 2020-08-07 11:24:41 +02:00
Oizaro 6037181e8a Update to latest upstream 2020-08-05 01:57:23 +02:00
Oizaro e6329fddc5 Fix device registration pref and debloat 2020-07-30 16:22:25 +02:00
Oizaro 9ae1994ab4 0.2.11.202414 2020-07-28 21:04:21 +02:00
X1nto 9b7680f915 updated checkin 2020-07-27 21:10:05 +04:00
X1nto 75a93f052e fixed R attribute imports 2020-07-27 20:46:20 +04:00
X1nto 6cfa89e15b synced with microg repo 2020-07-27 20:07:38 +04:00
X1nto 02910572d7 sync 2020-07-27 19:44:56 +04:00
X1nto a6dd7ac2b6 cleanup 2 2020-07-27 18:40:47 +04:00
X1nto a15efbb4c0 Merge branch 'master' of https://github.com/microg/android_packages_apps_GmsCore
 Conflicts:
	build.gradle
	play-services-base-core/src/main/java/org/microg/gms/common/ForegroundServiceContext.java
	play-services-cast/src/main/java/com/google/android/gms/cast/Cast.java
	play-services-cast/src/main/java/com/google/android/gms/cast/CastRemoteDisplay.java
	play-services-cast/src/main/java/org/microg/gms/cast/CastApiClientBuilder.java
	play-services-cast/src/main/java/org/microg/gms/cast/CastClientImpl.java
	play-services-cast/src/main/java/org/microg/gms/cast/CastRemoteDisplayApiClientBuilder.java
	play-services-core/build.gradle
	play-services-core/microg-ui-tools/src/main/res/drawable/self_check.xml
	play-services-core/src/main/AndroidManifest.xml
	play-services-core/src/main/java/org/microg/gms/checkin/CheckinManager.java
	play-services-core/src/main/java/org/microg/gms/checkin/CheckinService.java
	play-services-core/src/main/java/org/microg/gms/snet/SafetyNetClientServiceImpl.java
	play-services-core/src/main/java/org/microg/gms/ui/CheckinFragment.java
	play-services-core/src/main/java/org/microg/gms/ui/GcmAppFragment.java
	play-services-core/src/main/java/org/microg/gms/ui/GcmFragment.java
	play-services-core/src/main/java/org/microg/gms/ui/SettingsActivity.java
	play-services-core/src/main/java/org/microg/gms/ui/UnifiedBackendDetailsActivity.java
	play-services-core/src/main/java/org/microg/gms/ui/UnifiedBackendListActivity.java
	play-services-core/src/main/res/drawable/dots_horizontal.xml
	play-services-core/src/main/res/drawable/ic_certificate.xml
	play-services-core/src/main/res/values/strings.xml
	play-services-core/src/main/res/xml/preferences_safetynet.xml
	play-services-core/src/main/res/xml/preferences_start.xml
	play-services-gcm/build.gradle
	play-services-gcm/src/main/java/com/google/android/gms/gcm/GcmReceiver.java
	play-services-iid/build.gradle
	play-services-iid/src/main/java/com/google/android/gms/iid/InstanceIDListenerService.java
	play-services-location-api/build.gradle
	play-services-location/build.gradle
	play-services-location/src/main/java/com/google/android/gms/location/ActivityRecognition.java
	play-services-location/src/main/java/com/google/android/gms/location/FusedLocationProviderApi.java
	play-services-location/src/main/java/com/google/android/gms/location/GeofencingApi.java
	play-services-location/src/main/java/com/google/android/gms/location/LocationServices.java
	play-services-location/src/main/java/com/google/android/gms/location/SettingsApi.java
	play-services-location/src/main/java/org/microg/gms/location/ActivityRecognitionApiClientBuilder.java
	play-services-location/src/main/java/org/microg/gms/location/ActivityRecognitionClientImpl.java
	play-services-location/src/main/java/org/microg/gms/location/FusedLocationProviderApiImpl.java
	play-services-location/src/main/java/org/microg/gms/location/GeofencingApiImpl.java
	play-services-location/src/main/java/org/microg/gms/location/GoogleLocationManagerClient.java
	play-services-location/src/main/java/org/microg/gms/location/LocationClientImpl.java
	play-services-location/src/main/java/org/microg/gms/location/LocationServicesApiClientBuilder.java
	play-services-wearable-api/build.gradle
	play-services-wearable/src/main/java/com/google/android/gms/wearable/Wearable.java
	play-services-wearable/src/main/java/org/microg/gms/wearable/WearableApiClientBuilder.java
	play-services-wearable/src/main/java/org/microg/gms/wearable/WearableClientImpl.java
	settings.gradle
2020-07-27 14:07:27 +04: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
X1nto 5acf247caf updated icons 2020-07-21 02:51:51 +04:00
X1nto 4b3ef83e0d Vanced-ified microG 2020-07-18 16:41:40 +04:00
X1nto 6fceffa9a7 replaced icons 2020-07-18 13:53:35 +04:00
Venny 50f817a161 Add back measurement 2020-07-17 17:54:49 +02:00
Venny eb67f23f5f Remove unused folders 2020-07-17 17:16:08 +02:00
Venny d9bb26828c Remove permissionscheck snackbar builder 2020-07-17 16:46:41 +02:00
Venny b387a6e8de Remove missing permissions snackbar 2020-07-17 16:42:11 +02:00
Venny 391e09e729 Remove unnecessary options in MicroG settings 2020-07-17 16:32:04 +02:00
Venny 89cdaf4e07 Try debloating 2020-07-16 21:49:22 +02:00
Oizaro c8713b83da MicroG 0.2.10.19420 2020-07-16 18:24:25 +02:00
Oizaro b0b5bb108d Fix 2020-07-16 04:41:09 +02:00
Oizaro 2c4bc60905 Test Vanced 2020-07-16 02:24:57 +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
Marvin W 8a0010a1d8
Fix incomplete certificate requests causing crashes 2019-07-03 11:24:34 +02:00
Christopher Roy Bratusek e7e30f6cd4 add Google One to KNOWN_GOOGLE_PACKAGES 2019-07-02 14:07:39 +02:00
Christopher Roy Bratusek 67b04bbdc3 add Google Crowdsourcing to KNOWN_GOOGLE_PACKAGES 2019-07-02 14:07:39 +02:00
Marvin W bae47feeca
Fix wearable implementation network usage 2019-07-01 00:31:26 +02:00
Marvin W f8a0c9c4d3
Small bug fixes 2019-07-01 00:27:34 +02:00
Marvin W bf88e7c8bd
Add Google Certficate service 2019-07-01 00:26:57 +02:00
Marvin W 4713797edc
Fix calling package detection in KK+ 2019-06-01 15:57:46 +01:00
Marvin W a74ce16d2a
Add new libraries to about screen 2019-06-01 15:09:23 +02:00
Marvin W 30ed2720a0
Allow to bypass Android O+ account restrictions for Google Apps 2019-05-28 18:45:54 +02:00
Marvin W 7a646e3346
Remove typo 2019-05-27 16:01:05 +02:00
Marvin W c0a5051941
Merge branch 'master' into armills-cast-mvp 2019-05-27 12:58:57 +02:00
Marvin W 0480bbbba6
Only include vtm with the vtm maps implementation 2019-05-26 23:04:13 +02:00
Marvin W 45ee4903f8
Adapt auth implementation to better reflect current play services 2019-05-26 17:53:56 +02:00
Marvin W 2a01e6cb74
Temporary disable place picker 2019-05-26 17:53:55 +02:00
Marvin W 9f922b5a19
Refactor vtm maps into seperate module, use version from maven 2019-04-22 19:57:25 +02:00
Marvin W 937e3422aa
Add package name to location requests when possible, fix incomplete permission check 2019-04-22 19:57:24 +02:00
voidstarstar 5875ab752b Move some expensive reflection calls to onCreate 2019-04-22 19:56:51 +02:00
voidstarstar 60023887d1 Temporary whitelist support for Doze (#732)
Fixes #338 

Co-Authored-By: @ccaapton <6211551+ccaapton@users.noreply.github.com>
Co-Authored-By: @ale5000-git <15793015+ale5000-git@users.noreply.github.com>
2019-04-21 16:39:18 +02:00
Moritz Horstmann 652d7a9104 Include GCM message ID in app message intent 2019-04-20 15:09:58 +02:00
voidstarstar 7b651aaaad Unregister app if fully removed or data is cleared
This fixes a bug where apps were not properly unregistered on Android
8.0+ systems. Also update the log message.
2019-04-13 10:44:41 +02:00
voidstarstar 2a21b8ad11 Finish the activity if the app was deleted 2019-04-13 10:44:41 +02:00
jimbo1qaz 40974f806d Add support for Google Suite accounts with external login 2019-03-12 03:56:13 +01:00
Adam Mills 3c1ffe1388
Merge remote-tracking branch 'origin/master' into cast-mvp 2019-03-10 16:47:36 -04:00
Christopher Roy Bratusek f25f53be16 add Wellbeing to KNOWN_GOOGLE_PACKAGES 2019-03-10 16:16:47 +01:00
Chris 'Nano' Bratusek 81f484a439 Fix SafetyNet default value, show server type in overview (#629) 2019-03-10 16:15:24 +01:00
PorygonZRocks ceb7e721b1 Add version check to skip first screen on KK- 2019-03-02 16:00:39 +01:00
Marvin W 719cd51d3d
Push Messaging: Handle more edge cases, fix some apps not showing up as registered 2018-09-21 21:44:43 +02:00
Marvin W e47101856d
Few restructuring after b2d6965 2018-09-21 21:44:42 +02:00
Klaus Flittner b2d6965608 Use app supplied API key for safetynet queries 2018-09-21 21:28:47 +02:00
Adam Mills e32cb84397 Add tag support and implement Z-Index API 2018-09-21 21:26:10 +02:00
voidstarstar ce9f40e9d9 Add Contacts signature to known google signatures 2018-09-21 21:10:50 +02:00
voidstarstar 1fc6df3862 Fix how avatar URL is saved, fixes #598 2018-09-21 21:08:37 +02:00
Adam Mills 00594590ac
Linting cleanup 2018-09-02 10:18:30 -04:00
Adam Mills 8df4a6c457
Merge branch 'master' into cast-mvp 2018-09-02 10:01:39 -04:00
Marvin W 7bbdcac990
Handle NetworkInfo being null 2018-08-28 14:18:26 +02:00
Marvin W f94d140dea
Only require C2D_MESSAGE permission when defined 2018-08-28 14:13:49 +02:00
Marvin W 9e0ee103a1
Fix push messaging registration for some apps 2018-08-28 14:13:49 +02:00
Marvin W bdb04c9b20
Add various missing stubs 2018-08-28 14:13:49 +02:00
Adam Mills 1db42b8231
More cast device implementation coverage 2018-08-25 18:50:15 -04:00
Adam Mills 3c3e391232
Discovery cleanup 2018-08-25 14:56:39 -04:00
Adam Mills 84299d4cfd
More dev 2018-08-11 16:06:54 -04:00
Adam Mills c3e611ec9f
Include cast app control categories with routeinfo 2018-07-06 20:10:13 -04:00
Adam Mills 7e711be919
Add most real cast media route control filters 2018-07-06 16:44:50 -04:00
Adam Mills 477f7b2a15
Support for DNS-SD cast discovery 2018-07-05 21:36:58 -04:00
Adam Mills 2368bed54b
Support basic media control: play/pause/seek/etc. 2018-06-23 14:12:54 -04:00
Adam Mills eb869ef20b
Cast MVP to start videos 2018-06-13 20:21:45 -04:00
Adam Mills fc74261655
More interface details for the cast framework 2018-05-19 15:36:08 -04:00
Hattshire f1cdb48a28 Show UI on retrieveRtToken() error 2018-03-31 23:20:54 -06:00
Kevin MacMartin 388a363bc0 Add signature for the google daydream app 2018-03-31 21:57:02 -06:00
Marvin W 464d45d552
Update gradle, build tools, dependencies 2018-01-02 01:45:43 +01:00
Marvin W 2403f97e18
Add fake contact sync to fix AOSP contact app 2017-12-12 11:36:01 -06:00
roblabla 38324bedfa Add youtube music to KNOWN_GOOGLE_PACKAGES 2017-08-02 01:27:28 +02:00
Marvin W d9e86d960d
Increase version code, update sublib and copyright header 2017-06-13 00:34:09 +02:00
Marvin W da922189e2
Further restrict whitelist by package name and fix #369 2017-06-13 00:32:54 +02:00
ale5000 087ea9c2be Add Google Cardboard Camera signature to known google signatures and fix Google Trips name (#382) 2017-06-02 00:37:51 -06:00
Aline Freitas fb3623cf35 Check if callback is non nil. Fixes #340 #364. (#385) 2017-06-02 00:37:14 -06:00
Dang Nguyen 690b612f24 Add Google Trip signature to known google signatures (#375) 2017-05-19 21:13:56 +02:00
Marvin W 3669bab42c
maps: throw exception on missing permission (as described in API docs) 2017-05-01 13:24:49 +02:00
Marvin W b0a06e7d7d
gcm/iid: add request id to iid responses
was optional before but is required for firebase iid
- fixes bug with riot dev version reported in #313
- might be related to comment 2 in #322
2017-05-01 13:15:19 +02:00
Marvin W db7b721b1a
Ask before loading sign-in website (#276) 2017-05-01 13:15:18 +02:00
Marvin W 01f154dcdb
Configure GCM by network type and automatically learn ping interval
Related to: #187 #192
2017-05-01 13:15:18 +02:00
Marvin W 7f13738e61
Fix backend count in settings and update pl translations 2017-02-26 17:10:37 +01:00
Marvin W cc338e3078
Move plurals into seperate files, make Condition use plurals 2017-02-26 16:58:19 +01:00
Marvin W 949400fac3
Certain string fixes 2017-02-26 15:26:44 +01:00
Marvin W d2b2ee5348
Even more UI improovements 2017-02-22 04:20:46 +01:00
Marvin W 509ccdf21b
Fix #318 2017-02-22 03:32:10 +01:00
Marvin W d7fd34402f
Update SafetyNet API to latest version 2017-02-11 21:42:38 +01:00
Marvin W cbfb373bd0
Fix negation... 2017-02-08 22:03:42 +01:00
Marvin W 32d6040e55
Ensure checkin never happens while disabled 2017-02-08 21:33:44 +01:00
Marvin W d99fa7e86f
Directly start/stop GCM service if setting is changed in UI 2017-02-08 14:17:17 +01:00
Marvin W 170d5e4524
Make SafetyNet configurable 2017-02-08 14:17:10 +01:00
Marvin W d991888b89
Spoof chimera provider, update sublib + build tools 2017-02-08 14:16:44 +01:00
Marvin W 6766fa4d95
Location: do not try to access network location provider if not present on system
Related to #269
2017-01-18 17:35:59 +01:00
Marvin W 6422f2a2d7
PlacePicker: Correctly handle named locations 2017-01-18 10:49:01 +01:00
Marvin W 244d3aef7e
Fix broken statement in wear db, fixes #264 2017-01-15 22:53:59 +01:00
Marvin W 050a78569d
Add FLAG_ACTIVITY_NEW_TASK when showing permission dialog for GCM, fixes #270 2017-01-15 22:53:17 +01:00
Marvin W 05a8b44f2d
Various fixes
related to #86, #164, #242
2016-12-23 19:02:05 +01:00
Marvin W ef9e9b0921
GCM: fix display of uninstalled apps, do not allow registration if GCM is disabled (it won't succeed anyway) 2016-12-02 16:44:50 +01:00
Marvin W 83725f43cd
Adjust Maps to latest API and fix display issue, add empty Wallet API impl
related to #207, #236
2016-12-02 16:20:25 +01:00
Marvin W 97f4c82172
GCM improvements
- Add upstream message support (#228)
- Improve support for 7.0+ (#226)
- don't start closed apps if disabled (#230)
- ask after denying registered app (#230)
- automatically unregister apps on uninstall
2016-11-20 20:37:31 +01:00
Marvin W 5316e0220a
Squashed commit
- Update all submodules, used sdk version, etc
- Settings UI rebuild
- Some GCM features and fixes
- Fix newest Cast Framework for some apps (tested with "ZDF Mediathek")

Fixes #224, #223, #145
2016-11-16 01:03:17 +01:00
Marvin W 8b61ba7e44
Update sublibs, Increase version number, implement basic cast framework module 2016-11-07 22:49:59 +01:00
Felix Ableitner f6c51d5cfc Added item to disable battery optimizations (fixes #75, #113) 2016-11-04 16:01:57 +09:00
Marvin W cb356d2fea
Various changes
- Fix possible issue with null locations
- Various theme updates
- Fix map issue on 64-bit systems
- Update version code #205
2016-10-02 20:16:13 +02:00
Marvin W 63fd64f540
Bypass lint errors 2016-09-25 02:49:40 +02:00
Marvin W 27ec511f5f
Add initial version of microG maps theme 2016-09-25 00:14:25 +02:00
Marvin W b732ef8b29
Add dummy implementation for Global Search API 2016-09-24 21:24:30 +02:00
Marvin W 40835c3618
Add initial support for SafetyNet, requiring DroidGuard Helper to be installed 2016-09-24 21:19:26 +02:00
Marvin W 6bef699f58
Add dummy Places API implementation 2016-09-24 21:04:05 +02:00
Marvin W db93985e28
Fixup 33a6137 2016-09-17 02:22:04 +02:00
fiaxh 33a6137aec
Screen showing GCM registered apps + infos + unregistration option 2016-09-17 01:43:50 +02:00
Marvin W b33e43c1f6
Add initial (non-functional) implementation of SafetyNet
SafetyNet requires DroidGuard for full functionality, see #181
2016-09-17 01:43:36 +02:00
Marvin W 190a031662
Add Firebase Service Stub 2016-09-17 01:39:51 +02:00
Marvin W 6b9fc62bac
Set default gcm heartbeat interval to 5m 2016-08-29 18:00:18 +02:00
Marvin W 2fa70c1d12
Update Gradle, Update vtm library, Update people api database 2016-08-27 12:50:34 +02:00
Marvin W 72ee3bcd38
Combined changes:
- Adapt to GmsApi changes
- Add GmsLib for play-services-wearable library
- Increase version code (fixes #167)
- Update wearable
2016-08-14 12:28:08 +02:00
Marvin W 435b394e3a
Wearable temp state 2016-08-04 11:36:03 +02:00
Thibaut Girka 9a50744324
Return dummy LocationAvailability object instead of null, preventing crash in some apps 2016-07-31 13:04:13 +02:00
Marvin W 27c1c540d6
Wearable: correctly implement listeners including remote binding 2016-07-31 13:01:27 +02:00
Marvin W bee7bc9867
correctly announce fused location as "fused" 2016-07-08 23:56:58 +02:00
Thibaut Girka 1eeeb0bcd3
Add internal FusedLocationProviderResult callback 2016-07-08 21:00:49 +02:00
Marvin W c967701c23
Update sublibs, build tools, version code, google signature list and add LICENSE
might solve #144
2016-07-08 21:00:42 +02:00
Marvin W ec93cc4b43
Squashed commit
- Update sublibs
- Update build tools
- Add reminders service stub
- Update play services version, fixes #138
2016-06-02 23:12:59 +02:00
Marvin W 70119087fe
Ensure all threads to be closed
Fixes possible OOM error
2016-05-18 14:10:17 +02:00
Marvin W db013606e0
Update Wearable
- Add support for deleting dataitems
- Refactoring
- Update wearable-lib
2016-05-18 14:09:37 +02:00