Commit Graph

220 Commits

Author SHA1 Message Date
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 d70b47c6c3
Store deserialized session providers 2018-07-06 20:06:59 -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 5a0c235e3d
Add dummy support for firebase database API 2016-08-14 15:05:55 +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
Marvin W f65f12591d People API: Add additional owner columns, fixes #127 2016-05-12 01:43:08 +02:00
Marvin W 016d2ca3f4 Refactor GCM Service, fix #129 2016-05-12 01:07:22 +02:00
Marvin W 60b2eaec25 Add support for collapse_key
related to #104
2016-04-18 10:29:52 +02:00
Marvin W 2a394f98aa Various changes
- Extend Wear support
- Rework Gms Services
- Fix ProGuard
- Add Waze to Google Whitelist (as in original Play Services, fixes #116)
2016-04-14 21:55:07 +02:00
Marvin W 16142899fc Checkin before registering for push 2016-03-23 22:42:53 +01:00
Marvin W 375004891e Add (incomplete) handling of Android Wear Assets 2016-03-14 19:21:55 +01:00
Marvin W 51b8d384a1 Smaller fixes to Maps API
- Add support for getMapAsync in MapFragment
- Add support for remote and vector resources
2016-03-14 19:11:53 +01:00
Marvin W 8a239f5e31 Small fixes to Wearable 2016-03-05 21:49:32 +01:00
Marvin W 2cd12cced6 Hotfix for Google Login server changes 2016-03-05 21:44:58 +01:00
Marvin W 508babfb1b Update sublibs 2016-03-05 13:39:36 +01:00
Marvin W 14da12108c Use current location as default for PlacePicker 2016-03-03 02:00:30 +01:00
Marvin W d08ca4f807 Fix native map lib loading on pre 5.0 systems 2016-03-03 01:35:01 +01:00
Marvin W 79b653f20c Add snapshot feature to Map 2016-03-03 01:25:40 +01:00
Marvin W e45f03b77e Never expose null address in placepicker 2016-03-02 21:32:04 +01:00
Marvin W ed77f7e1d6 Move native lib loader to BackendMapView 2016-03-02 21:24:41 +01:00
Marvin W 43198173ee Various changes:
- Do vtm-jni loading ourself to load correct architecture, fixes #95, related to #97
- Do not falsely announce unsupported mips architecture
- Cleanup ContextWrapping
- Add dummies for GeoData and PlaceDetection APIs
- Restart GCM when package is restarted, related to #100
2016-02-28 13:33:46 +01:00
Marvin W 91cba6cd68 Add Google Inbox key to whitelist 2016-02-23 00:05:32 +01:00
Marvin W 9fc9b9a51d Update UnifiedNlp and fix map bug #94 2016-02-22 23:25:03 +01:00
Marvin W 3936a02e1a Add Classroom signature to Google whitelist, fixes #89 2016-02-08 18:06:03 +01:00
Marvin W 67b1ac74e8 Various small fixes
- Add two Google signatures to acceptable apps. Likely to increae this further
- Fix small change in GCM unregistering
- Modify intent delivery for GCM, related to #75 and #84
- Lint fixes
- Update Travis CI config
2016-02-08 03:38:07 +01:00
Marvin W 6d2eee71bb Small updates to wearable 2016-02-06 20:49:49 +01:00
Marvin W fbfb6c088a Merge branch 'master' of github.com:microg/android_packages_apps_GmsCore 2016-01-27 01:39:31 +01:00
Marvin W 8fa0515bf6 Squashed commit:
- Update build tools
- Update sublibs
- Add proper PlacePicker, fixes #65
- Add selfcheck
- Improvements to MCS connection, related #31 #54
- Do not crash when permission to GPS is not granted
- Various smaller fixes
2016-01-27 01:36:48 +01:00
Michael Hamann 48809464a7 McsService: only send to the output stream if it is alive
The output stream handler thread might not be alive, this occurs
reproducibly when connecting fails and a tear down is initiated.
Messages shouldn't be sent when the output handler thread is not alive
(triggers an expection which is catched but logged), this check avoids
this unless some special race condition occurs. Dropping the messages
shouldn't hurt (they were dropped anyway).
2016-01-17 15:56:03 +01:00
Michael Hamann 3636f18d84 McsInputStream: terminate if error occurred
This terminates the input stream when an error occurred and does not
wait for the handler thread in the McsService to send the interrupt
signal.

This hopefully fixes a situation that I had where tear down messages
were created in a busy loop because of repeatedly reading -1 from the
input (I don't know how it got into the situation as the log was filled
with the messages from the tear down).
2016-01-17 15:44:00 +01:00
Marvin W affce9dc23 Set FLAG_INCLUDE_STOPPED_PACKAGES on GCM intents
Related to #75 #31
2016-01-12 20:59:39 +01:00
Michael Hamann 5fd376de7a GCM: Consider connection to be dead without ack messages
This stores the timestamp of the last ack message that has been
received. The connection is considered to be dead if the last ack
message has been received more than twice the configured interval ago.
2016-01-11 20:54:25 +01:00
Michael Hamann e264144aea GCM: Wake with exact guarantees for heartbeat
This changes how the alarms for heartbeat pings are scheduled. Instead
of a repeating, inexact alarm that may be delayed (at least up to 15
minutes), either an exact alarm (below Android 4.4) or an interval is used
which ensures that the alarm fires between half the configured interval
and the configured interval. This interval allows the OS to optimize
alarms a bit. For Android 6.0 further adjustments are probably
necessary.
2016-01-11 20:49:17 +01:00
Marvin W ae483164a7 Add (dummy) place picker
We don't have proper code to display a map (without original client library) yet. However applications using it should not crash (as reported in #65)
2016-01-05 23:58:18 +01:00