am 13abe77f: Merge "Fix logic error in CarrierService." into mnc-dev
* commit '13abe77f53ed2691a4cf926e8e3c0faa43a08f32': Fix logic error in CarrierService.
This commit is contained in:
@@ -86,11 +86,13 @@ public abstract class CarrierService extends Service {
|
|||||||
/** @hide */
|
/** @hide */
|
||||||
@Override
|
@Override
|
||||||
public final IBinder onBind(Intent intent) {
|
public final IBinder onBind(Intent intent) {
|
||||||
if (!CONFIG_SERVICE_INTERFACE.equals(intent.getAction())
|
switch (intent.getAction()) {
|
||||||
|| !BIND_SERVICE_INTERFACE.equals(intent.getAction())) {
|
case CONFIG_SERVICE_INTERFACE:
|
||||||
return null;
|
case BIND_SERVICE_INTERFACE:
|
||||||
|
return mStubWrapper;
|
||||||
|
default:
|
||||||
|
null;
|
||||||
}
|
}
|
||||||
return mStubWrapper;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user