Remove duplicate libhardware and libhardware_legacy