Commit Graph

111 Commits

Author SHA1 Message Date
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