summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJan Tomljanovic <jtomljanovic@google.com>2020-11-30 13:10:12 +0000
committerJan Tomljanovic <jtomljanovic@google.com>2020-12-03 17:03:11 +0000
commit09027467cd7319fa1c86f23f844f568d6952733d (patch)
tree21182005632f791d3d19a35b232a7d38b16fb232 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent66b8a14aa215b3d0351417f49ab92cf71aeeffb6 (diff)
Implement rate limiting toasts.
We rate limit showing toasts on a per package basis. Each time the app hits the limit, any further toast attempted to be shown will be discarded. Specific rate limits are designed in a way such that if the app continuously posts toasts, the period for which it will be blocked from posting gradually increases each time it hits the limit. Test: atest android.widget.cts.ToastTest Test: atest NotificationManagerServiceTest Bug: 154198299 Change-Id: I41656745cbd4e6cb6650cf4100ca32a09dc67810
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions