1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-29 16:26:18 +02:00
Commit Graph

13 Commits

Author SHA1 Message Date
FYG_license_bot_ignore_me
4c7476845b Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
License Bot
1b5402dcb4 update license headers 2021-01-10 23:38:13 +01:00
License Bot
d6fa5d0dd5 Update license headers 2020-01-09 10:44:32 +01:00
cpfeiffer
f3a7861fdb Fix some lgtm warnings 2019-02-28 21:57:45 +01:00
cpfeiffer
373e38eace Merge remote-tracking branch 'github/pr/1424' 2019-02-13 23:06:34 +01:00
License Bot
beedb653e6 Update license headers 2019-02-13 20:43:31 +01:00
Taavi
054c9722a7
Added a try-catch to not crash on de-emojifying 2019-02-13 04:26:04 +02:00
Matthieu Baerts
c239d1767b emoji: only the init can be sync
I applied @cpfeiffer suggestion, then I saw it was already done :)

Here only the init part is set as 'synchronized', very small
optimisation but because this change is ready, why not sharing it :)
2018-12-26 20:52:49 +01:00
cpfeiffer
ad9b45a94d Make EmojiManager initialization synchronized 2018-12-23 23:40:02 +01:00
Matthieu Baerts
e12561dd1d emoji: add missing face_throwing_a_kiss
I just saw that order was wrong and one 'face' emoji was missing.
2018-12-23 23:39:09 +01:00
Matthieu Baerts
22904667b8 emoji: do a lazy initialisation
The goal is not to slowdown the startup but also to do this
initialisation only when it is needed.

Suggested-by: cpfeiffer
2018-12-23 23:39:09 +01:00
Matthieu Baerts
ad0dbcb96a emoji: add support for simple emoji
Instead of displaying 'stuck_out_tongue', ':-P' is printed. Only the
common faces with ascii equivalent are mapped.
2018-12-23 12:52:49 +01:00
Matthieu Baerts
8d78c45e7d messages: convert emoji's to supported chars
Some devices don't support emoji's and display a series of `?` chars.
Instead of that, replace them by `:<emoji>:` text, e.g. `A 🐱` is
replaced by `A 🐱`.

This is done by using 'android-emojify' project and their
`EmojiUtils.shortCodify(text);` function.

For more details about this lib released under MIT license:

    https://anitrend.github.io/android-emojify/
2018-12-23 12:52:49 +01:00