diff options
author | Hai Zhang <zhanghai@google.com> | 2021-01-21 17:37:39 -0800 |
---|---|---|
committer | Hai Zhang <zhanghai@google.com> | 2021-01-22 14:27:00 -0800 |
commit | 0de31fe1e24a4aa7bb30f296f8cb911ca44e983e (patch) | |
tree | 7df1f4bfbf283a61c68cd860232f81994b1b58ed /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 84705c4ae303b97e9529325439239dc84a7c73c7 (diff) |
Prepare role code for modularization.
- PooledLambda: PoolLambda is replaced with plain lambdas, to avoid
adding ~20 classes to boot classpath (for each module that uses
lambda).
- SystemServiceRegistry: RoleFrameworkInitializer is added to add
ROLE_SERVICE, similar to other modules.
- RoleService: RoleManagerService is renamed to RoleService to better
reflect the manager/service relationship.
- @MainThread: import for Looper is removed because it's only used in
javadoc and triggers package not exist error during build. @linkplain
in the javadoc is also removed because it triggers an error in
Metalava parsing and isn't critical.
- Added small utilities: These utilities has their full version in
platform, but is too large and contains too many internal references
in methods unreferenced by role, whereas actually role only needs 1 or
2 methods from them. So just create a small copy of the used methods
for role modularization, and they will be moved into APEX with role.
Bug: 158736025
Test: manual
Change-Id: I74f20b37d23370e258e7fc7130e28c5312abf46c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions