Alarm screen doesn't open on the cover screen of folded flip phones
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 25/100
Piste de recherche
The payload names no files in this repository. Start with the alarm full-screen intent path and the SystemUI log line FSI suppressed: expected to heads-up instead on a folded device (displayId=1). The reporter points to BlackyHawky/Clock#788 as the reference fix, which uses the hinge sensor and setLaunchDisplayId. Do not start coding until a maintainer decides whether to port only the alarm part or the UI changes too. Done means the alarm screen opens on the cover screen.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Checklist
- I can reproduce the bug with the latest version given here.
- I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- This issue contains only one bug.
- I have read and understood the contribution guidelines.
Affected app version
1.6.0
Affected Android/Custom ROM version
Android 16 (stock Motorola, build W1VLS36H.59-55-5-12)
Affected device model
Motorola razr 60 ultra
How did you install the app?
F-Droid / IzzyOnDroid
Steps to reproduce the bug
- Set an alarm.
- Fold the phone and leave it, cover screen up or down.
- Wait for the alarm to ring.
Expected behavior
The full-screen alarm screen (snooze / dismiss) opens on the cover screen, like it does on the inner screen.
Actual behavior
The alarm rings, but the cover only shows a small notification. To snooze or dismiss, I have to tap that notification, or unlock the phone, open the notification shade and tap it there.
Screenshots/Screen recordings
No response
Additional information
It's not a Fossify bug as such. When the phone is folded, Motorola's SystemUI doesn't launch the full-screen intent for any alarm app. Google Clock and BlackyHawky Clock behave the same. SystemUI logs this for every alarm:
VisualInterruptionDecisionProvider: FSI suppressed: expected to heads-up instead
The cover is a separate display (displayId=1), and the inner screen stays off, but SystemUI still treats the phone as "in use". Tapping the notification opens the alarm screen on the cover without problems, so only the automatic launch is missing. #140 looks like an earlier report of the same thing.
I looked into this for BlackyHawky Clock, and the fix is merged there:
- Issue with the full analysis: BlackyHawky/Clock#548
- BlackyHawky/Clock#788: when the alarm rings and the phone is folded, the app opens the alarm screen on the cover itself. It uses the hinge angle sensor and
setLaunchDisplayId, and needs the optional "Display over other apps" permission. The full-screen intent stays as a fallback. - BlackyHawky/Clock#789: alarm cards and the alarm screen slider stay readable on narrow landscape windows like the cover screen.
- BlackyHawky/Clock#793 (still in review): full-screen mode on the cover, so the bottom bar and layouts aren't under the cameras.
Would you like this in Fossify Clock too? If yes, should I port all of it, including the UI changes for the cover screen, or only the alarm part (BlackyHawky/Clock#788)? I'm happy to open the PRs here, but I'll wait for your answer first.
- Langage dominant
- Kotlin
- Étoiles
- 706
- Forks
- 73
- Merge moyen
- 8 h 55 min
- PR mergées (30 j)
- 5
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de FossifyOrg/Clock
-
feature request needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
FossifyOrg/Clock#541 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Toronto time zone missingOuvertefeature request needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
FossifyOrg/Clock#521 ·
Les mainteneurs répondent en général sous 1 jour
-
feature request needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
FossifyOrg/Clock#504 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Export stopwatch times as csvOuvertefeature request needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
FossifyOrg/Clock#492 ·
Les mainteneurs répondent en général sous 1 jour
-
feature request needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
FossifyOrg/Clock#491 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de FossifyOrg/Clock
Issues similaires
-
bug 🐞
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
grote/Transportr#1029 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 79/100
TeamAmaze/AmazeFileManager#4800 ·
Les mainteneurs répondent en général sous 1 jour
-
bug needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
FossifyOrg/Gallery#1235 ·
Les mainteneurs répondent en général sous 1 jour
-
Mobile release verification reports missing build inputs with a custom Cargo target directoryOuvertebug good first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
getsotto/sotto-authenticator#139 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement module:webview p3
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
NucleusFramework/Nucleus#1004 ·
Les mainteneurs répondent en général sous 1 jour