Skip to content

Commit 5908fa8

Browse files
committed
Merge branch 'main' into markushi/feat/session-replay-masking-debug-mode
2 parents ac42ba6 + 81bed63 commit 5908fa8

19 files changed

+192
-244
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
* text eol=lf
22
*.png binary
33
*.jpg binary
4+
5+
# These are explicitly windows files and should use crlf
6+
*.bat text eol=crlf

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
4141

4242
- name: Initialize CodeQL
43-
uses: github/codeql-action/init@45775bd8235c68ba998cffa5171334d58593da47 # pin@v2
43+
uses: github/codeql-action/init@60168efe1c415ce0f5521ea06d5c2062adbeed1b # pin@v2
4444
with:
4545
languages: 'java'
4646

@@ -49,4 +49,4 @@ jobs:
4949
./gradlew buildForCodeQL
5050
5151
- name: Perform CodeQL Analysis
52-
uses: github/codeql-action/analyze@45775bd8235c68ba998cffa5171334d58593da47 # pin@v2
52+
uses: github/codeql-action/analyze@60168efe1c415ce0f5521ea06d5c2062adbeed1b # pin@v2

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: Get auth token
2121
id: token
22-
uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
22+
uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
2323
with:
2424
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
2525
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Fixes
6+
7+
- Hook User Interaction integration into running Activity in case of deferred SDK init ([#4337](https://github.com/getsentry/sentry-java/pull/4337))
8+
9+
### Dependencies
10+
11+
- Bump Gradle from v8.13 to v8.14.0 ([#4360](https://github.com/getsentry/sentry-java/pull/4360))
12+
- [changelog](https://github.com/gradle/gradle/blob/master/CHANGELOG.md#v8140)
13+
- [diff](https://github.com/gradle/gradle/compare/v8.13...v8.14.0)
14+
315
## 8.11.1
416

517
### Fixes

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -100,17 +100,6 @@ This repo uses the following ways to release SDK updates:
100100
* [Sample App. with Sentry Java SDK](https://github.com/getsentry/examples/tree/master/java).
101101
* [Sample for Development](https://github.com/getsentry/sentry-java/tree/main/sentry-samples).
102102

103-
# Development
104-
105-
This repository includes [`sentry-native`](https://github.com/getsentry/sentry-native/) as a git submodule.
106-
To build against `sentry-native` checked-out elsewhere in your file system, create a symlink `sentry-android-ndk/sentry-native-local` that points to your `sentry-native` directory.
107-
For example, if you had `sentry-native` checked-out in a sibling directory to this repo:
108-
109-
`ln -s ../../sentry-native sentry-android-ndk/sentry-native-local`
110-
111-
which will be picked up by `gradle` and used instead of the git submodule.
112-
This directory is also included in `.gitignore` not to be shown as pending changes.
113-
114103
# Sentry Self Hosted Compatibility
115104

116105
Since version 3.0.0 of this SDK, Sentry version >= v20.6.0 is required. This only applies to self-hosted Sentry, if you are using [sentry.io](http://sentry.io/) no action is needed.

gradle/wrapper/gradle-wrapper.jar

122 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
#Mon Mar 17 13:40:54 CET 2025
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
54
networkTimeout=10000
65
validateDistributionUrl=true
76
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sentry-android-core/api/sentry-android-core.api

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -198,24 +198,12 @@ public final class io/sentry/android/core/ContextUtils {
198198

199199
public class io/sentry/android/core/CurrentActivityHolder {
200200
public fun clearActivity ()V
201+
public fun clearActivity (Landroid/app/Activity;)V
201202
public fun getActivity ()Landroid/app/Activity;
202203
public static fun getInstance ()Lio/sentry/android/core/CurrentActivityHolder;
203204
public fun setActivity (Landroid/app/Activity;)V
204205
}
205206

206-
public final class io/sentry/android/core/CurrentActivityIntegration : android/app/Application$ActivityLifecycleCallbacks, io/sentry/Integration, java/io/Closeable {
207-
public fun <init> (Landroid/app/Application;)V
208-
public fun close ()V
209-
public fun onActivityCreated (Landroid/app/Activity;Landroid/os/Bundle;)V
210-
public fun onActivityDestroyed (Landroid/app/Activity;)V
211-
public fun onActivityPaused (Landroid/app/Activity;)V
212-
public fun onActivityResumed (Landroid/app/Activity;)V
213-
public fun onActivitySaveInstanceState (Landroid/app/Activity;Landroid/os/Bundle;)V
214-
public fun onActivityStarted (Landroid/app/Activity;)V
215-
public fun onActivityStopped (Landroid/app/Activity;)V
216-
public fun register (Lio/sentry/IScopes;Lio/sentry/SentryOptions;)V
217-
}
218-
219207
public final class io/sentry/android/core/DeviceInfoUtil {
220208
public fun <init> (Landroid/content/Context;Lio/sentry/android/core/SentryAndroidOptions;)V
221209
public fun collectDeviceInformation (ZZ)Lio/sentry/protocol/Device;
@@ -502,7 +490,10 @@ public class io/sentry/android/core/performance/AppStartMetrics : io/sentry/andr
502490
public fun isAppLaunchedInForeground ()Z
503491
public fun onActivityCreated (Landroid/app/Activity;Landroid/os/Bundle;)V
504492
public fun onActivityDestroyed (Landroid/app/Activity;)V
493+
public fun onActivityPaused (Landroid/app/Activity;)V
494+
public fun onActivityResumed (Landroid/app/Activity;)V
505495
public fun onActivityStarted (Landroid/app/Activity;)V
496+
public fun onActivityStopped (Landroid/app/Activity;)V
506497
public fun onAppStartSpansSent ()V
507498
public static fun onApplicationCreate (Landroid/app/Application;)V
508499
public static fun onApplicationPostCreate (Landroid/app/Application;)V

sentry-android-core/src/main/java/io/sentry/android/core/AndroidOptionsInitializer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,6 @@ static void installDefaultIntegrations(
363363
new ActivityLifecycleIntegration(
364364
(Application) context, buildInfoProvider, activityFramesTracker));
365365
options.addIntegration(new ActivityBreadcrumbsIntegration((Application) context));
366-
options.addIntegration(new CurrentActivityIntegration((Application) context));
367366
options.addIntegration(new UserInteractionIntegration((Application) context, loadClass));
368367
if (isFragmentAvailable) {
369368
options.addIntegration(new FragmentLifecycleIntegration((Application) context, true, true));

0 commit comments

Comments
 (0)