The following problem has been occurring since I switched from P6 to P7:
The Google Clock app alarm works when the display is off / device is locked. But the screen doesn't stay on. It flashes on for a second and then goes black again. I have to press the power button 2x to get it to turn back on. Like I turn it off first and then turn it back on. Then I can turn off the alarm even when it is locked.
The stock clock app works as expected without this issue.
Reinstalling the app did not fix the error. I did not have this problem on my P6. I also gave the app all permissions which didn't fix it either.