am e6b5c05a: Add a helper for dumping layers into the log

Merge commit 'e6b5c05aa0236dc42107d028a366a3fd2678677b' into gingerbread-plus-aosp

* commit 'e6b5c05aa0236dc42107d028a366a3fd2678677b':
  Add a helper for dumping layers into the log