return early for empty bitmap

Change-Id: I768ffe9dc1226bbcca706e0c56c6103e043b2401