* Baseline original code from AndyXMB * Initial updates for OH3 * fix null warnings and add sub-channel handling Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>