summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2019-02-19 09:42:24 -0800
committerFelipe Leme <felipeal@google.com>2019-02-20 18:44:05 -0800
commit326f15a392e167b67f9dfaf130ee249b2ff733f8 (patch)
tree4493229903accf06354c2562c29d399415cc6ef8 /rs/java/android/renderscript/ProgramStore.java
parent98ab00f921250aa18521076d93b41b1136b97bf5 (diff)
Optimized Content Capture workflow by caching some state at the application level.
Content Capture for an activity and/or package is only available when the Content Capture service explicitly whitelists it. As the whitelist is kept at system-server level, it's better to fetch that info when the application is started and cache it locally, so we can optimize the ContentCaptureManager APIs to return quickly when it's disabled. This CL also caches other values such as the buffer parameters. Test: atest CtsContentCaptureServiceTestCases Bug: 120494182 Bug: 121202151 Change-Id: I9d5211bca496ffa85ba9efc2a7bb32411834b787
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions