summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorHui Yu <huiyu@google.com>2021-03-14 22:07:55 -0700
committerHui Yu <huiyu@google.com>2021-03-24 13:04:53 -0700
commit28644e3b9e5cf0681af4836d78d80ee5b1357706 (patch)
treef1204da66f4ae2b3a842c48878395f0f3bdd8fb1 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4221ca489c1e210eed35df0bcbba6736c32ef716 (diff)
BG-FGS while-in-use restriction 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 for AMS to call, to determine if BG-FGS while-in-use permission is allowed. Bug: 182400165 Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java Merged-In: I30706dc1950bf5d49926a8e26c0493d9e168eb1b Change-Id: I3615d0a2dc3464b6e980237b906c83872c3b4bce
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions