add library for crash activity
This commit is contained in:
parent
7f73a52b5e
commit
dc3b89c380
2 changed files with 6 additions and 0 deletions
|
|
@ -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