Commit Graph

602 Commits

Author SHA1 Message Date
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 214120aa62
Uncomment "unused" protobuf fields from mcs.proto 2016-08-27 20:00:31 +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 4ea10d9049 Fix Travis CI build 2016-05-12 01:51:52 +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
nagalun d50a5db2d1 Add Spanish language 2016-03-24 02:06:42 +01:00
Marvin W 16142899fc Checkin before registering for push 2016-03-23 22:42:53 +01:00
Marvin W dae13b16bb Fix versioning
Fixes 2e88572
2016-03-14 19:40:09 +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 2e8857258c Fix versioncode generation 2016-03-14 19:11:20 +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 3ff5ad0e7a Start using proguard 2016-03-05 13:47:43 +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 283b0cb3cc Merge branch 'master' of github.com:microg/android_packages_apps_GmsCore 2016-02-08 03:41:07 +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 97e5cc4072 Make C2DM_SEND permission a signature permission 2016-02-06 20:49:57 +01:00
Marvin W 6d2eee71bb Small updates to wearable 2016-02-06 20:49:49 +01:00
Mladen Pejaković 72c08cd03d Update Serbian language 2016-02-06 14:00:06 +01:00
Marvin W 192a9073e4 Shorter version names 2016-01-27 19:11:48 +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
Marvin W 07ab527dcf Merge pull request #69 from pejakm/srupd
Update Serbian translation
2016-01-05 11:55:36 +01:00
haffenloher 068c194c3b Add TargetApi annotations to fix lint errors 2016-01-04 21:16:39 +01:00
Mladen Pejaković de208561e0 Update Serbian translation 2016-01-04 15:46:27 +01:00
mar-v-in 9abd7ebac3 Small Map fixes to support Severe Weather
Fixes #66
2016-01-02 15:38:33 +01:00
mar-v-in 1c5da4a07a Android M: Request permission before using location in Map 2016-01-02 12:46:44 +01:00
mar-v-in 8df631cd95 Fix account id retrieval for registered G+ accounts
The bug can cause Chrome/Chromium to cause an endless loop (=> high CPU usage, reduced battery time). Please remove and re-add your account...
2016-01-02 12:05:26 +01:00
mar-v-in 6e091a0ffa Add initial version of self check
To be extended and should have better UI :)
2016-01-02 10:59:49 +01:00
mar-v-in 38364b79ee Adjust ContextContainer for M 2016-01-02 10:59:16 +01:00
mar-v-in 4975594800 Merge branch 'master' of github.com:microg/android_packages_apps_GmsCore 2015-12-25 03:50:34 +01:00
mar-v-in b1db456fa7 Update vtm jar (adds support for arm64), fixes #62 2015-12-25 03:49:22 +01:00
mar-v-in 7b74722c3d Add new bits for auth/people api 2015-12-25 03:49:11 +01:00
Mladen Pejaković 792dfb5a64 Some fixes to previous commit 2015-12-05 12:00:37 +01:00
Mladen Pejaković 13b74803d3 Update Serbian translation 2015-12-05 11:58:52 +01:00
mar-v-in 93645ca68f Make heartbeat interval adjustable #47 2015-12-04 11:26:59 -08:00
mar-v-in 4c74f8a4f2 Add support for ADREQUEST in GService
there is alread a seperate service for that handled by Dummy, but apparantly, ADREQUEST must be served by the GService as well.
2015-12-03 19:41:38 -08:00
mar-v-in fab75d444a Add basic support for deprecated MyLocation feature in maps API
related to #56
2015-12-03 19:18:24 -08:00
mar-v-in b6506209a9 Limit GCM Wakelock to 5s
fixes #53
2015-12-03 18:49:53 -08:00
mar-v-in 93487b51ea Extend Maps API implementation
+ Events
+ Enable/Disable gestures
2015-12-03 18:37:11 -08:00
mar-v-in 249c935f44 Update Auth API 2015-12-02 23:55:47 -08:00
mar-v-in a1079e12be Merge branch 'update_buildtools' of git://github.com/BRNmod/android_packages_apps_GmsCore 2015-11-17 21:58:49 +01:00
mar-v-in 28c11da033 Continue work on Wearable
(+ small fix in maps)
2015-11-17 17:20:13 +01:00
Simon Wörner d42c2f61c5 updated build tools 2015-11-13 10:52:52 +01:00
mar-v-in c618221a38 Maps: Properly handle invisible map items and impossible lines
Fixes #49
2015-10-29 12:05:11 +01:00
lambdaupb 788eddc31e Reconnect Loop because of skipping backOff logic
currentDelay would stay 0 if error occurs in connect() method,
resulting in busy-loop on network failures.

