Update unread message count after chat room deletion

This commit is contained in:
Sylvain Berfini 2018-11-22 09:28:43 +01:00
parent 8fe438cb00
commit 3810080c79
2 changed files with 1 additions and 6 deletions

View file

@ -55,7 +55,6 @@ android {
versionName "4.1" versionName "4.1"
applicationId getPackageName() applicationId getPackageName()
multiDexEnabled true multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
} }
applicationVariants.all { variant -> applicationVariants.all { variant ->
@ -107,11 +106,6 @@ android {
} }
dependencies { dependencies {
androidTestImplementation('com.android.support.test.espresso:espresso-core:+') {
exclude module: 'support-annotations'
}
androidTestImplementation 'com.jayway.android.robotium:robotium-solo:5.6.3'
androidTestImplementation 'junit:junit:4.12'
implementation 'com.google.firebase:firebase-messaging:15.0.2' implementation 'com.google.firebase:firebase-messaging:15.0.2'
implementation 'com.android.billingclient:billing:1.2' implementation 'com.android.billingclient:billing:1.2'
implementation 'org.apache.commons:commons-compress:1.16.1' implementation 'org.apache.commons:commons-compress:1.16.1'

View file

@ -251,6 +251,7 @@ public class ChatListFragment extends Fragment implements ContactsUpdatedListene
if (mChatRoomDeletionPendingCount > 0) { if (mChatRoomDeletionPendingCount > 0) {
mWaitLayout.setVisibility(View.VISIBLE); mWaitLayout.setVisibility(View.VISIBLE);
} }
LinphoneActivity.instance().displayMissedChats(LinphoneManager.getInstance().getUnreadMessageCount());
} }
@Override @Override