diff options
author | Adnan Begovic <adnan@cyngn.com> | 2015-11-25 17:27:47 -0800 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-11-29 14:55:21 -0800 |
commit | c2219591678ebc7ed9001611d03e77dd13883a6f (patch) | |
tree | f0a330d6a66b1bfb4aefada5cadf7fd73a6c6e6a /cm/lib/main | |
parent | efb527473ed5b2ac0bfac17e4ac6759f6e3d5c77 (diff) | |
download | vendor_cmsdk-c2219591678ebc7ed9001611d03e77dd13883a6f.zip vendor_cmsdk-c2219591678ebc7ed9001611d03e77dd13883a6f.tar.gz vendor_cmsdk-c2219591678ebc7ed9001611d03e77dd13883a6f.tar.bz2 |
cmsdk: Re-enable multiple profiles functions.
Change-Id: I1db0cba6cf107926a25a8e45952813d3c21eb470
Diffstat (limited to 'cm/lib/main')
-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); |