Add listener for panel header icon
Bug: 146813761 Test: make -j42 RunSettingsRoboTests Change-Id: I473b535593d4ecb445027d6c7dafbb235a70ffcf
This commit is contained in:
@@ -55,7 +55,6 @@ public interface PanelContent extends Instrumentable {
|
||||
*/
|
||||
List<Uri> getSlices();
|
||||
|
||||
|
||||
/**
|
||||
* @return an {@link Intent} to the full content in Settings that is summarized by the Panel.
|
||||
*
|
||||
@@ -64,4 +63,15 @@ public interface PanelContent extends Instrumentable {
|
||||
* </p>
|
||||
*/
|
||||
Intent getSeeMoreIntent();
|
||||
|
||||
/**
|
||||
* @return an {@link Intent} to the go to the target activity.
|
||||
*
|
||||
* <p>
|
||||
* A common usage is to go back to previous panel.
|
||||
* </p>
|
||||
*/
|
||||
default Intent getHeaderIconIntent() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user