aboutsummaryrefslogtreecommitdiffstats
path: root/cm
diff options
context:
space:
mode:
authorMichael Bestas <mikeioannina@cyanogenmod.org>2016-03-28 14:26:12 +0200
committerluca020400 <luca.stefani.ge1@gmail.com>2016-03-28 14:26:12 +0200
commit374a17e29503b2d5e31fb082ca9f4e0914c49086 (patch)
tree2f533f408f6faf855162dfa1c6fb8c10ba86ddde /cm
parentb271dcf279d0818c01c080827141a1ac311250c2 (diff)
downloadvendor_cmsdk-374a17e29503b2d5e31fb082ca9f4e0914c49086.zip
vendor_cmsdk-374a17e29503b2d5e31fb082ca9f4e0914c49086.tar.gz
vendor_cmsdk-374a17e29503b2d5e31fb082ca9f4e0914c49086.tar.bz2
Fix: "cmsdk: Mandate partner feature xml's for service implementation."
* CMContextConstants.Features.PERFORMANCE was mistakely used instead of CMContextConstants.Features.PARTNER Change-Id: I4582b2faac23b0a3d34a5c6396cffa56c6177556
Diffstat (limited to 'cm')
-rw-r--r--cm/lib/main/java/org/cyanogenmod/platform/internal/PartnerInterfaceService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/cm/lib/main/java/org/cyanogenmod/platform/internal/PartnerInterfaceService.java b/cm/lib/main/java/org/cyanogenmod/platform/internal/PartnerInterfaceService.java
index 8810149..9f2b1f6 100644
--- a/cm/lib/main/java/org/cyanogenmod/platform/internal/PartnerInterfaceService.java
+++ b/cm/lib/main/java/org/cyanogenmod/platform/internal/PartnerInterfaceService.java
@@ -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" +