Fix: "cmsdk: Mandate partner feature xml's for service implementation."
* CMContextConstants.Features.PERFORMANCE was mistakely used instead of CMContextConstants.Features.PARTNER Change-Id: I4582b2faac23b0a3d34a5c6396cffa56c6177556
This commit is contained in:
parent
b271dcf279
commit
374a17e295
@ -61,7 +61,7 @@ public class PartnerInterfaceService extends SystemService {
|
|||||||
super(context);
|
super(context);
|
||||||
mContext = context;
|
mContext = context;
|
||||||
if (mContext.getPackageManager().hasSystemFeature(
|
if (mContext.getPackageManager().hasSystemFeature(
|
||||||
CMContextConstants.Features.PERFORMANCE)) {
|
CMContextConstants.Features.PARTNER)) {
|
||||||
publishBinderService(CMContextConstants.CM_PARTNER_INTERFACE, mService);
|
publishBinderService(CMContextConstants.CM_PARTNER_INTERFACE, mService);
|
||||||
} else {
|
} else {
|
||||||
Log.wtf(TAG, "CM partner service started by system server but feature xml not" +
|
Log.wtf(TAG, "CM partner service started by system server but feature xml not" +
|
||||||
|
Loading…
Reference in New Issue
Block a user