@@ -334,31 +334,6 @@ private static void readDefaultOptionValues(
334
334
return null ;
335
335
}
336
336
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
-
362
337
/**
363
338
* Returns the sentry release version (eg [email protected] +10000) -
364
339
* packageName@versionName+buildVersion
0 commit comments