Scalable UI for minimized dialer controls

As part of the Scalable UI multitasking enhancements, Android 17 QPR2 introduces minimized dialer controls between the system bars. This feature lets original equipment manufacturers configure modular, space-saving call controls dedicated to active phone sessions.

You can control active calls, such as muting the microphone, ending the call, and opening the dial pad overlay, directly from the system navigation bar while another app fills the central panel.

Resources

This feature uses a modular architecture within the Scalable UI framework, decoupling core controller logic from display geometry:

  • Core pod library in packages/apps/Car/SystemUI/pods/minimized-controls/: This library contains reusable controller logic and baseline view declarations.
  • Integration library in packages/apps/Car/SystemUI/samples/: This library provides custom window layouts, XML panel bounds, and default runtime resource overlay (RRO) configurations.

Implementation

To integrate minimized dialer controls with XML configurations without adding new system APIs, configure your product layout:

  1. In res/xml/minimized_dialer_controls_controller.xml, map your minimized dialer controller ID to the core controller class:

    <!-- res/xml/minimized_dialer_controls_controller.xml -->
    <Controller id="minimized_dialer_controls_controller">
        <ControllerName>
            com.android.systemui.car.minimizedcontrols.MinimizedDialerControlsPanelController
        </ControllerName>
        <View>
            com.android.systemui.car.minimizedcontrols.MinimizedDialerControlsView
        </View>
    </Controller>
    
  2. In your release configuration, such as res/xml/minimized_dialer_controls_panel.xml, configure the window bounds using the <DecorPanel> schema:

    <!-- res/xml/minimized_dialer_controls_panel.xml -->
    <DecorPanel id="minimized_dialer_controls_panel"
                defaultVariant="@id/closed"
                displayId="0"
                controller="@xml/minimized_dialer_controls_controller">
    
        <Variant id="@id/base">
            <Layer layer="102"/>
        </Variant>
    
        <!-- Open View Variant -->
        <Variant id="@id/open" parent="@id/base">
            <Visibility isVisible="true"/>
            <Bounds left="@dimen/minimized_controls_left"
                    width="@dimen/minimized_controls_width"
                    bottom="100%"
                    height="@dimen/navigation_bar_height"/>
        </Variant>
    
        <!-- Closed View Variant -->
        <Variant id="@id/closed" parent="@id/base">
            <Visibility isVisible="false"/>
            <Bounds left="@dimen/minimized_controls_left"
                    top="100%"
                    width="@dimen/minimized_controls_width"
                    height="@dimen/navigation_bar_height"/>
        </Variant>
    
    </DecorPanel>
    
  3. In your samples directory, packages/apps/Car/SystemUI/samples/, build an RRO to override layout dimensions and position anchors to match your custom display geometry.

Requirements and validation

This feature doesn't introduce CDD, GMS, or VSR requirements. You can verify the implementation through automated integration tests and manual tasks.

To automatically verify the feature, run these integration test suites:

  • atest CarSystemUITests:MinimizedDialerViewModelTest

To manually verify the feature on a target automotive device, perform these tasks:

  • Confirm that the minimized panel hides on _System_OnHomeEvent and appears when opening background applications during an active phone call, such as navigation.
  • Confirm that tapping the mute, end call, and dial pad controls triggers the expected call actions on the active telephony session.
  • Confirm that tapping the profile button opens the full Dialer app.