[Gingerbread] Work around lack of ColorDrawable.getColor

Change-Id: I8a8364ab266d8bbbaf7cde50ad7e08e4d637b5a1