Remove dependency of libhardware_legacy am: b422f16e23 am: 9d9fb91751
am: f56965a9bc

Change-Id: Ic992d8c96fbafd42d5947986e4711ee2a9b3ae1f