Expose signals being sent to support in a fragment to the user
The signals we are sending to support when a user requests for support can now be accessed by clicking on "system information" in the disclaimer. Test: robotests Bug: 32462840 Change-Id: Ibc941d51af117ec0e31d77972ac60d67fd1cecf1
This commit is contained in:
@@ -21,9 +21,11 @@ import android.annotation.IntDef;
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.StringRes;
|
||||
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;
|
||||
@@ -142,8 +144,13 @@ public interface SupportFeatureProvider {
|
||||
Intent getTipsAndTricksIntent(Context context);
|
||||
|
||||
/**
|
||||
* Returns the string for the disclaimer in the Support dialog
|
||||
* Returns the string for the disclaimer in the Support dialog.
|
||||
*/
|
||||
@StringRes
|
||||
int getDisclaimerStringResId();
|
||||
|
||||
/**
|
||||
* launches the fragment that displays the system information being sent to support agents.
|
||||
*/
|
||||
void launchSystemInfoFragment(Bundle args, FragmentManager manager);
|
||||
}
|
||||
|
Reference in New Issue
Block a user