[go: nahoru, domu]

Add a minimal example watch face in Java.

This commit adds a minimal watch face implementation in Java. This is
useful both to provide a sample of how to use our APIs from Java
clientand validating the wrappers around suspend functions.

Being a really minimal implementation, this is also a good starting
point to test other features being developed.

This is set up as a separate project because we want to be able to
test the way we ask our developers to develop watch faces, which is
where each watch face is an individual APK. Therefore, we plan to
create a suite of these samples, showcasing the different options for
developers.

Bug: 179233274
Test: ./gradlew :wear:wear-watchface-samples-minimal:assembleDebug
Change-Id: I2626d3c160c15147edf9e26e10ad70cc02ea28bd
diff --git a/settings.gradle b/settings.gradle
index dfba23f..542e780 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -573,6 +573,7 @@
 includeProject(":wear:wear-watchface-editor-samples", "wear/wear-watchface-editor/samples", [BuildType.MAIN, BuildType.WEAR])
 includeProject(":wear:wear-watchface-guava", "wear/wear-watchface/guava", [BuildType.MAIN, BuildType.WEAR])
 includeProject(":wear:wear-watchface-samples", "wear/wear-watchface/samples", [BuildType.MAIN, BuildType.WEAR])
+includeProject(":wear:wear-watchface-samples-minimal", "wear/wear-watchface/samples/minimal", [BuildType.MAIN, BuildType.WEAR])
 includeProject(":wear:wear-watchface-style", "wear/wear-watchface-style", [BuildType.MAIN, BuildType.WEAR])
 includeProject(":webkit:integration-tests:testapp", "webkit/integration-tests/testapp", [BuildType.MAIN])
 includeProject(":webkit:webkit", "webkit/webkit", [BuildType.MAIN])