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:
Michael Bestas 2016-03-28 14:26:12 +02:00 committed by luca020400
parent b271dcf279
commit 374a17e295

View File

@ -61,7 +61,7 @@ public class PartnerInterfaceService extends SystemService {
super(context);
mContext = context;
if (mContext.getPackageManager().hasSystemFeature(
CMContextConstants.Features.PERFORMANCE)) {
CMContextConstants.Features.PARTNER)) {
publishBinderService(CMContextConstants.CM_PARTNER_INTERFACE, mService);
} else {
Log.wtf(TAG, "CM partner service started by system server but feature xml not" +