diff options
| author | 2023-02-22 10:23:26 -0800 | |
|---|---|---|
| committer | 2023-02-22 11:42:37 -0800 | |
| commit | de7e4588e35a4b00443c2baf0b82ecee05eb186c (patch) | |
| tree | 9bb2de4a727dc22ab2c4c5d4cde08cf677f61ffb /cmds/bootanimation/BootAnimationUtil.cpp | |
| parent | 17028b3d455ffd02be7f05ab8ab01cb44b1a3b15 (diff) | |
Always allow startForeground(SHORT_SERVICE) on running short FGS
- Previously, call to `startForeground(SHORT_SERVICE)` to an already
running short FGS was only allowed when the app was in a BFSL-allowed
situation.
- Now, this call is always allowed. However, we extend the short FGS
timeout, only when the app is in a BFSL-allowed situation.
Fix: 269369028
Bug: 257270313
Test: Manually tested with a test app, but with the ACTIVITY_STARTER
BFSL check disabled. It seems like ToT udc-dev has a bug where it's
triggered for BG activities too.
Test: atest CtsShortFgsTestCases
Change-Id: Ife0527236ab5ccbc55c7a7759251fa4a16664297
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions