HWComposer: change to old api

Change-Id: I0047e5b672af8949dae45b7dd836057f42851b03