Launch Help & Feedback
Bug: 28139684 Bug: 28141203 Change-Id: I9853fa5fd789cd6404dddfd9b00b7dc3afe73d91
This commit is contained in:
@@ -177,9 +177,8 @@ public final class SupportItemAdapter extends RecyclerView.Adapter<SupportItemAd
|
||||
R.string.support_forum_title, 0 /* summary */,
|
||||
mSupportFeatureProvider.getForumIntent()));
|
||||
mSupportData.add(new SupportData(TYPE_SUPPORT_TILE, R.drawable.ic_help_24dp,
|
||||
R.string.support_articles_title, 0 /* summary */, null /*intent */));
|
||||
mSupportData.add(new SupportData(TYPE_SUPPORT_TILE, R.drawable.ic_feedback_24dp,
|
||||
R.string.support_feedback_title, 0 /* summary */, null /*intent */));
|
||||
R.string.help_feedback_label, 0 /* summary */,
|
||||
mSupportFeatureProvider.getHelpIntent(mActivity)));
|
||||
}
|
||||
|
||||
private void bindSignInPromoTile(ViewHolder holder, SupportData data) {
|
||||
|
@@ -43,6 +43,11 @@ public interface SupportFeatureProvider {
|
||||
*/
|
||||
Intent getForumIntent();
|
||||
|
||||
/**
|
||||
* Returns a intent that will open help & feedback.
|
||||
*/
|
||||
Intent getHelpIntent(Context context);
|
||||
|
||||
/**
|
||||
* Whether or not a support type is enabled.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user