Skip to content

Commit ca6cdec

Browse files
ralstondasilvaRalston Da Silva
andauthored
Fix bug in usage of END_EXCLUDE (#679)
We use a [START_EXCLUDE silent] tag to exclude code from snippets. This exclude block should end with an [END_EXCLUDE] tag, instead of [END_EXCLUDE silent]. Co-authored-by: Ralston Da Silva <ralu@google.com>
1 parent b90686d commit ca6cdec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datastore/src/main/java/com/example/datastore/snippets/TimestampUpdateService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class TimestampUpdateService : Service() {
3434

3535
// [START_EXCLUDE silent]
3636
override fun onBind(intent: Intent): IBinder? = null
37-
// [END_EXCLUDE silent]
37+
// [END_EXCLUDE]
3838

3939
override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int {
4040
serviceScope.launch {

0 commit comments

Comments
 (0)