Skip to content

Commit

Permalink
StrictMode
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestguice committed Jul 31, 2024
1 parent 912d6a7 commit 3231c5a
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@ public void onCreate()
if (BuildConfig.DEBUG)
{
StrictMode.enableDefaults();
/*try {
Class.forName("dalvik.system.CloseGuard").getMethod("setEnabled", boolean.class).invoke(null, true);
} catch (ReflectiveOperationException e) {
throw new RuntimeException(e);
}*/
StrictMode.allowThreadDiskWrites();
}
}
}

0 comments on commit 3231c5a

Please sign in to comment.