forked from melod1n/fast-messenger
Replace ACRA with custom crash dialog
* Add uncaught exception handler that saves stacktraces to local crash log files * Show a Compose crash dialog with stacktrace toggle and share action * Register crash handler activity in a separate process with dialog theme * Remove ACRA dependencies and configuration * Add crash dialog strings and ignore `.hotswan/`
This commit is contained in:
@@ -306,4 +306,7 @@
|
||||
<string name="confirm_chat_create_empty_with_title">Are you sure you want to create chat «%s» only with yourself?</string>
|
||||
|
||||
<string name="title_edit_message">Edit message</string>
|
||||
<string name="action_close">Close</string>
|
||||
<string name="action_hide_stacktrace">Hide stacktrace</string>
|
||||
<string name="action_show_stacktrace">Show stacktrace</string>
|
||||
</resources>
|
||||
|
||||
@@ -2,4 +2,13 @@
|
||||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar" />
|
||||
|
||||
<style name="CrashDialogTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
|
||||
<item name="android:windowIsTranslucent">true</item>
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<item name="android:backgroundDimEnabled">false</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user