commit | ca7b4a149ae37f3b0e6817dca21910dc222363fc | [log] [tgz] |
---|---|---|
author | Hui Yu <huiyu@google.com> | Wed Jan 20 10:01:20 2021 -0800 |
committer | Hui Yu <huiyu@google.com> | Thu Jan 21 14:41:23 2021 -0800 |
tree | 6ef9cacdc4c03d86c8a30c97818c7d2c2d94f4b9 | |
parent | a648085407a8a975f784d45d0b7fd9ca68c11bf7 [diff] |
Add param isCheckingForFgsStart to areBackgroundActivityStartsAllowed(). If isCheckingForFgsStart is true, this checking is for FGS start, it won't invoke the mBackgroundActivityStartCallback. Bug: 177642703 Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java Change-Id: Ie6d58b8886e8477a9dbc524d43ccda930139a460