Commit graph

52 commits

Author SHA1 Message Date
Sylvain Berfini
fe880d7774 Added custom heads up notification for incoming calls + fixed incoming call activity not showing up on Android < 24 2019-09-12 16:31:55 +02:00
Sylvain Berfini
74261a1830 Improved notifications: start call activity after answering from notification + show reply in message notification like SMS app + improved compatibility methods to fully used available APIs + updated target api to 29 2019-09-11 16:50:51 +02:00
Sylvain Berfini
9776c4cd50 Do not longer start incoming call activity from Service, instead use fullscreen intent in incoming call notification 2019-09-06 10:01:47 +02:00
Sylvain Berfini
33caa7ce92 Set ongoing flag for notifications that needs to be 2019-08-27 13:24:56 +02:00
Sylvain Berfini
1fb84ad046 Added setting for contacts shortcuts and related improvements 2019-06-21 14:28:50 +02:00
Sylvain Berfini
fdfb66e10c Added more logs in AsyncContactsLoader 2019-05-22 17:08:02 +02:00
Sylvain Berfini
2cb8994b98 Use library preview scaling + improved device rotation changes detection 2019-05-22 14:45:45 +02:00
Sylvain Berfini
9e0a441896 Fixed crash & improved logs when linphone is started from a contact 2019-05-17 10:51:04 +02:00
Sylvain Berfini
f74f6e5911 Fixed crash if foreground service notification is enabled 2019-05-16 17:27:58 +02:00
Sylvain Berfini
7f59bc2f95 Fetch contacts when service starts instead of waiting for main activity to be started, otherwise won't have any contact after auto start on boot 2019-05-15 12:36:57 +02:00
Sylvain Berfini
1b4dd6240b Fixed crashes 2019-05-13 11:36:43 +02:00
Sylvain Berfini
a1ee586a13 Feature/reworked call code 2019-05-10 17:15:06 +02:00
Sylvain Berfini
3e95ed8ed4 Changes to call Service.startForeground sooner 2019-05-06 10:18:23 +02:00
Sylvain Berfini
76df95c9fb Fixed preview orientation issue upon device rotation 2019-05-03 17:34:43 +02:00
Sylvain Berfini
fdb1e0ed60 Added shortcuts to most recent 1-1 chat rooms 2019-05-03 15:17:38 +02:00
Sylvain Berfini
4b846bcca8 Started to split LinphoneActivity in multiple activities
Added new activities that will replace LinphoneActivity

Added About & Dialer activities

Fixed back key press

Transformed Recordings fragment into activity

Started Settings activity

Small improvement for Recordings

Finished dialer

Permission shenanigans

Added back History

Small history improvements

Fixed issue with rotation in History

Started contacts

More changes & fixes for Chat

Improved performances when switching between activities

Prevent keyboard from opening automatically on some views

Added back workaround for infinite loop if screen off

Fixes & improvements

Some cleanup but a lot of work still left

Switching back to classic fragment fixed issues

Lots of fixes & improvements over History & Contacts

More work on chat

Small refactoring of license header

Settings & Chat fixes/improvements

More TODO FIXES removal

Tablet fixes

Fixes & improvements

Fixed back button on tablets

Got rid of LinphoneActivity

Fixed TODO FIXME related to permissions

Started chat room group info

Lot of fixes & improvements over Chat

Fixed sharing feature if LinphoneService isn't running

Lifecycle improvements

Sharing from outside app finished

Fixed quit button

Fixed display of missed chat/calls

Clean old code for chat rooms unread message count

Improved unread message count on tablets

This isn't useful anymore

Fixed last issue with unread count not updating in chat rooms list using new callbacks

Fixed latest TODO FIXME due to CallAcitvity singleton removal

Updated remaining TODOs

Fixed issue with outgoing call not going to call activity once answered

Fixed back key press go home feature

Removed dead code

Code cleanup thanks to Android Studio inspector

Added back device power saver dialog + update registration state changed in menu

More auto rework by Android Studio + added back checkForUpdate & isAccountWithAlias method calls

More improvements, most of them on layout files

Fixed secured group chat rooms creation

Improved launch screen by using logo on gray background instead of default white screen

Added workaround for faster display of splashscreen

Removed noHistory flag on Settings, will be weird when going back from Android native settings

Fixed display of call logs list in history details in landscape on smartphone depending on screen size

Reorganized activities + fixed dark theme switch

Manager & Service cleanup

Simplified notification process

More manager simplifications

Moved audio manager related code from LinphoneManager to dedicated class

Core accessor cleanup

Exclude XmlRpc & InApp related code from standard APK + moved call related methods from LinphoneManager to CallManager

Fixed click on chat bottom bar button doing nothing after going into chatroom through notification or shortcut

Fixed chat message fragment update if presence is received while view has already been displayed

Improved second to last commit

