Skip to content

Commit 2b316b6

Browse files
committed
Fixes tests
1 parent 45cf909 commit 2b316b6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/testing/src/main/java/com/android/developers/testing/repository/FakeWatchFaceInstallationRepository.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ class FakeWatchFaceInstallationRepository : WatchFaceInstallationRepository {
7575
_watchFaceInstallationStatus.value = WatchFaceInstallationStatus.NotStarted
7676
}
7777

78+
override suspend fun prepareForTransfer() {
79+
transferId = generateTransferId()
80+
_watchFaceInstallationStatus.value = WatchFaceInstallationStatus.Preparing
81+
}
82+
7883
private fun generateTransferId() = UUID.randomUUID().toString().take(8)
7984

8085
public fun setWatchAsConnected() {

0 commit comments

Comments
 (0)