Merge "Add ability to switch between support versions"

This commit is contained in:
Andrew Sapperstein
2017-05-01 22:37:28 +00:00
committed by Android (Google) Code Review
5 changed files with 67 additions and 5 deletions

View File

@@ -128,6 +128,19 @@ public interface SupportFeatureProvider {
*/
void startSupport(Activity activity, Account account, @SupportType int type);
/**
* Starts support v2, invokes the support home page. Will no-op if support v2 is not enabled.
*
* @param activity Calling activity.
*/
void startSupportV2(Activity activity);
/**
* Checks if support v2 is enabled for this device.
* @return a boolean indicating if support v2 is enabled.
*/
boolean isSupportV2Enabled();
/**
* Returns an {@link Intent} that opens help and allow user get help on sign in.
*/