Skip to content

Commit fbe7c10

Browse files
authored
fix(android): Remove unused method (#4585)
* fix(android): Remove unused method * Update Changelog
1 parent d2a266e commit fbe7c10

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
- Cache network capabilities and status to reduce IPC calls ([#4560](https://github.com/getsentry/sentry-java/pull/4560))
1212
- Deduplicate battery breadcrumbs ([#4561](https://github.com/getsentry/sentry-java/pull/4561))
13+
- Remove unused method in ManifestMetadataReader ([#4585](https://github.com/getsentry/sentry-java/pull/4585))
1314

1415

1516
## 8.18.0

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

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -532,23 +532,6 @@ private static boolean readBool(
532532
return value;
533533
}
534534

535-
@SuppressWarnings("deprecation")
536-
private static @Nullable Boolean readBoolNullable(
537-
final @NotNull Bundle metadata,
538-
final @NotNull ILogger logger,
539-
final @NotNull String key,
540-
final @Nullable Boolean defaultValue) {
541-
if (metadata.getSerializable(key) != null) {
542-
final boolean nonNullDefault = defaultValue == null ? false : true;
543-
final boolean bool = metadata.getBoolean(key, nonNullDefault);
544-
logger.log(SentryLevel.DEBUG, key + " read: " + bool);
545-
return bool;
546-
} else {
547-
logger.log(SentryLevel.DEBUG, key + " used default " + defaultValue);
548-
return defaultValue;
549-
}
550-
}
551-
552535
private static @Nullable String readString(
553536
final @NotNull Bundle metadata,
554537
final @NotNull ILogger logger,

0 commit comments

Comments
 (0)