commit | efeaff0ed2649f7cebe0c2fe197523bb51beaf0e | [log] [tgz] |
---|---|---|
author | Hui Yu <huiyu@google.com> | Wed Sep 22 18:38:44 2021 -0700 |
committer | Hui Yu <huiyu@google.com> | Wed Mar 30 22:41:19 2022 +0000 |
tree | 091fe98a4b5873e25360b5430402db2b3ca45698 | |
parent | 31b1b52a5bedadf1b295ac6b3c725abf6e4bd21c [diff] |
Revise case testSecondStartForeground after fix timing issue on second startForeground(). Remove the 10 seconds latency check on the second or later Service.startForeground() before it can call setFgsRestrictionLocked(). Bug: 200297438 Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java#testSecondStartForeground Change-Id: Id82b81c3ac318668d1e099c439517961cd6f1cc7