// Path: phial-overlay/src/main/java/com/mindcoders/phial/ShareDescription.java
// public class ShareDescription {
//     private final Drawable drawable;
//     private final CharSequence label;
// 
//     /**
//      * @param drawable icon that will be displayed with share option
//      * @param label    label for share option
//      */
//     public ShareDescription(Drawable drawable, CharSequence label) {
//         this.drawable = drawable;
//         this.label = label;
//     }
// 
//     /**
//      * @param context     android context that will be used to load icon and title
//      * @param drawableRes drawableId that will be displayed with share option
//      * @param label       labelId for share option
//      */
//     public ShareDescription(Context context, @DrawableRes int drawableRes, @StringRes int label) {
//         this(ContextCompat.getDrawable(context, drawableRes), context.getString(label));
//     }
// 
//     public Drawable getDrawable() {
//         return drawable;
//     }
// 
//     public CharSequence getLabel() {
//         return label;
//     }
// }


import android.content.ComponentName;
import android.support.annotation.VisibleForTesting;
import com.mindcoders.phial.ShareDescription;
import static android.support.annotation.VisibleForTesting.PACKAGE_PRIVATE;
package com.mindcoders.phial.internal.share;




/**
 * Created by rost on 11/28/17.
 */
@VisibleForTesting(otherwise = PACKAGE_PRIVATE)
public class SystemShareItem extends ShareItem {
    private final ComponentName componentName;

// Path: phial-overlay/src/main/java/com/mindcoders/phial/ShareDescription.java
// public class ShareDescription {
//     private final Drawable drawable;
//     private final CharSequence label;
// 
//     /**
//      * @param drawable icon that will be displayed with share option
//      * @param label    label for share option
//      */
//     public ShareDescription(Drawable drawable, CharSequence label) {
//         this.drawable = drawable;
//         this.label = label;
//     }
// 
//     /**
//      * @param context     android context that will be used to load icon and title
//      * @param drawableRes drawableId that will be displayed with share option
//      * @param label       labelId for share option
//      */
//     public ShareDescription(Context context, @DrawableRes int drawableRes, @StringRes int label) {
//         this(ContextCompat.getDrawable(context, drawableRes), context.getString(label));
//     }
// 
//     public Drawable getDrawable() {
//         return drawable;
//     }
// 
//     public CharSequence getLabel() {
//         return label;
//     }
// }


// Path: phial-overlay/src/main/java/com/mindcoders/phial/internal/share/SystemShareItem.java
import android.content.ComponentName;
import android.support.annotation.VisibleForTesting;
import com.mindcoders.phial.ShareDescription;
import static android.support.annotation.VisibleForTesting.PACKAGE_PRIVATE;

package com.mindcoders.phial.internal.share;




/**
 * Created by rost on 11/28/17.
 */
@VisibleForTesting(otherwise = PACKAGE_PRIVATE)
public class SystemShareItem extends ShareItem {
    private final ComponentName componentName;

    SystemShareItem(ShareDescription shareDescription, ComponentName componentName) {