mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 00:29:11 +01:00
Hide keyboard when closing the bubble activity.
This commit is contained in:
@@ -3,6 +3,8 @@ package org.thoughtcrime.securesms.conversation;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.appcompat.widget.Toolbar;
|
||||
|
||||
import org.thoughtcrime.securesms.util.ViewUtil;
|
||||
|
||||
/**
|
||||
* Activity which encapsulates a conversation for a Bubble window.
|
||||
*
|
||||
@@ -16,6 +18,12 @@ public class BubbleConversationActivity extends ConversationActivity {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onPause() {
|
||||
super.onPause();
|
||||
ViewUtil.hideKeyboard(this, getComposeText());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onInitializeToolbar(@NonNull Toolbar toolbar) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user