Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8fbd0dc3 authored by Svet Ganov's avatar Svet Ganov Committed by Svetoslav Ganov
Browse files

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
parent ea16dec6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";
+1 −1
Original line number Diff line number Diff line
@@ -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;