car/app/app/src/main/java/androidx/car/app/AppManager.java
/**
     * Dismisses the alert with the given {@code id}.
     *
     * <p>This is a no-op if there is not an active alert with the given {@code id}</p>
     *
     * @param alertId     the {@code id} of the {@code alert} that should be dismissed
     * @throws HostException        if the remote call fails
     */
Dismisses the alert with the given  id.
This is a no-op if there is not an active alert with the given  id

@param alertId     the  id of the  alert that should be dismissed
@throws HostException        if the remote call fails
Dismisses the alert with the given id . This is a no - op if there is not an active alert with the given id @param alertId the id of the alert that should be dismissed @throws HostException if the remote call fails
@RequiresCarApi(5)
    public void dismissAlert(int alertId) {
        mHostDispatcher.dispatch(
                CarContext.APP_SERVICE,
                "dismissAlert", (IAppHost host) -> {
                    host.dismissAlert(alertId);
                    return null;
                }
        );
    }
@ RequiresCarApi ( 5 ) public void dismissAlert ( int alertId ) { mHostDispatcher . dispatch ( CarContext . APP_SERVICE , "dismissAlert" , ( IAppHost host ) -> { host . dismissAlert ( alertId ) ; return null ; } ) ; }
Dismisses the alert with the given {@code id}.
Dismisses the alert with the given { @code id } .