Incallui
To ensure a seamless and intuitive In-Call UI experience, follow these best practices:
callerNameTextView = view.findViewById(R.id.caller_name_text_view); callerNumberTextView = view.findViewById(R.id.caller_number_text_view); callDurationTextView = view.findViewById(R.id.call_duration_text_view); }
Here is a breakdown of what it does and why it appears on your phone: incallui
// InCallActivity.java
If you are checking your Google Activity or battery usage and see "InCallUI," it usually looks something like com.android.incallui . This can be confusing, but it is completely normal. To ensure a seamless and intuitive In-Call UI
One of the most common bugs in custom ROMs and OEM skins is the "Black Screen of Death"—the screen stays black when a call comes in, or you can't hang up.
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_in_call); or you can't hang up.
InCallUI is not the same as your dialer’s main activity. Your dialer app contains the call log and contact search, but the in-call screen is a separate activity that only starts when Telecom broadcasts an InCallService intent.
import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.TextView;