commit | c3a6c78feddd53241ea64d8aae1867235e043a75 | [log] [tgz] |
---|---|---|
author | Chad Brubaker <cbrubaker@google.com> | Wed Jun 08 12:57:46 2016 -0700 |
committer | Chad Brubaker <cbrubaker@google.com> | Wed Jun 08 21:48:45 2016 -0700 |
tree | 26f7e409dfb24e28c6ce8d48fb3f062c2290793e | |
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