diff options
author | Rhed Jao <rhedjao@google.com> | 2021-05-07 21:32:23 +0800 |
---|---|---|
committer | Rhed Jao <rhedjao@google.com> | 2021-05-20 11:02:36 +0800 |
commit | ec065a8333fff9f39d697877bee2663e39cbdb1f (patch) | |
tree | 43b2c75351e4006d1ef315ad592a48ed98d12332 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c56f67e7d9a30a383702d5f1174c23898361f6e8 (diff) |
Throttle the repeated silent installation requests
To avoid a non-system installer repeatedly silent updates and
'denial-of-service' against another app on the device. This CL
tracks for all the silent updated installs where the
`requireUserAction' is not required. And fall back to user
action required if a repeated silent update is requested within
the throttle time.
Bug: 185878964
Test: atest SilentUpdateHostsideTests
Test: atest StagingManagerTest
Test: atest PackageInstallerSessionTest
Change-Id: I4ea287bf66d8661eec2676b604f9109f6f9add28
Merged-In: I4ea287bf66d8661eec2676b604f9109f6f9add28
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions