OSDN Git Service

Small print API tweaks
authorSvetoslav <svetoslavganov@google.com>
Fri, 4 Oct 2013 23:20:00 +0000 (16:20 -0700)
committerSvetoslav <svetoslavganov@google.com>
Fri, 4 Oct 2013 23:21:12 +0000 (16:21 -0700)
commitb450d0d4d7fca16674fea02f15e21dc737352c40
treebc5939c482c68c5e5df2bf6de89e13455f0c24d8
parent5c126892ec53772d784fcf9cef9165acf1d92ce3
Small print API tweaks

1. Removed an unused public constant

2. Hide PrintFileDocumentAdapter which makes doing the wring
   thing easy.

3. We allow a print service to set a tag of a print job which is
   an arbitrary string it only knows how to interpret. Typically,
   this is the id of a remote print job. This tag was visible to
   applications which is wrong - this is data that should be
   private to the print service. Now the print service is the
   only one to see that.

bug:11084635

Change-Id: I763ea9ff0fdf647805bc36e1737d72263090714d
api/current.txt
core/java/android/print/PrintFileDocumentAdapter.java
core/java/android/print/PrintJobInfo.java
core/java/android/printservice/PrintJob.java
services/java/com/android/server/print/UserState.java