Translation Bot
a14e14eeb9
Merge branch 'master' into background-javascript
2017-03-10 23:14:40 +01:00
Translation Bot
05a28cc580
Pebble: Fix screenshots for Android N
...
This was a regression only in master since we switched to SDK 25
This commit also fixes all other warnings with AbstractDeviceSupport.java
2017-03-10 23:10:40 +01:00
License Bot
e392fbfd80
Add license header to all java files.
2017-03-10 14:53:19 +01:00
cpfeiffer
6282597790
Handle BT issues with discovered characteristics
...
It occurred to me that onServicesDiscovered() was called multiple times
whenever I connected to my Mi Band 2. Either the band actually sent the
characteristics in multiple chunks or Android itself notified multiple
times.
So we gracefully handle this by
- updating the list of characteristics
- *not* initializing the device again when it *is* already initialized
or at least initializing.
2017-03-09 22:49:13 +01:00
Andreas Shimokawa
942984dec2
Merge branch 'master' into background-javascript
2017-03-08 10:24:31 +01:00
cpfeiffer
9411f80440
Mi2: support for updating firmware fonts (*.ft, *.ft.en)
...
This is related to #560 , but alas is not sufficient for enabling text
notifications.
2017-03-07 23:26:41 +01:00
cpfeiffer
2b17d7fb14
More cleanup
2017-03-07 00:06:35 +01:00
cpfeiffer
31e0e9a5f7
Mi2: More internal cleanup from initial Mi1 copy&paste
2017-03-05 21:45:39 +01:00
cpfeiffer
f6bee00582
Mi2: some internal cleanups/renamings
2017-03-05 21:27:47 +01:00
cpfeiffer
c56b655b48
Mi2: send text notification for mi2 only, not mi1a
2017-03-05 10:43:19 +01:00
Andreas Shimokawa
21b90d1e6e
Merge branch 'master' into background-javascript
2017-03-04 13:27:34 +01:00
Andreas Shimokawa
90c61cb71c
Merge branch 'master' into background-javascript
2017-03-04 13:24:44 +01:00
cpfeiffer
09967b2006
Mi2: follow 12h/24h system configuration
...
=> Remove custom preference option, #573
2017-03-03 22:32:54 +01:00
cpfeiffer
82ea5702c5
Mi2: configurable time format (12h/24h)
...
Fixes #573
2017-03-03 22:14:28 +01:00
cpfeiffer
4419200624
Mi2: Initial support for textual notifications #560
2017-03-03 20:12:43 +01:00
Daniele Gobbetti
76be0ae676
Pebble background webview improvements:
...
remove the pre-KITKAT checks as the minsupportedversion is KITKAT
fix the currentPosition override
move the returned configuration parsing to onResume method (where it was previously) as it seems more reliable
pass the whole GBDeviceEventAppMessage object, this way the jsInterface in the webview doesn't need to be static anymore
change the way the webview is initialized, this way the context doesn't need to be static anymore
use runOnUiThread instead of the Handler .. MainLooper to post the commands to the webview instance
comment a couple of custom message handler for weather as the watchapp seem to work well with JS alone
add a couple of log messages for debugging
known issue: legacy app configuration pasting does not work.
2017-02-28 21:11:26 +01:00
Andreas Shimokawa
593b169f00
Pebble: Put icon into fake weather response, disable mario time native handler (since it works a bit now) :)
2017-02-27 22:28:42 +01:00
Andreas Shimokawa
181b33d6be
Merge branch 'master' into background-javascript
2017-02-27 22:11:41 +01:00
cpfeiffer
19b0e5e801
Centralize icons for devices
2017-02-26 22:46:49 +01:00
Daniele Gobbetti
a545c56680
Pebble: ack the messages that go to the webview and do not destroy it on disconnect.
2017-02-26 17:57:26 +01:00
cpfeiffer
711800f3d0
Collaborative attempt to initialize the background webview on startup
2017-02-25 18:01:08 +01:00
Andreas Shimokawa
772a22f78b
Merge branch 'master' into background-javascript
2017-02-25 13:02:07 +01:00
Andreas Shimokawa
08080b02bb
Drop support for legacy (pre 0.12.0) database
2017-02-23 22:44:44 +01:00
cpfeiffer
337bfa1938
Handle button presses and log them
...
See #556
2017-02-21 21:41:21 +01:00
Andreas Shimokawa
2dbda6138b
Pebble: some cleanups and simplifications for datalogging via PebbleKit
2017-02-20 22:09:00 +01:00
Andreas Shimokawa
ad9cfae6f9
Pebble: Pass datalog creation timestamp to PebbleKit, properly announce PebbleKit datalogging support
2017-02-20 08:47:42 +01:00
Andreas Shimokawa
946ed5f000
Pebble: First shot at implementing dataloggin for PebbleKit apps
...
Closes #497
Could help #316
2017-02-19 23:02:55 +01:00
Avamander
23f2dd35d4
Extract music shuffle and repeat states and set the song progress to auto-update. ( #554 )
2017-02-17 09:01:37 +01:00
Andreas Shimokawa
a26563d6c7
Pebble: also acknowledge PebbleKit intents with transaction_id -1
...
I don't understand why this should be necessary but for some 3rd party apps it helps (#509 )
2017-02-13 22:27:37 +01:00
Andreas Shimokawa
1d1edd41d7
Pebble 2/LE: remove a sleep which might be no longer necessary
...
Will speedup data transfer
2017-02-12 23:13:24 +01:00
Avamander
fea31924ba
Music data handling improvements ( #550 )
...
* Fixed extracting the track length.
* Added current track and total track count.
* Few small changes to make sure everything gets updated properly.
* Remove unnecessary includes.
2017-02-11 09:49:01 +01:00
Andreas Shimokawa
5dfd40062f
fix previous commit
2017-02-10 23:16:36 +01:00
Andreas Shimokawa
f956d94181
Pebble: make sure to not display "open on phone" and "dismiss" when the source of a notification was our AlarmClockReceiver
2017-02-10 23:11:21 +01:00
Andreas Shimokawa
ee28ccd4fe
Pebble: add a dev option to always and immediately ACK PebbleKit messages to the watch
...
Might help #509
2017-02-10 23:07:36 +01:00
Andreas Shimokawa
f35e3e460d
remove K9 receiver as is works better with generic notifications
2017-02-09 17:35:46 +01:00
Andreas Shimokawa
c0076b20d3
fix copy and pasta error
2017-02-09 17:24:07 +01:00
Andreas Shimokawa
5bb1995eb9
Pebble: fix privacy mode title being "null" in some cases
2017-02-09 17:10:39 +01:00
cpfeiffer
4f0674d038
Support for alarm clock notifications for Mi1 + Mi2 #538
...
No support for Pebble and HPlus for now.
Atm relies on the CM deskclock alarm, which nicely broadcasts
events about the current alarm. See
https://github.com/CyanogenMod/android_packages_apps_DeskClock.git
2017-02-07 23:49:10 +01:00
Andreas Shimokawa
e2b3394900
made caller privacy pebble setting generic
2017-02-07 10:15:23 +01:00
Andreas Shimokawa
b6852308b7
Merge pull request #546 from jpbarraca/hplus-preferences
...
HPlus: add device specific preferences and icon
2017-02-06 18:50:40 +01:00
Andreas Shimokawa
32a326c24b
Merge pull request #543 from jpbarraca/hplus-alarm-clear
...
HPlus: Clear Alarms
2017-02-06 18:49:28 +01:00
João Paulo Barraca
475426c0ed
Merge branch 'master' into hplus-preferences
2017-02-06 01:39:45 +00:00
João Paulo Barraca
a3cc84c01d
HPlus: add device specific preferences and icon
2017-02-06 01:33:15 +00:00
João Paulo Barraca
644c06df68
HPlus: Clear alarms if no alarm is enabled
2017-02-05 23:52:36 +00:00
Daniele Gobbetti
b7bad268c2
Pebble: support weather for Obsidian
...
Ref: #482
2017-02-05 17:21:04 +01:00
Daniele Gobbetti
dccd6c1b06
Pebble: implement privacy modes
...
The user can choose whether to completely hide the notification text or push it off-screen. This also effects the incoming call notification.
Fixes #370
2017-02-05 16:37:59 +01:00
João Paulo Barraca
006a23dfe8
HPlus: Fix time sync and Time format (12/24)
2017-02-03 19:30:59 +00:00
Andreas Shimokawa
22cf74bbd1
Merge pull request #532 from jpbarraca/alarm
...
HPlus: Working alarms and small cleanup
2017-02-03 14:02:29 +01:00
Daniele Gobbetti
e08a900978
Refactor the MusicPlaybackReceiver and related files
...
Add actions to the filter (this should help with #536 )
Add "copy" constructors to MusicSpec and MusicStateSpec, and use those when receiving an updated intent, this way partial updates do not disrupt the local information.
Iterate over incoming extra keys, explicitly check the incoming type and use only known type. This could help with #533
Possible problem: this code iterates over every key of the incoming bundle.
2017-02-01 22:55:40 +01:00
João Paulo Barraca
f79e8f8833
HPlus: Working alarms and small cleanup
2017-01-30 23:37:47 +00:00