Merge change 4828 into donut

* changes:
  Report densities in badging, debugging for nine patch bug.