• Colin Cross's avatar
    hardware: add ro.hardware.<class> to HAL loading properites list · 85ab5d1f
    Colin Cross authored
    Try to load a HAL determined by ro.hardware.<class> first before
    falling back to hardware, board, platform, arch, and default.
    This is intended to be used to support multiple hardware variants
    from the same source.  For example, a single build that supports
    two gps chips, gps001 and gpsb, could use /factory/factory.prop
    to set ro.hardware.gps=gps001 or ro.hardware.gps=gpsb, which would
    load gps.gps001.so or gps.gpsb.so.  Two separate builds from the
    same source could use PRODUCT_PROPERTY_OVERRIDES to set the
    properties.
    
    Change-Id: I1ac46c21ceb27ceb5165e8c44e9373e9c5d4e34e
    85ab5d1f
hardware.c 5.31 KB