Skip to content
Vehicle properties
Platform & VHAL internalsnot in the public Car API

DISABLED_OPTIONAL_FEATURES

What it is

Allow disabling optional featurs from vhal.

This property reports optional features that should be disabled. All allowed optional features for the system is declared in Car service overlay, config_allowed_optional_car_features. This property allows disabling features defined in the overlay. Without this property, all the features declared in the overlay will be enabled.

Value read should include all features disabled with ',' separation. ex) "com.android.car.user.CarUserNoticeService,storage_monitoring"

How the ID is built

A property ID is a 32-bit value packing four fields. Reading 0x11100f06 apart:

FieldMaskValueMeans
Group0xf00000000x10000000SYSTEM
Area0x0f0000000x01000000GLOBAL
Type0x00ff00000x00100000STRING
Ordinal0x0000ffff0x00000f060xf06

Reading it from an app

This property is defined in the HAL but is not exposed as a constant in android.car.VehiclePropertyIds, so it is not reachable through CarPropertyManager from an ordinary app. It is used by the platform, or by vendor code running with system privileges.