Merge "AOD Media" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-05-26 19:53:41 +00:00
committed by Android (Google) Code Review
2 changed files with 8 additions and 0 deletions

View File

@@ -114,6 +114,11 @@ public interface BcSmartspaceDataPlugin extends Plugin {
* Set or clear next alarm information
*/
void setNextAlarm(@Nullable Drawable image, @Nullable String description);
/**
* Set or clear device media playing
*/
void setMediaTarget(@Nullable SmartspaceTarget target);
}
/** Interface for launching Intents, which can differ on the lockscreen */

View File

@@ -511,6 +511,9 @@ class LockscreenSmartspaceControllerTest : SysuiTestCase() {
override fun setNextAlarm(image: Drawable?, description: String?) {
}
override fun setMediaTarget(target: SmartspaceTarget?) {
}
})
}