mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Don't detect disk r/w in strict mode
This commit is contained in:
@@ -265,8 +265,8 @@ public class Launcher extends BaseDraggingActivity implements LauncherExterns,
|
||||
if (DEBUG_STRICT_MODE && Utilities.ATLEAST_P) {
|
||||
// TODO: Revise policy and potentially change this to send bug reports too
|
||||
StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
|
||||
.detectDiskReads()
|
||||
.detectDiskWrites()
|
||||
//.detectDiskReads()
|
||||
//.detectDiskWrites()
|
||||
.detectNetwork() // or .detectAll() for all detectable problems
|
||||
.penaltyLog()
|
||||
.build());
|
||||
|
||||
Reference in New Issue
Block a user