Skip to content
Commit 196784ac authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Reset update spec after canceled layout

When we cancel a layout there are two cases. Either we already scheduled
the next layout. In this case operate as before as the update-spec was
updated to the new update.

In there is no new layout we have to reset the update spec as the last
command was canceled and the state of the remotePrintDocument has
become invalid. The resetted update spec forces a new update the next
time update() is called.

Fixes: 64911776
Test: cts-tradefed run cts-dev -m Print
      Added two new tests reproducing the scenarios mentioned in the
      bug.

Change-Id: Icad8da5fd985aed1cc201076ee7262f6d6541380
parent e022dfc1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment