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 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. Change-Id: I69c44571cd86c21203311c89081c8935d5ed1450 Merged-In: I69c44571cd86c21203311c89081c8935d5ed1450
Loading
-
mentioned in commit 6015e165
-
mentioned in commit be18acb8
-
mentioned in commit 62c4639c
-
mentioned in commit 1696c539
-
mentioned in commit 0604439a
-
mentioned in commit 95d76fb1
-
mentioned in commit edfd0039
-
mentioned in commit ca294822
-
mentioned in commit c200c01c
-
mentioned in commit d95f9406
-
mentioned in commit bfbd31ea
-
mentioned in commit d137270e
-
mentioned in commit 95a9799a
-
mentioned in commit e39b42d5
Please register or sign in to comment