Merge "Add ability to switch between support versions"
This commit is contained in:
committed by
Android (Google) Code Review
commit
22f0df3968
@@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user