Use support feature provider to provide intro url.
Change-Id: I3d2493ec8c84fdc61c04fd63537f959fbd589e98 Fix: 62034077 Test: make RunSettingsRoboTests
This commit is contained in:
@@ -24,8 +24,8 @@ import android.app.Activity;
|
||||
import android.app.FragmentManager;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
import com.android.settings.support.SupportPhone;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
@@ -123,8 +123,8 @@ public interface SupportFeatureProvider {
|
||||
* Starts support activity of specified type
|
||||
*
|
||||
* @param activity Calling activity
|
||||
* @param account A account that selected by user
|
||||
* @param type The type of support account needs.
|
||||
* @param account A account that selected by user
|
||||
* @param type The type of support account needs.
|
||||
*/
|
||||
void startSupport(Activity activity, Account account, @SupportType int type);
|
||||
|
||||
@@ -137,6 +137,7 @@ public interface SupportFeatureProvider {
|
||||
|
||||
/**
|
||||
* Checks if support v2 is enabled for this device.
|
||||
*
|
||||
* @return a boolean indicating if support v2 is enabled.
|
||||
*/
|
||||
boolean isSupportV2Enabled();
|
||||
@@ -166,4 +167,9 @@ public interface SupportFeatureProvider {
|
||||
* launches the fragment that displays the system information being sent to support agents.
|
||||
*/
|
||||
void launchSystemInfoFragment(Bundle args, FragmentManager manager);
|
||||
|
||||
/**
|
||||
* Returns a url with information to introduce user to new device.
|
||||
*/
|
||||
String getNewDeviceIntroUrl(Context context);
|
||||
}
|
||||
|
Reference in New Issue
Block a user