diff --git a/src/main/java/eu/siacs/conversations/ui/RtpSessionActivity.java b/src/main/java/eu/siacs/conversations/ui/RtpSessionActivity.java
index 4fcab1157..32a0d03ef 100644
--- a/src/main/java/eu/siacs/conversations/ui/RtpSessionActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/RtpSessionActivity.java
@@ -29,12 +29,8 @@ public class RtpSessionActivity extends XmppActivity implements XmppConnectionSe
private ActivityRtpSessionBinding binding;
+ @Override
public void onCreate(Bundle savedInstanceState) {
- getWindow().addFlags(
- WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON
- | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD
- | WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED
- | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON);
super.onCreate(savedInstanceState);
this.binding = DataBindingUtil.setContentView(this, R.layout.activity_rtp_session);
this.binding.rejectCall.setOnClickListener(this::rejectCall);
@@ -42,6 +38,12 @@ public class RtpSessionActivity extends XmppActivity implements XmppConnectionSe
this.binding.acceptCall.setOnClickListener(this::acceptCall);
}
+ @Override
+ public void onStart() {
+ super.onStart();
+ Log.d(Config.LOGTAG,"RtpSessionActivity.onStart()");
+ }
+
private void endCall(View view) {
requireRtpConnection().endCall();
}
diff --git a/src/main/res/layout/activity_rtp_session.xml b/src/main/res/layout/activity_rtp_session.xml
index 28d954313..c21cec4ff 100644
--- a/src/main/res/layout/activity_rtp_session.xml
+++ b/src/main/res/layout/activity_rtp_session.xml
@@ -7,33 +7,33 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
-
+ android:paddingRight="16dp"
+ android:paddingBottom="32dp">
+
+ android:textAppearance="@style/TextAppearance.Conversations.Title"
+ android:textColor="@color/white"
+ tools:text="Incoming call" />
+
+ android:textColor="@color/white"
+ tools:text="Juliet Capulet" />
+
+
-
+ tools:visibility="visible" />
+ app:maxImageSize="36dp" />
+ tools:visibility="visible" />