Deal with 0 color and duplex mode in supprot lib.

Change-Id: I814e25ece5bb05467be1d5f5737c65f28f7e86a4
2 files changed