add library for crash activity
This commit is contained in:
parent
7f73a52b5e
commit
dc3b89c380
2 changed files with 6 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ dependencies {
|
|||
implementation 'com.heinrichreimersoftware:material-intro:1.6'
|
||||
implementation 'com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:1.0.0'
|
||||
implementation 'com.android.support:multidex:1.0.3'
|
||||
implementation 'com.melegy.redscreenofdeath:red-screen-of-death:0.1.2'
|
||||
|
||||
implementation 'androidx.room:room-runtime:2.2.5'
|
||||
annotationProcessor 'androidx.room:room-compiler:2.2.5'
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ import com.dkanada.gramophone.helper.EventListener;
|
|||
import com.dkanada.gramophone.util.PreferenceUtil;
|
||||
import com.kabouzeid.appthemehelper.ThemeStore;
|
||||
import com.dkanada.gramophone.shortcuts.DynamicShortcutManager;
|
||||
import com.melegy.redscreenofdeath.RedScreenOfDeath;
|
||||
|
||||
import org.jellyfin.apiclient.interaction.AndroidDevice;
|
||||
import org.jellyfin.apiclient.interaction.ApiClient;
|
||||
|
|
@ -32,6 +33,10 @@ public class App extends Application {
|
|||
public void onCreate() {
|
||||
super.onCreate();
|
||||
|
||||
if (BuildConfig.DEBUG) {
|
||||
RedScreenOfDeath.init(this);
|
||||
}
|
||||
|
||||
app = this;
|
||||
database = createDatabase(this);
|
||||
apiClient = createApiClient(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue