// Path: app/src/main/java/com/livingstoneapp/models/BroadcastReceiverInfo.java
// public class BroadcastReceiverInfo implements Parcelable, Comparable<BroadcastReceiverInfo> {
//     private String mName;
// 
//     public BroadcastReceiverInfo(
//             String mName) {
//         this.mName = mName;
//     }
// 
// 
//     public String getName() {
//         return mName;
//     }
// 
// 
//     @Override
//     public int describeContents() {
//         return 0;
//     }
// 
//     @Override
//     public void writeToParcel(Parcel dest, int flags) {
//         dest.writeString(this.mName);
//     }
// 
//     protected BroadcastReceiverInfo(Parcel in) {
//         this.mName = in.readString();
//     }
// 
//     public static final Creator<BroadcastReceiverInfo> CREATOR = new Creator<BroadcastReceiverInfo>() {
//         public BroadcastReceiverInfo createFromParcel(Parcel source) {
//             return new BroadcastReceiverInfo(source);
//         }
// 
//         public BroadcastReceiverInfo[] newArray(int size) {
//             return new BroadcastReceiverInfo[size];
//         }
//     };
// 
//     @Override
//     public int compareTo(BroadcastReceiverInfo another) {
//         return this.getName().compareToIgnoreCase(another.getName());
//     }
// }


import android.content.Context;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import java.util.ArrayList;
import rx.Observable;
import com.livingstoneapp.models.BroadcastReceiverInfo;
package com.livingstoneapp.interactors;





/**
 * Created by renier on 2/17/2016.
 */
public class BroadcastReceiverInteractorImpl implements IBroadcastReceiverInteractor {
    private Context mContext;

    public BroadcastReceiverInteractorImpl(Context context) {
        mContext = context;
    }


    @Override
// Path: app/src/main/java/com/livingstoneapp/models/BroadcastReceiverInfo.java
// public class BroadcastReceiverInfo implements Parcelable, Comparable<BroadcastReceiverInfo> {
//     private String mName;
// 
//     public BroadcastReceiverInfo(
//             String mName) {
//         this.mName = mName;
//     }
// 
// 
//     public String getName() {
//         return mName;
//     }
// 
// 
//     @Override
//     public int describeContents() {
//         return 0;
//     }
// 
//     @Override
//     public void writeToParcel(Parcel dest, int flags) {
//         dest.writeString(this.mName);
//     }
// 
//     protected BroadcastReceiverInfo(Parcel in) {
//         this.mName = in.readString();
//     }
// 
//     public static final Creator<BroadcastReceiverInfo> CREATOR = new Creator<BroadcastReceiverInfo>() {
//         public BroadcastReceiverInfo createFromParcel(Parcel source) {
//             return new BroadcastReceiverInfo(source);
//         }
// 
//         public BroadcastReceiverInfo[] newArray(int size) {
//             return new BroadcastReceiverInfo[size];
//         }
//     };
// 
//     @Override
//     public int compareTo(BroadcastReceiverInfo another) {
//         return this.getName().compareToIgnoreCase(another.getName());
//     }
// }


// Path: app/src/main/java/com/livingstoneapp/interactors/BroadcastReceiverInteractorImpl.java
import android.content.Context;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import java.util.ArrayList;
import rx.Observable;
import com.livingstoneapp.models.BroadcastReceiverInfo;

package com.livingstoneapp.interactors;





/**
 * Created by renier on 2/17/2016.
 */
public class BroadcastReceiverInteractorImpl implements IBroadcastReceiverInteractor {
    private Context mContext;

    public BroadcastReceiverInteractorImpl(Context context) {
        mContext = context;
    }


    @Override
    public Observable<ArrayList<BroadcastReceiverInfo>> getBroadcastReceivers(String packageName) {