Fixes getColor() NPE when colors array is null. Bug: 27543512 Change-Id: Ieec8a2315d0a2e4ab0ddbe053bccdd8c43080857