OSDN Git Service

Make sure PrintAttributes have sane values.
authorPhilip P. Moltmann <moltmann@google.com>
Wed, 30 Mar 2016 16:07:36 +0000 (09:07 -0700)
committerPhilip P. Moltmann <moltmann@google.com>
Thu, 31 Mar 2016 17:26:25 +0000 (10:26 -0700)
commitaa8a4fed075fdd9faa6c9d5b150fc28e1a834122
tree0b6aa3a1ccf84ef2c88207198351b342b3e8f290
parent26350a42762c415e772303a2440d8317523f224d
Make sure PrintAttributes have sane values.

Please note that null and 0 values mean "unset" and that margins
historically allowed negative values.

Change-Id: I1773bc552142345e18c1c31fb25e583d0ed070a2
core/java/android/print/PrintAttributes.java