When the Alarm screen is shown while phone is locked and the phone orientation changes then the alarm screen will be shown multiple times causing the alarm sound and vibration to play multiple times in the background and not stop when dismissing the alarm.
When the Alarm screen is shown while phone is locked and the phone orientation changes then the alarm screen will be shown multiple times causing the alarm sound and vibration to play multiple times in the background and not stop when dismissing the alarm.
Possible solutions:
Remove or set to false:
Remove orientation change from manifest and set in activity:
New styles.xml in values-v26 and set there: