Android Open Source - AUXManager Profile Shared Data






From Project

Back to project page AUXManager.

License

The source code is released under:

GNU General Public License

If you think the Android project AUXManager listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.easysoft.auxmanager.activity.profile;
/*from w w  w.  ja  v a 2  s. c  o  m*/
import java.util.HashSet;
import java.util.Set;

/**
 * Represents SharedData for Profiles
 * <p/>
 * <br/><i>Created at 7/6/2014 10:57 PM, user: mishalov</i>
 *
 * @author Michael Mishalov
 * @since Android SDK 4.1, JDK 1.7
 */
public class ProfileSharedData {
    ////////////////////////////////////////////////////[VARIABLES]////////////////////////////////////////////////////
    private String profileName;
    private boolean speakersOn;
    private Set<String> selectedApplications = new HashSet<>();
    /////////////////////////////////////////////////////[METHODS]/////////////////////////////////////////////////////
    public boolean isSpeakersOn() {
        return speakersOn;
    }

    public void setSpeakersOn(boolean speakersOn) {
        this.speakersOn = speakersOn;
    }

    public Set<String> getSelectedApplications() {
        return selectedApplications;
    }

    public void setSelectedApplications(Set<String> selectedApplications) {
        this.selectedApplications = selectedApplications;
    }
    public void addSelectedApplication(String packageName){
        selectedApplications.add(packageName);
    }

    public String getProfileName() {
        return profileName;
    }

    public void setProfileName(String profileName) {
        this.profileName = profileName;
    }
}




Java Source Code List

com.easysoft.auxmanager.activity.EditProfileActivity.java
com.easysoft.auxmanager.activity.MainActivity.java
com.easysoft.auxmanager.activity.adapter.ApplicationAdapter.java
com.easysoft.auxmanager.activity.adapter.ApplicationModel.java
com.easysoft.auxmanager.activity.profile.ProfileSharedData.java
com.easysoft.auxmanager.listener.CallStateListener.java
com.easysoft.auxmanager.receiver.HeadsetActionBroadcastReceiver.java
com.easysoft.auxmanager.receiver.NotificationActionBroadcastReceiver.java
com.easysoft.auxmanager.service.AUXManagerService.java
com.easysoft.auxmanager.shared.ActiveProfileActivitiesExecutor.java
com.easysoft.auxmanager.shared.Constants.java
com.easysoft.auxmanager.widget.AUXManagerWidgetProvider.java