Track hardware_legacy from AOSP