diff options
author | Hui Yu <huiyu@google.com> | 2021-01-06 14:09:23 -0800 |
---|---|---|
committer | Hui Yu <huiyu@google.com> | 2021-01-07 00:47:24 -0800 |
commit | 7f630d22b83d8f40225a2e0b0501d0040313080a (patch) | |
tree | 8fffa1fa3d78210e3010c1f2d5ec7c66039409ca /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | af95a200dc5a7e6693f31806c7c8809aecae7d80 (diff) |
BG-FGS-Launch uses the same grace period mechanism as BG-Activity-Launch.
WindowProcessController.areBackgroundActivityStartsAllowed() has the 10 seconds grace period,
starts from last activity's launch time or finish time.
Expose this method as an ATMS interface for AMS to call, to determine if
BG-FGS-Launch is allowed.
Bug: 171305836
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java
Change-Id: I30706dc1950bf5d49926a8e26c0493d9e168eb1b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions