Skip to content

Commit 84a5206

Browse files
committed
Remove unused method
1 parent 885b8af commit 84a5206

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

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

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -334,31 +334,6 @@ private static void readDefaultOptionValues(
334334
return null;
335335
}
336336

337-
private static @Nullable String getProguardUUID(
338-
final @NotNull Context context, final @NotNull ILogger logger) {
339-
final AssetManager assets = context.getAssets();
340-
// one may have thousands of asset files and looking up this list might slow down the SDK init.
341-
// quite a bit, for this reason, we try to open the file directly and take care of errors
342-
// like FileNotFoundException
343-
try (final InputStream is =
344-
new BufferedInputStream(assets.open("sentry-debug-meta.properties"))) {
345-
final Properties properties = new Properties();
346-
properties.load(is);
347-
348-
final String uuid = properties.getProperty("io.sentry.ProguardUuids");
349-
logger.log(SentryLevel.DEBUG, "Proguard UUID found: %s", uuid);
350-
return uuid;
351-
} catch (FileNotFoundException e) {
352-
logger.log(SentryLevel.INFO, "sentry-debug-meta.properties file was not found.");
353-
} catch (IOException e) {
354-
logger.log(SentryLevel.ERROR, "Error getting Proguard UUIDs.", e);
355-
} catch (RuntimeException e) {
356-
logger.log(SentryLevel.ERROR, "sentry-debug-meta.properties file is malformed.", e);
357-
}
358-
359-
return null;
360-
}
361-
362337
/**
363338
* Returns the sentry release version (eg [email protected]+10000) -
364339
* packageName@versionName+buildVersion

0 commit comments

Comments
 (0)