OSDN Git Service

Lockup in the print spooler.
authorSvet Ganov <svetoslavganov@google.com>
Mon, 24 Nov 2014 10:01:37 +0000 (02:01 -0800)
committerSvetoslav Ganov <svetoslavganov@google.com>
Mon, 24 Nov 2014 22:12:34 +0000 (22:12 +0000)
commitc80814e70aea8940d0d43cd7170baae8c0c4e8e3
treefbadedca5d4b3331d056435571692cb447ca11bc
parent760cfb02de1e547b2823bf2b9621ef5b953cc5bd
Lockup in the print spooler.

A recent change modified the way we destroy the remote renderer from
asynchronous to synchronous. This caused problems since it was possible
that the remote rendering service is unbound while we are reading the
contents of a rendered page. As a result the reader was blocking on I/O
and the print spooler was getting into a locked state that required a
restart of its process.  Now the remote renderer is destroyed
asynchronously.

bug:18498626

Change-Id: I1312bf808f30430728b4038dd4be43c55d2be825
packages/PrintSpooler/src/com/android/printspooler/model/PageContentRepository.java
packages/PrintSpooler/src/com/android/printspooler/ui/PageAdapter.java
packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java
packages/PrintSpooler/src/com/android/printspooler/ui/PrintPreviewController.java