diff options
author | Chad Brubaker <cbrubaker@google.com> | 2016-06-08 12:57:46 -0700 |
---|---|---|
committer | Chad Brubaker <cbrubaker@google.com> | 2016-06-08 21:48:45 -0700 |
commit | c3a6c78feddd53241ea64d8aae1867235e043a75 (patch) | |
tree | 26f7e409dfb24e28c6ce8d48fb3f062c2290793e /rs/java/android/renderscript/Script.java | |
parent | 7014eef54af5e0e4b28700ff69561a90090f1994 (diff) |
Don't depend directly on AppplicationInfo
ApplicationInfo is mutable and unfortunately some apps do actually
modify the flags. Due to the lazy loading nature of the network security
config this may lead to issues. Instead cache the needed flags and
resources at application startup.
Bug: 29063413
(cherry picked from commit 276ee969be89ba25e439839341953236adf80c40)
Change-Id: If638a716fd903b4e9dbabcbecb38bd4e26fef08c
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions