OSDN Git Service

Small corrections to the code that generates the print summary in the settings.
authorPhilip P. Moltmann <moltmann@google.com>
Thu, 7 Jan 2016 18:09:12 +0000 (10:09 -0800)
committerPhilip P. Moltmann <moltmann@google.com>
Thu, 7 Jan 2016 22:22:20 +0000 (14:22 -0800)
commit43335444ef9089e3b68ad759ee28303cbb4bcc5a
treead5305d6c12e03f4c32b544f90b67bea8ef175f2
parentfae4a88530d306ac92b0df0a114885b29a623554
Small corrections to the code that generates the print summary in the settings.

- Optimize when the listener is active and rely on it to be cleaned up
  automatically
- Only count print jobs that should be shown (i.e. not ones that are
  already finished.)

Change-Id: Idba995f1036e736f47ca7402d493210600eae91c
src/com/android/settings/print/PrintSettingsFragment.java