Merge "Correct a mistyped word "MSG_SET_CLEINT" to "MSG_SET_CLIENT""
This commit is contained in:
@@ -386,7 +386,7 @@ public abstract class PrintService extends Service {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setClient(IPrintServiceClient client) {
|
public void setClient(IPrintServiceClient client) {
|
||||||
mHandler.obtainMessage(ServiceHandler.MSG_SET_CLEINT, client)
|
mHandler.obtainMessage(ServiceHandler.MSG_SET_CLIENT, client)
|
||||||
.sendToTarget();
|
.sendToTarget();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -414,7 +414,7 @@ public abstract class PrintService extends Service {
|
|||||||
public static final int MSG_STOP_PRINTER_STATE_TRACKING = 7;
|
public static final int MSG_STOP_PRINTER_STATE_TRACKING = 7;
|
||||||
public static final int MSG_ON_PRINTJOB_QUEUED = 8;
|
public static final int MSG_ON_PRINTJOB_QUEUED = 8;
|
||||||
public static final int MSG_ON_REQUEST_CANCEL_PRINTJOB = 9;
|
public static final int MSG_ON_REQUEST_CANCEL_PRINTJOB = 9;
|
||||||
public static final int MSG_SET_CLEINT = 10;
|
public static final int MSG_SET_CLIENT = 10;
|
||||||
|
|
||||||
public ServiceHandler(Looper looper) {
|
public ServiceHandler(Looper looper) {
|
||||||
super(looper, null, true);
|
super(looper, null, true);
|
||||||
@@ -528,9 +528,9 @@ public abstract class PrintService extends Service {
|
|||||||
onPrintJobQueued(new PrintJob(printJobInfo, mClient));
|
onPrintJobQueued(new PrintJob(printJobInfo, mClient));
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
case MSG_SET_CLEINT: {
|
case MSG_SET_CLIENT: {
|
||||||
if (DEBUG) {
|
if (DEBUG) {
|
||||||
Log.i(LOG_TAG, "MSG_SET_CLEINT "
|
Log.i(LOG_TAG, "MSG_SET_CLIENT "
|
||||||
+ getPackageName());
|
+ getPackageName());
|
||||||
}
|
}
|
||||||
mClient = (IPrintServiceClient) message.obj;
|
mClient = (IPrintServiceClient) message.obj;
|
||||||
|
|||||||
Reference in New Issue
Block a user