Fixed navigation issue in chat

More code improvements
2019-05-03 13:54:45 +02:00
Sylvain Berfini
335c677c7f Fixed crash if service intent is null 2019-04-16 15:56:29 +02:00
Sylvain Berfini
7241fc80b3 Reworked background/service settings 2019-04-10 10:26:11 +02:00
Sylvain Berfini
4ac20cc8c7 Better workaround for infinite loop 2019-04-07 18:48:56 +02:00
Sylvain Berfini
b52bd60ca3 Fixed crashs 2019-04-07 18:23:23 +02:00
Sylvain Berfini
62daa5c1a3 Started early-media display 2019-03-29 15:22:11 +01:00
Sylvain Berfini
8ca7f395d8 Improvements regarding call notifications and activities 2019-03-18 16:14:03 +01:00
Sylvain Berfini
44259e5c10 Fixed infinite loop of LinphoneActivity stop/start when screen is locked and incoming call is hung up by remote 2019-03-14 12:46:29 +01:00
Sylvain Berfini
0cda463087 Use call notification as service's foreground notification instead of having two 2019-03-07 16:23:47 +01:00
Sylvain Berfini
a1f4aa7c75 Improve how we use/set/show the border around the remote avatar 2019-03-06 11:49:23 +01:00
Sylvain Berfini
10f34a1979 Moved intent filter to LinphoneActivity to prevent launcher from showing each time + started to improve this process 2019-03-05 19:30:09 +01:00
Sylvain Berfini
242a9ccd9c This is handled by the lib now 2019-03-01 16:46:45 +01:00
Sylvain Berfini
460640d59e Use new Core.stop() method 2019-03-01 15:49:31 +01:00
Sylvain Berfini
ef5c88a109 Fixed dual logger + force network reachability and background mode on Core when starting because of a push 2019-02-27 10:14:15 +01:00
Sylvain Berfini
e653ce2fe7 Fixed Core references being held in different places in the app, preventing from being unref'ed at native level 2019-02-25 15:57:56 +01:00
Sylvain Berfini
9e076971a0 Fixed crash if contact permission isn't granted + auto fetch if granted while in contacts fragment 2019-02-22 10:27:20 +01:00
Sylvain Berfini
15ab10b4cb Fixed issue when destroying service 2019-02-21 15:27:34 +01:00
Sylvain Berfini
28c2b86b75 Use Linphone Log class instead of mediastreamer2's 2019-02-20 14:34:54 +01:00
Sylvain Berfini
49cee682dc Using new addListener/removeListener instead of deprecated setListener for LoggingService, Player and FriendList 2019-02-20 11:31:28 +01:00
Sylvain Berfini
e333e5a58a Split video overlay into 2 classes 2018-12-14 17:00:19 +01:00
Sylvain Berfini
9b0fa01310 Fixed crash on Huawei (added permission) + improved huawei popup using our dialog template 2018-12-10 17:20:11 +01:00
Sylvain Berfini
adb3506cce Trying workaround for Huawei devices... 2018-12-10 16:21:25 +01:00
Sylvain Berfini
3802deee19 Code cleaning & code improvements reported by android studio 2018-12-05 13:35:05 +01:00
Sylvain Berfini
9300877d12 Code refactoring: renamed private variable to start with m (or s if static) and removed unused code 2018-12-05 11:55:14 +01:00
Sylvain Berfini
1f6d92b92a Huge code refactoring using google tool 2018-11-30 10:31:22 +01:00
Sylvain Berfini
7370712dc3 Added logs to make it easier to debug push notifications 2018-11-28 10:52:48 +01:00
Sylvain Berfini
fd769231ac Improved code storage 2018-11-22 15:56:17 +01:00
Sylvain Berfini
37fed6852d Fixed goToHistory when clicking on missed call notification 2018-11-21 11:14:09 +01:00
Sylvain Berfini
b16923ac1c Cleaning LinphoneService a bit 2018-11-21 10:43:30 +01:00
Sylvain Berfini
1e6fb279c0 Cleaned LinphoneService a bit, moved all notifications related code to another class 2018-11-20 17:10:05 +01:00
Sylvain Berfini
886b5a36c0 Android 9 requires a new permission for foreground services 2018-11-20 14:31:33 +01:00
Sylvain Berfini
dc998e435c Fixed some lint warnings + updated min SDK version to 21 + code cleaning 2018-11-19 10:14:43 +01:00
Sylvain Berfini
cd1449c157 Improved incoming call's answer and delete buttons UI 2018-11-16 16:24:15 +01:00
Sylvain Berfini
1491cb9710 Always keep hangup action in call notification + fixed multiple call notifications issue 2018-11-16 15:43:42 +01:00
Sylvain Berfini
82a81e5d5d Added answer/hangup buttons to incoming call notifications 2018-11-16 15:07:47 +01:00