Close panel when media stop

-Add forceClose callback to finish panel
-Add test cases

Bug: 151396986
Test: make -j50 RunSettingsRoboTests
Change-Id: Ic0ac2880a4ff412382816ccb41b4fbb60dbdf519
This commit is contained in:
Tim Peng
2020-03-18 10:50:43 +08:00
parent 7430932305
commit 650eda307b
5 changed files with 59 additions and 3 deletions

View File

@@ -32,4 +32,9 @@ public interface PanelContentCallback {
* a group
*/
void onHeaderChanged();
/**
* It will be called when panel requests to close itself.
*/
void forceClose();
}