Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
firefox-android
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
The Tor Project
Applications
firefox-android
Commits
c1397e81
Verified
Commit
c1397e81
authored
Nov 14, 2023
by
t-p-white
Committed by
ma1
Jan 10, 2024
Browse files
Options
Downloads
Patches
Plain Diff
Bug 1864549 - Fix for IllegalStateException in full screen notification dialog
parent
a57e5d10
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!55
Bug 42355 and Bug 42346: fix fullscreen regressions
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
android-components/components/feature/prompts/src/main/java/mozilla/components/feature/prompts/dialog/FullScreenNotificationDialog.kt
+5
-4
5 additions, 4 deletions
...ts/feature/prompts/dialog/FullScreenNotificationDialog.kt
with
5 additions
and
4 deletions
android-components/components/feature/prompts/src/main/java/mozilla/components/feature/prompts/dialog/FullScreenNotificationDialog.kt
+
5
−
4
View file @
c1397e81
...
...
@@ -59,11 +59,12 @@ class FullScreenNotificationDialog(@LayoutRes val layout: Int) :
window
.
setGravity
(
Gravity
.
BOTTOM
)
window
.
clearFlags
(
WindowManager
.
LayoutParams
.
FLAG_DIM_BEHIND
)
}
}
// Attempt to automatically dismiss the dialog after the given duration.
lifecycleScope
.
launch
{
delay
(
SNACKBAR_DURATION_LONG_MS
)
dismiss
()
}
dialog
?.
dismiss
()
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment