This repository was archived by the owner on Jun 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
androidTest/kotlin/at/bitfire/ical4android
main/kotlin/at/bitfire/ical4android Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -745,7 +745,7 @@ class AndroidEventTest {
745745 fun testBuildEvent_Classification_None () {
746746 buildEvent(true ) {
747747 }.let { result ->
748- assertEquals(Events .ACCESS_PUBLIC , result.getAsInteger(Events .ACCESS_LEVEL ))
748+ assertEquals(Events .ACCESS_DEFAULT , result.getAsInteger(Events .ACCESS_LEVEL ))
749749 assertNull(firstUnknownProperty(result))
750750 }
751751 }
Original file line number Diff line number Diff line change @@ -983,7 +983,8 @@ abstract class AndroidEvent(
983983
984984 builder .withValue(Events .AVAILABILITY , if (event.opaque) Events .AVAILABILITY_BUSY else Events .AVAILABILITY_FREE )
985985 .withValue(Events .ACCESS_LEVEL , when (event.classification) {
986- null , Clazz .PUBLIC -> Events .ACCESS_PUBLIC
986+ null -> Events .ACCESS_DEFAULT
987+ Clazz .PUBLIC -> Events .ACCESS_PUBLIC
987988 Clazz .CONFIDENTIAL -> Events .ACCESS_CONFIDENTIAL
988989 else /* including Events.ACCESS_PRIVATE */ -> Events .ACCESS_PRIVATE
989990 })
You can’t perform that action at this time.
0 commit comments