Commit graph

280 commits

Author SHA1 Message Date
Mario Danic
46fb761499 Fix crash with camera switching
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-15 16:33:20 +01:00
Mario Danic
b1722f81b3 Fix issues with db & permissions
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-15 10:06:24 +01:00
Mario Danic
a79a872e69 Close database after fetching it
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-15 09:24:09 +01:00
Mario Danic
14ecd5623a Fix notifications on API 21 & 22
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-14 23:01:36 +01:00
Mario Danic
4541e07b3a Hide camera button if needed
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-14 22:52:46 +01:00
Mario Danic
a3c54fd854 Safeguard against crashes on devices with no camera
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-14 22:40:29 +01:00
Mario Danic
8df1cdf964 Check if videocapturer is null
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-14 22:33:47 +01:00
Mario Danic
075cd9f79f Notification manager shouldn’t be null
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-14 02:04:11 +01:00
Mario Danic
59e9da8984 Comment on the setColor usage
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-14 01:55:04 +01:00
Mario Danic
e20e3914be Fix issues with notification
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-14 01:51:39 +01:00
Mario Danic
60aeec2f57 Fix an issue on network change & add some devices
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-13 22:09:18 +01:00
Mario Danic
22cc8fc4cb Disable hardware acceleration on Samsung
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-13 21:43:41 +01:00
Mario Danic
413e962ef4 Some cleanups
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-13 11:51:00 +01:00
Mario Danic
42b71b9710 More cleanups
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-13 00:34:53 +01:00
Mario Danic
8dbd381adb Fix crash with getting db
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-13 00:24:41 +01:00
Mario Danic
3f21d8bfbe Fix cleanups again
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-12 22:33:57 +01:00
Mario Danic
b7539bfc12 Improvements to cleanup
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-12 22:10:35 +01:00
Mario Danic
2e6804dc35 Fix rootEgl release
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-12 21:45:24 +01:00
Mario Danic
d54a46f62f Fix cleanups
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-12 16:14:36 +01:00
Mario Danic
7c76fff135 More cleaning up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-12 16:03:46 +01:00
Mario Danic
a0763be26b Try to fix cleanup
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-12 15:59:09 +01:00
Mario Danic
e6cef58837 More hardening
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-12 15:32:43 +01:00
Mario Danic
ec7d2f58f6 Fix settings
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-12 15:30:00 +01:00
Mario Danic
562f5498d1 Improvements to login
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-12 15:25:15 +01:00
Mario Danic
04daed0926 Try to fix a crash with DB
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-12 14:52:07 +01:00
Mario Danic
f8f756da87 Fix crash when toggling media
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-12 11:02:54 +01:00
Mario Danic
d13efcc019 Guarding against nulls
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-12 11:00:44 +01:00
Mario Danic
6e61a18af0 Fix notification crash
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-12 10:58:41 +01:00
Mario Danic
9669a36f0b Fix a null crash on back
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-12 09:49:58 +01:00
Mario Danic
92ec767efd Fix a typo
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-12 08:18:49 +01:00
Mario Danic
c8915f20da Make client cert stronger
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-12 01:37:38 +01:00
Mario Danic
9fc0da273d Fix a bug
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-11 23:51:30 +01:00
Mario Danic
efc028725b Hopefully fix a crashing bug
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-11 23:26:56 +01:00
Mario Danic
350f7cc579 Safety net for onDestroy
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-11 23:09:40 +01:00
Mario Danic
a6e854bc9f Override back press to properly clean up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-11 23:08:04 +01:00
Mario Danic
0e78d0f64d Better clean up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-11 23:04:56 +01:00
Mario Danic
15c2bcc852 Improve avatars
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-11 14:13:29 +01:00
Mario Danic
d8c4708654 Clean up further
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-10 23:09:28 +01:00
Mario Danic
a812058dad Harden peer connection factory
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-10 20:34:35 +01:00
Mario Danic
61899d49ac Clean up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-10 20:19:22 +01:00
Mario Danic
d2f337cf1e Fix title & screen going off
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-09 20:25:59 +01:00
Mario Danic
ba9f840630 Fix far & near sensors
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-09 20:08:57 +01:00
Mario Danic
6671da9590 Fix sensors stuff
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-08 23:21:41 +01:00
Mario Danic
ad53b961b7 Try to fix camera enum crash
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-08 23:18:14 +01:00
Mario Danic
04d67829b3 Disable network receiver
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-08 23:16:47 +01:00
Mario Danic
c52cc03602 Fix account is imported message appearing
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-08 21:26:16 +01:00
Mario Danic
f84ae23f1c Fix UI bug & avatar loading
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-08 20:27:04 +01:00
Mario Danic
42d9b07c4e Fix wrong conditions
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-03 13:06:16 +01:00
Mario Danic
0bb2968424 Fix network receiver
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-03 09:06:00 +01:00
Mario Danic
1c4ba6f6ee Fix issues and add support for ringtone
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-02 21:41:39 +01:00
Mario Danic
c4faf54772 Cleanups
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-02 00:06:45 +01:00
Mario Danic
035af9a385 Some magic notification channels
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-02 00:03:25 +01:00
Mario Danic
2111ef247a Simplify account import
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-01 17:03:54 +01:00
Mario Danic
1880a9f481 Fix #14
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-01 16:35:30 +01:00
Mario Danic
e55f5ca325 Add support for protocol determination in import
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-01 11:59:47 +01:00
Mario Danic
d72ac921f8 Fix proxy getter
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-01 11:34:27 +01:00
Mario Danic
af472a8687 Fix proxy / network on main thread
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-01 11:23:49 +01:00
Mario Danic
bd6beab499 Fix some layout issues
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-31 21:25:12 +01:00
Mario Danic
af9ae6f4dd Fix crash on add account
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-31 00:07:53 +01:00
Mario Danic
97423444ce Use lambdas
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-31 00:00:24 +01:00
Mario Danic
0695d9fd73 Less empty lines
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-30 23:59:14 +01:00
Mario Danic
08e4771d62 We will always have access to token + strings
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-30 23:56:45 +01:00
Mario Danic
6f6ca83836 Slight improvements for switching account
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-30 23:46:22 +01:00
Mario Danic
9cb42ab2b8 Partial support for account import
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-30 23:43:44 +01:00
Mario Danic
ec9451caae Preparation for account import
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-30 22:44:05 +01:00
Mario Danic
787e742301 Remove avatar image view & add server url switch
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-30 20:55:58 +01:00
Mario Danic
bf356ca1d8 Set ringtone as sound for one-to-one calls
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-30 09:23:52 +01:00
Mario Danic
29f529ad8e Work a bit on notifications
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-30 00:19:41 +01:00
Mario Danic
baa317f6cf Fix issues with bottom navigation
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-29 00:47:50 +01:00
Mario Danic
bf71a90b8c Check for null
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-29 00:23:12 +01:00
Mario Danic
d24c96e573 Fix sensor far & near events
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-28 22:50:01 +01:00
Mario Danic
f53d11774f Improve optional camera & mic support
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-28 19:15:06 +01:00
Mario Danic
7fb6be59f2 Show action bar
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-28 13:48:28 +01:00
Mario Danic
ecbffd3805 Smooth out fade-in animation
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-28 13:30:23 +01:00
Mario Danic
32308d8c55 Better permissions support
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-28 13:27:23 +01:00
Mario Danic
df462a00b9 Initial work on better permissions handling
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-27 14:47:03 +01:00
Mario Danic
7571634872 Clean some code
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-22 15:23:14 +01:00
Mario Danic
de02ad278c Preparing call activity for notifications
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-22 15:09:39 +01:00
Mario Danic
7a784db57d Capture HD video at 30FPS
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-21 22:56:49 +01:00
Mario Danic
dfdf479ca3 Fix #22
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-21 22:25:46 +01:00
Mario Danic
79ac925b1d Remove useless check
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-21 13:17:16 +01:00
Mario Danic
71ca7914b4 Attempt at client-based auth
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-21 13:17:16 +01:00
Mario Danic
0f79e5d959 Future proof version check
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-21 13:17:16 +01:00
Mario Danic
c7443ad946 Regular cleanup
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-21 03:17:11 +01:00
Mario Danic
82e5d69000 Fix #38
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-21 03:17:11 +01:00
Mario Danic
3b92415493 Handle network loss & some icons
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-21 03:17:11 +01:00
Mario Danic
2fb9467623 Disable video when phone is near your ear
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-21 03:17:10 +01:00
Mario Danic
de3f222585 Use HW Video acceleration
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-21 03:17:10 +01:00
Mario Danic
84db3be5c8 Use Camera2 where available
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-21 03:17:10 +01:00
Mario Danic
effcc34ae2 Fix a crashing bug
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-21 03:17:10 +01:00
Mario Danic
28aa107365 Add empty line to end of file
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-20 08:14:45 +01:00
Mario Danic
6b5bd94112 Remove unused method
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-20 08:14:23 +01:00
Mario Danic
bc7d2f9f71 Fix #23 and a few other bugs
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-19 17:19:36 +01:00
Mario Danic
afca480e03 Various stuff
* search improves
* trust existing client certs
* translation issue fix

Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-19 14:31:12 +01:00
Mario Danic
fe956853aa Add support for TURN
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-19 13:41:55 +01:00
Mario Danic
c445edaa6e Change color for providers text
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-18 23:31:18 +01:00
Mario Danic
b47a736763 Add providers
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-18 23:21:27 +01:00
Mario Danic
ce895d9662 Fix some bugs
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-18 22:37:09 +01:00
Mario Danic
32e6752486 Various fixes and changes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-17 21:08:37 +01:00
Mario Danic
2203a7eb0d Fix #29
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-14 23:15:59 +01:00