Skip to content

Commit f45ceb8

Browse files
committed
Closes mozilla-mobile#1178: (lib-crash) Launch crash reporter prompt without animations.
1 parent 39c809f commit f45ceb8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

components/lib/crash/src/main/java/mozilla/components/lib/crash/CrashReporter.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ class CrashReporter(
118118
val intent = Intent(context, CrashReporterActivity::class.java)
119119
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
120120
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK)
121+
intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION)
121122

122123
crash.fillIn(intent)
123124

components/lib/crash/src/main/res/values/styles.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
<item name="windowNoTitle">true</item>
55
<item name="android:windowMinWidthMajor">96%</item>
66
<item name="android:windowMinWidthMinor">96%</item>
7+
<item name="android:windowAnimationStyle">@null</item>
78
</style>
89
</resources>

0 commit comments

Comments
 (0)