1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-08 19:27:04 +01:00
Commit Graph

12238 Commits

Author SHA1 Message Date
cpfeiffer
365ce61cb6 Support for firmware upgrade/downgrade on Mi 1A.
I hope I didn't break firmware upgrades on some Mi 1 models
other than mine (my hardware revision is 2).

Upgrades for Mi 1S are currently disabled, we need some brave
souls who can help us test this.

Closes #173
Also see: #169
2015-12-07 01:14:06 +01:00
cpfeiffer
6b053c4240 Make method protected, for future use 2015-12-07 01:13:47 +01:00
cpfeiffer
5a479c9175 fix typo 2015-12-07 01:13:47 +01:00
cpfeiffer
aa60ce4b56 Disable some notifications also for update-firmware operation
(introduce a common superclass to do that)
2015-12-07 01:13:47 +01:00
cpfeiffer
579546c9f8 Display a toast when bonded 2015-12-07 01:13:47 +01:00
cpfeiffer
b056e1b2a0 tiny log addition 2015-12-07 01:13:47 +01:00
cpfeiffer
8cd6bf09a4 Fix NPE when an error occurs during activity synchronization
(activityDataStruct is null after handleActivityFetchFinish())

Also remove superfluous log statement -- toasts are logged as well.
2015-12-07 01:13:47 +01:00
Andreas Shimokawa
31599f2776 Mention "Stand-By-Mode" in README, replace "Pebble Time" with "Firmware 3.x" where appropriate 2015-12-06 21:28:43 +01:00
Andreas Shimokawa
b05cfc6aac Pebble: fix crash on firmware 3.x when pebble requests a pbw that is not in Gadgetbridge's cache 2015-12-06 17:56:46 +01:00
Andreas Shimokawa
79f92b8495 Fix installing pbw files from different URIs than local files on Firmware 3.x. Fixes #183 2015-12-06 17:22:07 +01:00
Andreas Shimokawa
9ebb320e10 fix installing pbz/pbw files from content provides (eg. download manager)
This still does not fix pbw isntallation problems with FW 3.x since the content does not get copied to the pbw cache yet when content providers are involved
2015-12-06 16:48:43 +01:00
Andreas Shimokawa
05a8436f7c Treat notifications from Signal as chat messages 2015-12-06 16:10:46 +01:00
Andreas Shimokawa
39e09946cd fix missing assignment *cough* 2015-12-06 15:39:34 +01:00
Andreas Shimokawa
112dfa184a Catch securtiy exception if contacts can't be read on Android 6.0. Closes #182 2015-12-06 15:32:48 +01:00
Andreas Shimokawa
a8db606240 Link to wiki for pebble firmware updates 2015-12-06 12:48:43 +01:00
Andreas Shimokawa
bf61147224 update README
- remove note about firmware updates on 3.x problably not working (as they seem to work fine)
- remove note about pre Android 4.4, it won't be done.
2015-12-06 12:33:53 +01:00
Andreas Shimokawa
0cf6e61ca6 update CHANGELOG.md and bump version 2015-12-05 16:25:15 +01:00
Andreas Shimokawa
bc108ba095 Pebble: support installing 3.x apps on OG Pebble 2015-12-05 16:06:42 +01:00
Andreas Shimokawa
f3a33cb620 update CHANGELOG.md 2015-12-01 11:58:36 +01:00
Andreas Shimokawa
aca0149b45 use DeviceHelper in DeviceSupportFactory to determine supported device from bt addresses
This fixes a bug when Pebble was detected as Mi when unpaired.
Since we were not able to read the device name, it was considered MI by duplicated and
faulty code. Fixes #177.
2015-12-01 11:39:34 +01:00
Andreas Shimokawa
729555b045 update translations from transifex (thanks) 2015-12-01 09:47:13 +01:00
cpfeiffer
40d7f3b19f Improved log output for progress actions 2015-11-30 23:42:59 +01:00
cpfeiffer
4b42a9a4f6 Improved log output for abort actions 2015-11-30 23:42:59 +01:00
cpfeiffer
8585572197 Improved log output for plain actions 2015-11-30 23:42:59 +01:00
Andreas Shimokawa
17ba49374c Fix copy&paste error in K9Receiver.java, update CHANGELOG.md 2015-11-27 23:45:27 +01:00
Andreas Shimokawa
c768107db8 Catch permission errors in K-9 Mail receiver. Closes #175. 2015-11-27 22:42:47 +01:00
cpfeiffer
bd0716ba58 Some more lint warnings fixed 2015-11-23 23:04:46 +01:00
cpfeiffer
95dc67c98d Back to sdk level 19 (#173) 2015-11-23 22:49:11 +01:00
cpfeiffer
81c2f657bd Some lint fixes 2015-11-23 22:46:12 +01:00
cpfeiffer
a7a061e298 Update gradle built tools to 1.5 2015-11-23 22:11:16 +01:00
cpfeiffer
4616dcc965 Handle case where notification.extras is not available #174 2015-11-23 22:09:47 +01:00
cpfeiffer
394a0905dc Avoid potential, but very unlikely NPE 2015-11-23 21:59:13 +01:00
cpfeiffer
4622b384f2 Add comment regarding commented out internet permission
(Pebble Emulator)
2015-11-23 21:42:35 +01:00
cpfeiffer
c1d9777047 Remove superfluous minSDKVersion in AndroidManifest.xml 2015-11-23 21:41:06 +01:00
cpfeiffer
52047b615c Drop minSDKVersion to 18 #174
Please test :-)
2015-11-23 21:39:08 +01:00
cpfeiffer
a53f1c21eb Simplification 2015-11-23 21:39:08 +01:00
Carsten Pfeiffer
be644befb4 Merge pull request #171 from nico202/master
Fixed italian typo
2015-11-23 00:39:30 +01:00
Nicolò Balzarotti
99c97ccda7 Fixed italian typo 2015-11-20 23:43:24 +01:00
cpfeiffer
34e08f6de8 Avoid potential NPE. Check for null first. 2015-11-18 23:21:56 +01:00
cpfeiffer
1e6db708d2 Fix NPE.
Now that is a really crappy API in Android that returns an array with null values.

