diff options
author | Jeff Sharkey <jsharkey@android.com> | 2015-12-17 15:12:22 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2015-12-17 15:12:26 -0700 |
commit | 0999c0d6e9c83873d9595ee764b6388dbc49dcb8 (patch) | |
tree | 4df597191b3f79503fe8ff5bf921b93d1b11c9a0 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | af6ec296ec200726ac86ff53efc64e221ed6f2f6 (diff) |
Make printing framework encryption-aware.
Only create UserState objects when a user has been unlocked, meaning
we can connect to the spooler. Ignore package events that occur
while a user is locked, since we'll kick off updateIfNeededLocked()
when that user is eventually unlocked.
In all other cases, throw if someone tries obtaining UserState for
a still-locked user. This should help catch any edge cases in the
system, and communicate clearly through public APIs that printing
isn't available until the user is unlocked.
Bug: 26246836
Change-Id: If15744621890baee206d355484fe20933afc65d8
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions