fix to the new api of the device channel

Change-Id: I297fd99811e5bf0f08d4c306e09cf2b45e3f588c