diff options
author | Svetoslav Ganov <svetoslavganov@google.com> | 2013-09-03 00:11:58 -0700 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2013-09-03 08:42:17 -0700 |
commit | 9186d0cb2bd325d9b52da15dbd513937c1e42caa (patch) | |
tree | 8237bc1c648c916b670935d3f9bc0cd6c9d56965 /core/java | |
parent | 6bd20bc46c762860cac852888df5adf718f2be24 (diff) | |
download | frameworks_base-9186d0cb2bd325d9b52da15dbd513937c1e42caa.zip frameworks_base-9186d0cb2bd325d9b52da15dbd513937c1e42caa.tar.gz frameworks_base-9186d0cb2bd325d9b52da15dbd513937c1e42caa.tar.bz2 |
Bug fixes in the printer dialog activity and fused printer loader.
1. Fused printers loader was not using the discovered printers to update the
historical ones. Now if a historical printer is discovered we update its state
with the discovered, i.e. most recent, information.
2. Fixed a bug in the destination adapter of the print job config dialog that
was leading to a crash if all printers item is selected when there are no
discovered printers.
3. Updated the add printers asset in the all printers screen.
4. Historical printers were not persisted by the print dialog activity.
5. Reduced the number of printers we send per transation to avoid the binder
transaction size limit. Added sending of printers in chunks in a place
this was missing.
Change-Id: I88b54888360bc0e53b06bd260c2b832d0d6454b6
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/printservice/PrinterDiscoverySession.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/printservice/PrinterDiscoverySession.java b/core/java/android/printservice/PrinterDiscoverySession.java index 1f86ecc..6464cc1 100644 --- a/core/java/android/printservice/PrinterDiscoverySession.java +++ b/core/java/android/printservice/PrinterDiscoverySession.java @@ -80,7 +80,7 @@ import java.util.List; public abstract class PrinterDiscoverySession { private static final String LOG_TAG = "PrinterDiscoverySession"; - private static final int MAX_ITEMS_PER_CALLBACK = 100; + private static final int MAX_ITEMS_PER_CALLBACK = 50; private static int sIdCounter = 0; |