Skip to content

Commit 0bcd658

Browse files
authored
Merge 5eeba1f into b936425
2 parents b936425 + 5eeba1f commit 0bcd658

2 files changed

Lines changed: 46 additions & 0 deletions

File tree

THIRD_PARTY_NOTICES.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,34 @@ limitations under the License.
315315

316316
---
317317

318+
## Android Open Source Project — Compose LayoutCoordinates.boundsInWindow (Apache 2.0)
319+
320+
**Source:** https://github.com/androidx/androidx/blob/fc7df0dd68466ac3bb16b1c79b7a73dd0bfdd4c1/compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/layout/LayoutCoordinates.kt#L187<br>
321+
**License:** Apache License 2.0<br>
322+
**Copyright:** Copyright (C) 2020 The Android Open Source Project
323+
324+
### Scope
325+
326+
The Sentry Android Replay SDK includes an adapted (faster) copy of Compose UI's `LayoutCoordinates.boundsInWindow`, used to compute Compose node bounds while traversing the view hierarchy for masking. The code resides in `io.sentry.android.replay.util.Nodes` (the `boundsInWindow` extension function and its `fast*` helper functions).
327+
328+
```
329+
Copyright (C) 2020 The Android Open Source Project
330+
331+
Licensed under the Apache License, Version 2.0 (the "License");
332+
you may not use this file except in compliance with the License.
333+
You may obtain a copy of the License at
334+
335+
http://www.apache.org/licenses/LICENSE-2.0
336+
337+
Unless required by applicable law or agreed to in writing, software
338+
distributed under the License is distributed on an "AS IS" BASIS,
339+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
340+
See the License for the specific language governing permissions and
341+
limitations under the License.
342+
```
343+
344+
---
345+
318346
## OpenTelemetry (Apache 2.0)
319347

320348
**Source:** https://github.com/open-telemetry/opentelemetry-java (Commit: 0aacc55d1e3f5cc6dbb4f8fa26bcb657b01a7bc9)<br>

sentry-android-replay/src/main/java/io/sentry/android/replay/util/Nodes.kt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
* The `boundsInWindow` extension function in this file is adapted from AndroidX Compose UI's
3+
* `LayoutCoordinates.boundsInWindow`.
4+
*
5+
* Adapted from https://github.com/androidx/androidx/blob/fc7df0dd68466ac3bb16b1c79b7a73dd0bfdd4c1/compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/layout/LayoutCoordinates.kt
6+
*
7+
* Copyright (C) 2020 The Android Open Source Project
8+
*
9+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
10+
* in compliance with the License. You may obtain a copy of the License at
11+
*
12+
* http://www.apache.org/licenses/LICENSE-2.0
13+
*
14+
* Unless required by applicable law or agreed to in writing, software distributed under the License
15+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
16+
* or implied. See the License for the specific language governing permissions and limitations under
17+
* the License.
18+
*/
119
@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") // to access internal vals and classes
220

321
package io.sentry.android.replay.util

0 commit comments

Comments
 (0)