diff options
Diffstat (limited to 'cm')
-rw-r--r-- | cm/lib/main/java/org/cyanogenmod/platform/internal/ProfileTriggerHelper.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cm/lib/main/java/org/cyanogenmod/platform/internal/ProfileTriggerHelper.java b/cm/lib/main/java/org/cyanogenmod/platform/internal/ProfileTriggerHelper.java index 054dfed..804117f 100644 --- a/cm/lib/main/java/org/cyanogenmod/platform/internal/ProfileTriggerHelper.java +++ b/cm/lib/main/java/org/cyanogenmod/platform/internal/ProfileTriggerHelper.java @@ -85,8 +85,8 @@ public class ProfileTriggerHelper extends BroadcastReceiver { } public void updateEnabled() { - boolean enabled = false; // Settings.System.getInt(mContext.getContentResolver(), - //Settings.System.SYSTEM_PROFILES_ENABLED, 1) == 1; + boolean enabled = CMSettings.System.getInt(mContext.getContentResolver(), + CMSettings.System.SYSTEM_PROFILES_ENABLED, 1) == 1; if (enabled && !mFilterRegistered) { Log.v(TAG, "Enabling"); mContext.registerReceiver(this, mIntentFilter); |