Andreas Shimokawa
07272e5a68
update changelog, bump version to 0.18.4
2017-03-27 22:15:03 +02:00
Daniele Gobbetti
46501be249
Enlarge the "hit box" of each icon (replace some margin pixels with padding).
...
Fixes #615
2017-03-27 13:56:03 +02:00
Daniele Gobbetti
1813ec9378
Forbid landscape orientation on AlarmDetails activity.
...
Landscape mode triggers a bug in android DatePicker on devices with small screens.
Fixes #612
2017-03-26 20:29:57 +02:00
Daniele Gobbetti
d550defcb3
Do not save an alarm as "smart" if the device does not support it ( #612 )
...
Opening the activity when a device that does not support smart alarms is connected hides the "smart alarm" toggle. This is now reflected also on the saved data.
This solution is not ideal in case of multiple devices but as long as #577 is not solved its the best we can do.
2017-03-26 17:57:03 +02:00
João Paulo Barraca
11b48e7a1a
Set HPlus Sleep Intensity to 10%
2017-03-24 20:52:14 +00:00
João Paulo Barraca
75089d7cb4
Add HPlus and LiveView icons to level list
2017-03-24 18:10:05 +00:00
cpfeiffer
da9742fd67
Mi1: Attempt to recognize Mi1 model with hwVersion = 8
...
Closes #364
2017-03-20 23:25:42 +01:00
cpfeiffer
14552a1a80
Disable live activity tracking when activity is paused
...
Fixes #496
2017-03-20 23:01:28 +01:00
cpfeiffer
b97674ba85
Mi2: Display realtime steps in Live Activity #428
...
Thanks for the hint!
2017-03-20 23:01:28 +01:00
Andreas Shimokawa
7c63f92aaa
Remove obsolte and unused code related to old and unsupported activity database
2017-03-20 22:27:17 +01:00
Translation Bot
ad82a75312
update translations from transifex (thanks!)
2017-03-19 21:34:57 +01:00
Andreas Shimokawa
abd79ef5c9
0.18.3
2017-03-18 17:22:40 +01:00
Andreas Shimokawa
5d042cf3c8
Fix weekly charts to display the same value for every day Android < 7
...
Closes #604
2017-03-18 17:13:35 +01:00
cpfeiffer
cc159cf80f
0.18.2
2017-03-18 11:46:08 +01:00
cpfeiffer
f1d07c83f6
Fix NPE #603
2017-03-18 11:41:47 +01:00
Andreas Shimokawa
b2886b81c9
bump version, update changelog
2017-03-17 22:52:36 +01:00
Andreas Shimokawa
fe07e09d41
Fix firmware installation on Pebble Time Round
...
Closes #602
2017-03-17 22:34:50 +01:00
Andreas Shimokawa
9eade33d72
Start VibrationActivity when using "find device" button with Vibratissimo
...
(The activity was inaccessible)
2017-03-16 17:38:13 +01:00
License Bot
6a842c52fa
Update license header in all java files.
2017-03-16 17:36:15 +01:00
Andreas Shimokawa
7a6b0ed2b0
support material fork of K9
2017-03-16 17:24:15 +01:00
Andreas Shimokawa
408dd9c26f
Do not try to request k9 permissions in CCv2, we dont need it
2017-03-16 17:20:18 +01:00
cpfeiffer
f4e955dbe0
Updated changelog for 0.18.0
2017-03-15 23:42:30 +01:00
Translation Bot
c1af01a155
update translations from transifex (thanks!)
2017-03-15 21:26:05 +01:00
cpfeiffer
d408be5ec8
Mi2: make text/icon notifications confiurable and version dependent
2017-03-15 00:26:39 +01:00
cpfeiffer
cf35e84feb
Mi2: add hint about font installation for text notifications
2017-03-14 23:54:56 +01:00
cpfeiffer
5d96df3508
Mi2: add hint about intermediate firmware 1.0.0.53
2017-03-14 23:45:30 +01:00
cpfeiffer
2d60beea1f
Mi2: added some more tested firmware/font versions
2017-03-14 22:59:48 +01:00
cpfeiffer
e62a860ee6
Avoid potential NPE when neither name nor number are available
2017-03-14 22:03:30 +01:00
Alberto
6989ca9db3
Add privacy mode that hides the phone number ( #588 )
2017-03-14 21:45:36 +01:00
cpfeiffer
17ecee0cab
Mi2: initial support for text notifications and icons
...
See #560
2017-03-14 00:45:54 +01:00
cpfeiffer
8fc6dfeca7
Improved AlertNotificationProfile
...
AlertLevel, AlertCategory, Control Point
2017-03-14 00:45:54 +01:00
cpfeiffer
4b230412b6
Some utility methods + tests
2017-03-14 00:45:54 +01:00
Andreas Shimokawa
a6bba1b094
In CCv2 allow to disconnect with long press in any state expect "not connected"
2017-03-13 22:27:59 +01:00
Daniele Gobbetti
5008f08272
Revert "Use constraintlayout for the cardview and few improvements."
...
This partially reverts commit ecd2c166c2
because the ConstraintLayout dependency it creates problems in travis and in f-droid build system. #thanksgoogle #wecanthavenicethings :(
2017-03-12 09:06:58 +01:00
Andreas Shimokawa
2c1923dd96
change icon for "find lost device" action, add small padding to app manager icon
2017-03-11 23:37:19 +01:00
Translation Bot
6020b591d7
update Italian from transifex
2017-03-11 21:57:38 +01:00
Andreas Shimokawa
99bc922d13
update draglistview to v1.2.9
2017-03-11 21:52:42 +01:00
Daniele Gobbetti
0ac77fc0a4
Remove the legacy ControlCenter and its usages. Add New GUI to the changelog.
2017-03-11 19:49:57 +01:00
Daniele Gobbetti
183d89dc47
Show the full changelog when selecting the Changelog entry in the navigation drawer.
...
Show a line separator between groups of icons in the navigation drawer.
2017-03-11 17:10:51 +01:00
Daniele Gobbetti
ecd2c166c2
Use constraintlayout for the cardview and few improvements.
...
Icons are now bigger.
"find device" is in the icon row
2017-03-11 16:50:12 +01:00
Daniele Gobbetti
2c152e8447
Override textColorPrimary and not textColor as it conflicts with support libraries (e.g. snackbar text).
...
Further, use textColorPrimary in the graphs instead of textColor.
2017-03-11 16:48:55 +01:00
Daniele Gobbetti
68608f8582
Fix merge conflicts (from 3abbe12b53
) and update the support libraries. Add constraint layout library.
2017-03-11 16:45:39 +01:00
Daniele Gobbetti
8117caf73c
Merge branch 'master' into new_GUI
2017-03-11 16:44:16 +01:00
Andreas Shimokawa
fe870ebc77
Move step goal generic, show proper sleep goal in weekly sleep goal
...
It is now also accessible via "About You" but still remains in the Mi Band Settings
(because it has to be setup initially by a "wizard")
2017-03-11 11:34:03 +01:00
Andreas Shimokawa
e6928202c5
update changelog
2017-03-11 10:52:42 +01:00
Translation Bot
aa60acbf07
update translations from transifex (THANKS)
2017-03-11 10:48:54 +01:00
Daniele Gobbetti
c23b938a9a
Update changelog
2017-03-11 10:32:04 +01:00
Daniele Gobbetti
a1af4a4599
Add classification for Squeaky Mail as mail app. Fixes #589
2017-03-11 10:23:57 +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
Daniele Gobbetti
a566a6656c
Fix line endings (no content changes)
2017-03-10 13:43:47 +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
Translation Bot
3abbe12b53
Merge branch 'master' into new_GUI
2017-03-08 21:42:52 +01:00
Andreas Shimokawa
f070ce5ce7
fix copy and paste error in xml changelog
2017-03-08 13:49:28 +01:00
Andreas Shimokawa
410fc0e8dc
update changelogs
2017-03-08 12:51:14 +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
0b45fe63f0
Fix up the testcases
...
Please check if transliteration of Hebrew in LnaguageUtilsTest is
correct. It works just fine if you follow the mapping in LanguageUtils.
Test all transliteration in LanguageUtils only, the test in
DeviceCommunicationServiceTest does not need to be done for every
language.
Also use assertEquals(expected, value) instead of assertTrue(expected.equals(value));
2017-03-05 19:44:31 +01:00
cpfeiffer
09d4f81ce8
Update dependencies
2017-03-05 19:44:16 +01:00
cpfeiffer
94744677c9
Improve discovery hint re Privacy Guard crash
2017-03-05 16:30:31 +01:00
cpfeiffer
c56b655b48
Mi2: send text notification for mi2 only, not mi1a
2017-03-05 10:43:19 +01:00
cpfeiffer
88b35c6eec
Mi2: rename some constants + add two
2017-03-05 10:43:19 +01:00
Andreas Shimokawa
4a3eb6e8de
fix obvious copy&paste error in tests
2017-03-04 22:46:41 +01:00
Yaron Shahrabani
858eaa6690
Added Hebrew transliteration and tests ( #571 )
2017-03-04 22:08:24 +01:00
cpfeiffer
58e2538c4e
Discovery: handle the case where a device is already bonded
2017-03-04 16:03:36 +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
72801af0e7
Added Hebrew translation, thanks!
2017-03-03 20:48:13 +01:00
cpfeiffer
4419200624
Mi2: Initial support for textual notifications #560
2017-03-03 20:12:43 +01:00
Andreas Shimokawa
a90e0074fc
Change weekly sleep charts to display sleep from 12:00-12:00 instead of 0:00-0:00
2017-03-03 17:33:00 +01:00
Andreas Shimokawa
a0bb0c973c
bump compilesdk and support libraries to v25
2017-03-03 14:35:44 +01:00
Andreas Shimokawa
216d35aeee
bump version to 0.18.0
...
(not yet release time)
2017-03-03 14:23:51 +01:00
Andreas Shimokawa
9b2f47d10a
Improvements to week sleep chart
...
Time to close #557
2017-03-03 14:21:59 +01:00
Andreas Shimokawa
f97a53a89f
bump buildtools version to 25.0.2
...
25.0.0 was suggested fist - :/
2017-03-03 09:33:57 +01:00
Andreas Shimokawa
03181202d1
update buildtoolsversion to 25.0.0
2017-03-03 09:32:43 +01:00
Andreas Shimokawa
55019579ef
update translations from Transifex (thanks!)
2017-03-03 09:31:19 +01:00
Andreas Shimokawa
7a3b2899e7
trial and error
2017-03-03 08:58:11 +01:00
Andreas Shimokawa
cbebd845cf
rename pt_BR to pt_rBR, fixes #569
2017-03-01 17:29:32 +01:00
cpfeiffer
c619f17637
Updated translation from transifex (thanks)
2017-02-28 20:38:48 +01:00
cpfeiffer
21f2fed7e8
Add Portuguese translations from Transifex (thanks!)
2017-02-28 20:32:37 +01:00
Daniele Gobbetti
ca73d0c2d4
Add mapping to weather icons
2017-02-27 21:45:10 +01:00
cpfeiffer
19b0e5e801
Centralize icons for devices
2017-02-26 22:46:49 +01:00
Andreas Shimokawa
ac1875eea0
Charts: In "Sleep a week" chart display light and deep sleep as stacked bars
2017-02-26 21:41:27 +01:00
Daniele Gobbetti
176cf79cc1
Merge branch 'master' into new_GUI
...
# Conflicts:
# app/build.gradle
2017-02-26 16:55:54 +01:00
Andreas Shimokawa
8b39ef3a52
Speedup for charts by caching aggregated sleep amounts and steps for maximum 32 days
2017-02-26 00:40:50 +01:00
Andreas Shimokawa
aac9827e63
remove OnboardingActivity from manifest (its gone)
2017-02-25 17:58:19 +01:00
Daniele Gobbetti
e7846f4754
Pebble: override the native navigator.geolocation GetCurrentPosition
...
The native method requires FINE location permission, and we don't have it. Further we should handle the runtime permission request.
2017-02-25 13:31:48 +01:00
Daniele Gobbetti
2eb43fa740
Pebble: Fix for week sleep chart amounts (the colors are still wrong)
2017-02-25 12:52:24 +01:00
Andreas Shimokawa
08080b02bb
Drop support for legacy (pre 0.12.0) database
2017-02-23 22:44:44 +01:00
cpfeiffer
49e1b55ad8
Format center-text for week-sleep-pie
2017-02-23 21:15:57 +01:00
Andreas Shimokawa
437ec6c9b7
Minor improvements to the WIP week sleep chart
2017-02-23 08:50:31 +01:00
cpfeiffer
337bfa1938
Handle button presses and log them
...
See #556
2017-02-21 21:41:21 +01:00
Andreas Shimokawa
e9cb5fd374
WIP sleep in a week chart
...
Displays minutes which is confusing
Only displays deeps sleep (no idea why)
Is green (which is also confusing)
2017-02-21 16:20:42 +01:00
Andreas Shimokawa
db58b32b6f
Update two german strings
2017-02-20 22:23:44 +01:00
Andreas Shimokawa
24794c46b1
update translations from transifex (THANKS)
2017-02-20 22:20:22 +01:00
Andreas Shimokawa
c23e496db6
bump version, update changelog
2017-02-20 22:19:16 +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
cpfeiffer
e5d09b9fa2
Automatically start the service on boot (can be turned off)
...
Fixes #9
2017-02-17 23:24:44 +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
Andreas Shimokawa
b31dd9b2fa
translate some strings to German
2017-02-11 22:52:58 +01:00
Andreas Shimokawa
c851f73265
update CHANGELOG
2017-02-11 22:42:39 +01:00
Andreas Shimokawa
3936a7d8a0
update all languages from transifex (THANKS)
...
French changes merged by a PR are overwritten though this. We didn't have a solution from that - so I will just rely on transifex - sorry.
2017-02-11 22:34:04 +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
cpfeiffer
0042ffc514
Set the notification ID on alarm start
2017-02-10 22:52:55 +01:00
cpfeiffer
89bf63d540
Implement hashCode() when you implement equals()!
2017-02-10 00:32:03 +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
083b8db1ec
update Japanese and Spanish from Transifex (THANKS!)
2017-02-09 17:20:29 +01:00
Andreas Shimokawa
2b7162055d
bump version, add changelog
2017-02-09 17:18:33 +01:00
Andreas Shimokawa
5bb1995eb9
Pebble: fix privacy mode title being "null" in some cases
2017-02-09 17:10:39 +01:00
Andreas Shimokawa
436a7ddb24
Pebble: fix alarm notifications only working one
...
id -1 means undefined, everything else is liked to a real android notification
2017-02-09 15:07:00 +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
bf8ae5d5af
HPlus: Add constant ARG_ALARM_DISABLE
2017-02-05 23:55:48 +00:00
João Paulo Barraca
644c06df68
HPlus: Clear alarms if no alarm is enabled
2017-02-05 23:52:36 +00:00
Andreas Shimokawa
030edef033
Merge pull request #541 from ivanovlev/master
...
Transliteration: capitalized just the first letter in the replacement
2017-02-05 22:59:03 +01:00
Andreas Shimokawa
b3cddebdbb
Pebble: ensure a better error message if someone tries to install a FW 1.x pbw
2017-02-05 22:50:42 +01: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
Daniele Gobbetti
b894c01822
Make the media notification receiver more robust.
...
Sometimes the media notification does not contain the expected components, hence the code covered by the try/catch has been adjusted. This was reported in #533 for VLC.
In the future the whole media handling will probably be refactored.
2017-02-05 15:13:26 +01:00
ivanovlev
fd61dc602f
Transliteration: capitalized just the first letter in the replacement text
2017-02-04 09:53:07 +03: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
3fcf4938b9
Changelog for Music receiver refactoring
2017-02-01 23:10:23 +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
cpfeiffer
d030ad9400
Ups, remove accidental import from C&P
2017-01-29 23:06:40 +01:00
cpfeiffer
b157f84b83
Log connection attempt when BT is turned on
2017-01-29 22:56:56 +01:00
cpfeiffer
2ae4497261
Mi2: the only reason I can see for detecting MiBandSupport for Mi2
...
Fixes #529 , hopefully
2017-01-28 23:25:15 +01:00
cpfeiffer
ec6a8b6743
MI: some more logging
2017-01-28 23:25:15 +01:00
cpfeiffer
6c16b4fb15
Updated initial array list size to reflect reality
2017-01-28 23:25:15 +01:00
cpfeiffer
4c48b473ac
Show device type in GBDeviceCandidate.toString()
2017-01-28 23:25:15 +01:00
ivanovlev
2d3907b0f0
Fix issue #522 : Transliterate Caller Name
2017-01-27 23:16:19 +03:00
cpfeiffer
13af1c1e11
Ignore Gadgetbridge's own notifications
...
Fixes #411
2017-01-27 00:23:45 +01:00
cpfeiffer
f9779d9695
Improve some messages
2017-01-26 23:22:57 +01:00
cpfeiffer
ba7d13fa5d
Disable smart alarms for Mi2
...
Closes #471
2017-01-26 21:09:49 +01:00
Andreas Shimokawa
298e2a9955
Merge pull request #524 from jpbarraca/Makibes-F68-refactor
...
HPlus: Change Makibes F68 device type
2017-01-26 17:24:12 +01:00