commit | 7cef46c61d0c5b831a467571ee751af612c82503 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Oct 05 17:56:48 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Oct 05 17:56:48 2021 +0000 |
tree | e255c19ca30e416ec5be422dc47439bf6a505ea5 | |
parent | db476cd663f3d4c2d60594fd492ec621639b2c72 [diff] | |
parent | 1632c8f020c7d2afe19246b8b2f4efb5aae9b0f0 [diff] |
Merge "Set tileResources to default instance if none provided." into androidx-main
diff --git a/wear/tiles/tiles-renderer/src/main/java/androidx/wear/tiles/manager/TileUiClient.kt b/wear/tiles/tiles-renderer/src/main/java/androidx/wear/tiles/manager/TileUiClient.kt index fe72a24..c2d4718 100644 --- a/wear/tiles/tiles-renderer/src/main/java/androidx/wear/tiles/manager/TileUiClient.kt +++ b/wear/tiles/tiles-renderer/src/main/java/androidx/wear/tiles/manager/TileUiClient.kt
@@ -156,6 +156,8 @@ .build() tileResources = tilesConnection.requestResources(resourcesRequest).await() + } else { + tileResources = ResourceBuilders.Resources.Builder().build() } timelineManager?.apply {