Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 504dfe5e authored by Raman Tenneti's avatar Raman Tenneti
Browse files

DeskClock: Fix alarm clock screen show black when screen locked;

Root cause: API ActivityTaskManagerService.notifyKeyguardFlagsChanged is called multiple times,
which causes the activity status abnormal.

Solution: Add 'android:showWhenLocked = true' to
ensure activity show on the top even  when screen locked.

BUG: 156311117
BUG: 165404800

Test: manual - Tested the DeskClock UI manually and tested the alarm.

$ make -j 40
$ ls -l  out/target/product/bonito/product/app/DeskClock/DeskClock.apk
  -rw-r----- 1 rtenneti primarygroup 6117353 Jul 13 11:35 out/target/product/bonito/product/app/DeskClock/DeskClock.apk

$ adb install -r out/target/product/bonito/product/app/DeskClock/DeskClock.apk

+ Verified by setting up the alaram, lock the screen and waiting for the alarm to go off.

Forrest build for pi-dev - https://android-build.googleplex.com/builds/forrest/run/L77900000637089767
Change-Id: I69c44571cd86c21203311c89081c8935d5ed1450
(cherry picked from commit 4ba26ea8)
parent d95f9406
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment