Skip to content

Commit

Permalink
Restore commonMain to AOSP state (exceptions)
Browse files Browse the repository at this point in the history
Partially fixes https://youtrack.jetbrains.com/issue/CMP-5740/Upstreaming.-compilation.-other-fixes

Restore expect exceptions to the last merged Jetpack Compose (1.8.0-alpha07) and Material3 (1.4.0-alpha04) and implement them the same way.

We can no longer use `PlatformOptimizedCancellationException` as it is a different base class, which is prohibited for actual's

## Testing
- CI passes

## Release Notes
N/A
  • Loading branch information
igordmn committed Dec 20, 2024
1 parent 1a592ee commit 5d7b087
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ internal expect fun currentTimeMillis(): Long
internal expect fun postDelayed(delayMillis: Long, block: () -> Unit): Any

internal expect fun removePost(token: Any?)

internal expect fun getCurrentThreadId(): Long

0 comments on commit 5d7b087

Please sign in to comment.