Fix by always calling scheduleReconnect() which contains backoff logic.
2015-10-23 18:27:50 +02:00
mar-v-in cf7c72c14f Move image drawing to seperate dir 2015-10-23 01:43:28 +02:00
mar-v-in d22e231b44 Add Games stub service
Games proxy service (chimera) yet to be done for full Play Games support
2015-10-23 01:40:50 +02:00
mar-v-in 770a70821e Add from field to legacy C2DM support. 2015-10-20 19:04:01 +02:00
mar-v-in 6310efb702 Update wearable protobuf specs 2015-10-20 19:01:28 +02:00
mar-v-in 6793fcb047 Add empty sign in service 2015-10-20 19:00:35 +02:00
mar-v-in 54dba86a02 Add dummy drive API implementation 2015-10-20 18:59:35 +02:00
mar-v-in cea6256e3b Add empty clearcut logger 2015-10-15 03:21:53 +02:00
mar-v-in 9ce8aa343d Fix defect on some devices/emulators 2015-10-15 03:20:01 +02:00
mar-v-in 766a6a1b47 Update portions of GCM implementation
- Fix bug causing unregister to be send multiple times
- More work related to #23, #29 and #31
2015-10-11 00:46:58 +02:00
mar-v-in 02e6ffce4d Add Wearable DataBundle prototype 2015-10-10 19:06:38 +02:00
mar-v-in be0f43cc48 Add initial version of Wear protocol buffers 2015-10-10 16:47:27 +02:00
mar-v-in 602ccda69b Update submodule + small fix 2015-10-10 12:06:09 +02:00
Marvin W 328b2411e9 Merge pull request #44 from julienschmidt/master
Add German translation
2015-10-10 12:01:31 +02:00
Julien Schmidt 611fe016a0 Remove non-tranlatable from German translation 2015-10-10 07:21:08 +02:00
Marvin W 21d60a4e3f Merge pull request #45 from Koloses/master
Include initial Polish translation
2015-10-10 01:29:42 +02:00
mar-v-in 2a75718ffe Merge branch 'master' of github.com:microg/android_packages_apps_GmsCore 2015-10-09 20:51:40 +02:00
mar-v-in 140716c931 Fix #43 2015-10-09 20:51:17 +02:00
Koloses 8229c7a0b7 Include initial Polish translation 2015-10-09 19:17:16 +02:00
Julien Schmidt c8619e8f3a Add German translation 2015-10-09 15:20:56 +02:00
Marvin W e307804c53 Merge pull request #42 from ygorigor/master
Add romanian translation
2015-10-09 14:46:37 +02:00
Igor Sorocean b87d27efa2 Add romanian translation 2015-10-08 16:02:51 +03:00
Mladen Pejaković 072c3a9f88 Update Serbian translation 2015-10-08 12:45:03 +02:00
mar-v-in e3b91f2635 Fix bug causing Google Maps to die when navigation is started 2015-10-08 01:41:52 +02:00
mar-v-in fcda44b257 Initial work for programmatic auth, might fix #28 2015-10-06 18:47:45 +02:00
mar-v-in b92c4d2417 Add empty AdvertisingIdService 2015-10-06 18:06:03 +02:00
mar-v-in 2657d740e7 Checkin before logging in if needed, force checkin after login
Fixes crash under certain conditions when creating account, might fix Play Store
2015-10-05 23:32:10 +02:00
mar-v-in 501866bb7d Add support for push notification unregistering 2015-10-04 17:53:52 +02:00
mar-v-in 575b0230ab Small string fixes 2015-10-04 14:59:19 +02:00
mar-v-in 3a156903f6 Fix bug in Location API 2015-10-04 04:42:44 +02:00
mar-v-in da731b082c Show notification for applications that don't do it theirself... 2015-10-04 02:16:01 +02:00
mar-v-in dab1d35b21 Properly handle some issues during account creation 2015-10-04 00:59:11 +02:00
mar-v-in 1f67d1aad0 Automatically checkin after 12 hours 2015-10-04 00:15:24 +02:00
mar-v-in 40ca65bbf4 Huge Update
- Update Location APIs, fixes #37
- Update version number, fixes #38
- Enable long press input on WebView during login, fixes #34
- Extended log output and auto-repair for GCM connection, related to #29 and #31
- New icons
- Small quirks in Auth handling (required for Login to some applications)
2015-10-03 22:47:05 +02:00
mar-v-in b0701625ad Update Maps API 2015-10-02 18:10:48 +02:00
mar-v-in 109856ffd0 Do not checkin "unknown" ABI, Fix Lint issues 2015-08-25 02:29:26 +02:00
mar-v-in 1a83f8281f Improve mcs connection
wake up device when reconnecting, fix teardown incomplete on null message (#24)
2015-08-17 23:28:01 +02:00
mar-v-in c826702bb9 Update build tools and upstream, fix issue described in #24 2015-08-17 01:03:06 +02:00
mar-v-in 09f5773e81 Add Logging to LoginActivity 2015-08-14 16:54:21 +02:00
mar-v-in bd69c16c62 Various fixes
Fixes #24
2015-08-06 17:38:46 +02:00
mar-v-in 44f4bdc6ac Update Maps API 2015-08-06 17:02:47 +02:00
mar-v-in 331813ce3c Update maps, rework MCS
MCS rework related to #23 and #24
2015-08-04 13:05:47 +02:00
mar-v-in 61ede98580 Increase version number 2015-07-24 16:25:24 +02:00
mar-v-in cd9d38b70b Add some wearable APIs and various fixes 2015-07-24 02:59:09 +02:00
mar-v-in 3511c41358 Fix checkin 2015-07-24 02:55:58 +02:00
mar-v-in f30a996c2b Update UnifiedNlp, fix #21 2015-07-08 18:23:20 +02:00
mar-v-in e1b757de3e Various fixes, Checkin (dependency for GCM) is still broken!
Fix lint (fixes #20)
(hopefully) Fix mcs loop (could cause high battery drain)
Show link to UnifiedNlp in settings (mentioned in #10, @XDA)
Add extended description for settings (mentioned @XDA)
2015-07-04 13:47:27 +02:00
Mladen Pejaković 0c519a9f5b Add Serbian translation 2015-06-26 12:19:04 +02:00
mar-v-in 7099a3230e Add some search API stub implementations 2015-06-23 19:22:19 +02:00
mar-v-in 7e5bf58bc3 Ensure Apps are not waiting for autocomplete list 2015-06-23 00:20:54 +02:00
mar-v-in 2f78c63eb6 Use common BaseService, update AuthService 2015-06-22 23:26:35 +02:00
Simon Wörner c5fcb49944 added com.google.android.gms.car
Change-Id: Iee337aa716931aa45057678a6daeb7fad88bebcb
2015-06-16 01:33:12 +02:00
mar-v-in e6d88eb8d6 Update tools to 22.0.1 2015-04-15 01:17:17 +02:00
mar-v-in 7c48d43efc Java 6 compat 2015-04-13 23:57:18 +02:00
mar-v-in bd1be63f6b Fix handling of base64 consent data and never die when it's broken 2015-04-12 21:33:29 +02:00
mar-v-in 124ec3ac1c Update icing service, add DummyService for debugging, update sublib 2015-04-11 13:48:21 +02:00
mar-v-in 0bc422c4b1 Update checkin to latest version 2015-04-10 20:45:22 +02:00
mar-v-in f6dca1f162 Migrate to newer API 2015-04-09 23:12:08 +02:00
mar-v-in e4b9198dc7 Update sublib, remove unnacessay file 2015-04-05 16:42:32 +02:00
mar-v-in 39c957cda8 MCS: Fix reconnect 2015-04-04 00:21:47 +02:00
mar-v-in 7b3e490d55 Add settings and Fix small MCS problems 2015-04-03 23:54:41 +02:00
mar-v-in 0e0309df85 Add trigger for Mcs *#*#gcmstart#*#* and various fixes 2015-04-02 23:46:47 +02:00
mar-v-in 8669ab2bf4 Maps: Add support for circle borders 2015-03-27 23:48:40 +01:00
mar-v-in c82192bfd4 Small fixes 2015-03-26 23:18:39 +01:00
mar-v-in cdc5fc0bde Implement more People APIs and add some stubs 2015-03-25 23:12:03 +01:00
mar-v-in 3274300cdf Fix Google+ sign in 2015-03-24 22:21:35 +01:00
mar-v-in 15d772c195 Parse OAuth2 consent data 2015-03-23 22:30:41 +01:00
mar-v-in a1a27167e6 Add heartbeat feature for MCS 2015-03-23 02:14:07 +01:00
mar-v-in 93c3cbb31b Add basic MCS implementation to realize C2DM (used by GCM)
- Can be started using `am startservice com.google.android.gms/org.microg.gms.gcm.mcs.McsService` on device
- Does not send Heartbeats -> Connection will be closed after 30 minutes
- No automatic reconnect on connection closure
- Only push, no bidirectional communication
2015-03-22 14:32:51 +01:00
mar-v-in b150e73332 Implement more features of the JSBridge of login, fix bug with older versions 2015-03-22 14:31:49 +01:00
mar-v-in 6ee010fc50 Some fixes 2015-03-20 21:50:37 +01:00
mar-v-in 1295192130 Update Android.mk and show unsupported warning 2015-03-18 16:24:43 +01:00
mar-v-in de30e92599 Update unified nlp 2015-03-13 16:32:23 +01:00
mar-v-in dd443b262b Update to gradle style project 2015-03-13 03:32:57 +01:00