package com.volkhart.lyrics;

import android.app.Application;

import com.volkhart.feedback.FeedbackTree;

import timber.log.Timber;

public final class App extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        Timber.plant(FeedbackTree.INSTANCE);
        if (BuildConfig.DEBUG) {
            Timber.plant(new Timber.DebugTree());
        }
    }
}

@@ -54,16 +54,46 @@
 ication;
+%0Aimport android.os.StrictMode;
 %0A%0Aimport
@@ -409,16 +409,517 @@
        %7D
+%0A%0A        if (BuildConfig.DEBUG) %7B%0A            StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()%0A                    .detectAll()%0A                    .penaltyLog()%0A                    .penaltyDeath()%0A                    .build());%0A%0A            StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()%0A                    .detectAll()%0A                    .penaltyLog()%0A                    .penaltyFlashScreen()%0A                    .penaltyDeath()%0A                    .build());%0A        %7D
 %0A    %7D%0A%7D

Enable StrictMode