summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorOli Lan <olilan@google.com>2019-11-28 11:34:21 +0000
committerOli Lan <olilan@google.com>2019-12-09 13:10:18 +0000
commitbe7a42364904bdc145b75ba88a6822deaba9437c (patch)
tree3e3baccabd5604d38300693ae82c83e51d503295 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent3978fd5471dc6ebbf2b2dbe62131183162eb1cca (diff)
Make ApexManager a singleton.
Currently ApexManager is only accessed from PackageManager, but upcoming changes to allow rollback of apex data directories will require RollbackManager to access it as well. (See go/apex-data-directories) Multiple ApexManagers can already be created, but as the class maintains a cache of apex packages, it would be inefficient to have many of them. This change makes ApexManager into a singleton so that PackageManager and RollbackManager can use the same one. Bug: 141148175 Test: atest CtsStagedInstallHostTestCases Change-Id: Id43a20bf94f349c87d50de5dad7c90bee50f39f1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions