summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSudheer Shanka <sudheersai@google.com>2019-08-07 16:15:23 -0700
committerSudheer Shanka <sudheersai@google.com>2019-08-07 22:59:11 -0700
commit5269e50235b4e5df89e6735449fc2dd4b4064709 (patch)
tree28c24c95ba36d62c08574be0ea12206b4aec3197 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent0b31d6c0000af13403d4258bef91ca861369fc93 (diff)
Don't return null in the default ActivityManagerService.Injector.
Usually with injectors like these, we are expected to use methods provided by these instead of directly accessing the fields, so just returning "null" in Injector.getContext() is counterintuitive and ideally other callsites which are directly accessing mContext should be updated to use injector provided one instead. Bug: 138952436 Test: atest services/tests/servicestests/src/com/android/server/am/ActivityManagerServiceTest.java Test: atest services/tests/mockingservicestests/src/com/android/server/am/AppCompactorTest.java Test: atest services/tests/servicestests/src/com/android/server/am/AppErrorDialogTest.java Change-Id: Idb7cb9a5b7c4c0d237ece9716932a260956a0109
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions