am c89e5a6a: Merge "Layout may be called with invalid print attributes." into klp-dev

* commit 'c89e5a6af1514320f90329dadebdfa26a3ae93d2':
  Layout may be called with invalid print attributes.