commit | e3bbb3d6c09a29cddeb544308e5b3210908fa256 | [log] [tgz] |
---|---|---|
author | Svetoslav <svetoslavganov@google.com> | Thu Jun 12 10:43:20 2014 -0700 |
committer | Svetoslav <svetoslavganov@google.com> | Thu Jun 12 10:43:23 2014 -0700 |
tree | 9ef6aff2f95669bd5172c1ad747f2f4630d7c9b1 | |
parent | 4604abc97d7dd757bb76ff9b7fcf343dc4a15212 [diff] |
Fix NPE in PrintActivity. It is possible that the orientation is chosen before the media size. The code handling orientation change was wrognly expecting to have a selected media size all the time resulting in a NPE. bug:15512333 Change-Id: I9f2786af314641144a24c1d1363c8d2590b0df57