Skip to content

Commit 6216e5e

Browse files
committed
Address PR comments
1 parent de234b1 commit 6216e5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ static void applyMetadata(
481481
final @Nullable String screenshotStrategyRaw =
482482
readString(metadata, logger, REPLAYS_SCREENSHOT_STRATEGY, null);
483483
if (screenshotStrategyRaw != null) {
484-
if ("canvas".equals(screenshotStrategyRaw)) {
484+
if ("canvas".equals(screenshotStrategyRaw.toLowerCase(Locale.ROOT))) {
485485
options.getSessionReplay().setScreenshotStrategy(ScreenshotStrategyType.CANVAS);
486486
} else {
487487
// always default to PIXEL_COPY

0 commit comments

Comments
 (0)