Correct printer extra constant value.
We are passing the current printer to the custom print options activity. Before we were using a constant specified in the java docs as it was added past API change was possible. For this release a constant is defined but its value was wrong and clients using the old (correct) value could not look up the printer extra. bug:16291822 Change-Id: Iaff6728865690caa8aaaa49a5911009d9f099148
This commit is contained in:
committed by
Svetoslav Ganov
parent
ea16dec62b
commit
8fbd0dc303
@@ -22936,7 +22936,7 @@ package android.printservice {
|
||||
method protected void onDisconnected();
|
||||
method protected abstract void onPrintJobQueued(android.printservice.PrintJob);
|
||||
method protected abstract void onRequestCancelPrintJob(android.printservice.PrintJob);
|
||||
field public static final java.lang.String EXTRA_PRINTER_INFO = "android.intent.extra.print.PRINTER_INFO";
|
||||
field public static final java.lang.String EXTRA_PRINTER_INFO = "android.intent.extra.print.EXTRA_PRINTER_INFO";
|
||||
field public static final java.lang.String EXTRA_PRINT_JOB_INFO = "android.intent.extra.print.PRINT_JOB_INFO";
|
||||
field public static final java.lang.String SERVICE_INTERFACE = "android.printservice.PrintService";
|
||||
field public static final java.lang.String SERVICE_META_DATA = "android.printservice";
|
||||
|
||||
@@ -230,7 +230,7 @@ public abstract class PrintService extends Service {
|
||||
*
|
||||
* @see #EXTRA_PRINT_JOB_INFO
|
||||
*/
|
||||
public static final String EXTRA_PRINTER_INFO = "android.intent.extra.print.PRINTER_INFO";
|
||||
public static final String EXTRA_PRINTER_INFO = "android.intent.extra.print.EXTRA_PRINTER_INFO";
|
||||
|
||||
private Handler mHandler;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user