Search in sources :

Example 1 with CMBaseSystemSettingSwitchBar

use of org.cyanogenmod.cmparts.widget.CMBaseSystemSettingSwitchBar in project android_packages_apps_CMParts by LineageOS.

the class ProfilesSettings method onStart.

@Override
public void onStart() {
    super.onStart();
    final PartsActivity activity = (PartsActivity) getActivity();
    mProfileEnabler = new CMBaseSystemSettingSwitchBar(activity, activity.getSwitchBar(), CMSettings.System.SYSTEM_PROFILES_ENABLED, true, this);
}
Also used : CMBaseSystemSettingSwitchBar(org.cyanogenmod.cmparts.widget.CMBaseSystemSettingSwitchBar) PartsActivity(org.cyanogenmod.cmparts.PartsActivity)

Aggregations

PartsActivity (org.cyanogenmod.cmparts.PartsActivity)1 CMBaseSystemSettingSwitchBar (org.cyanogenmod.cmparts.widget.CMBaseSystemSettingSwitchBar)1