summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2013-10-14 13:15:31 -0700
committerSvetoslav <svetoslavganov@google.com>2013-10-14 13:15:35 -0700
commit9d843e09caa8c32a3fec22bb66cba8e6d4dfa5b1 (patch)
treec8c5ceaea7feb5351474f8b9f2a4e4799d2e75a2 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentb5da7b23df5278a5e722b601eb8ef7e98537a51e (diff)
Layout may be called with invalid print attributes.
If a print service reports a printer with no capabilities and then removes and adds the same printer again with no capabilities we can call layout with invalid attributes. While the print service should not do that we must not crash. The reason is that the print dialog code was lacking a check whether something changed before handling the change of the current printer. This resulted in calling layout even though we still do not have the printer capabilities resulting in passing bogus print attributes to the app. bug:11216402 Change-Id: Icb9161930a70a7f9ead589a0ab0b4eb35091666f
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions