Merge "AOD Media" into sc-dev am: dfe917dc35
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14731997 Change-Id: I225db18af8529349ba11eb0b61b153d579ef849b
This commit is contained in:
@@ -114,6 +114,11 @@ public interface BcSmartspaceDataPlugin extends Plugin {
|
|||||||
* Set or clear next alarm information
|
* Set or clear next alarm information
|
||||||
*/
|
*/
|
||||||
void setNextAlarm(@Nullable Drawable image, @Nullable String description);
|
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 */
|
/** Interface for launching Intents, which can differ on the lockscreen */
|
||||||
|
|||||||
@@ -511,6 +511,9 @@ class LockscreenSmartspaceControllerTest : SysuiTestCase() {
|
|||||||
|
|
||||||
override fun setNextAlarm(image: Drawable?, description: String?) {
|
override fun setNextAlarm(image: Drawable?, description: String?) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun setMediaTarget(target: SmartspaceTarget?) {
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user