closes #167
2015-11-18 23:18:01 +01:00
Andreas Shimokawa
ea98e207d9 bump version, update CHANGELOG.md 2015-11-15 10:32:43 +01:00
Andreas Shimokawa
1734e58f70 Pebble: Initial try to interpret sleep 2015-11-15 10:30:28 +01:00
cpfeiffer
ebbb71ae9d Update MPAndroidChart to 2.1.6 2015-11-13 23:57:04 +01:00
cpfeiffer
f349846f4a Another small change to BTLE device connection #156 2015-11-13 23:53:48 +01:00
cpfeiffer
5864189b91 Update changelog 2015-11-09 23:56:46 +01:00
cpfeiffer
2e267a4c2b Temporary workaround for totally wrong sleep stats
The reason being that we filter samples by activity kind
and then calculate the total sleep time using a delta between two
consecutive sample timestamps. But due to filtering of samples, not
all samples are consecutive. Instead of we have "holes" and add those
to your sleep time.

The data in the db is correct though (it always is), it's just the
display in the app that is wrong.
2015-11-09 23:56:46 +01:00
cpfeiffer
d9722c6db2 Translate strings, remove unused variable 2015-11-09 23:56:46 +01:00
Carsten Pfeiffer
193d74879a Merge pull request #161 from sarg/master
Correct buildTools version in travis.yml
2015-11-09 22:32:07 +01:00
Sergey Trofimov
fc2cc3adb4 attempt travis fix
use same suggestion as per
https://github.com/travis-ci/travis-ci/issues/5036
2015-11-09 11:13:08 +03:00
Sergey Trofimov
b70fbeccc9 Correct buildTools version in travis.yml 2015-11-06 17:39:07 +03:00