summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChalard Jean <jchalard@google.com>2018-06-08 19:39:24 +0900
committerChalard Jean <jchalard@google.com>2018-10-15 12:58:40 +0900
commit19aa80f93679a3fcc272aeb2845f76d997264c30 (patch)
tree8f14e245131aa7fa04224fb0eeec6b26946cc831 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent1ad4aed0b96877092080ea2225cbd70f27ae8eb8 (diff)
[PT14] No-op refactoring of sendProxyBroadcast
If mGlobalProxy is non-null, then getDefaultProxy returns mGlobalProxy so the first change is a no-op. If mGlobalProxy is null and mDefaultProxyEnabled is true, then getDefaultProxy returns mDefaultProxy, which has just been set to proxyInfo, so the second change is a no-op. If mGlobalProxy is null and mDefaultProxyEnabled is true, then getDefaultProxy returns mDefaultProxy ; if mGlobalProxy is null and mDefaultProxyEnabled is false, then getDefaultProxy returns null, therefore the third change is a no-op. Test: runtest Change-Id: I7c21062302bf54f4fc917c82e0175975051a55ec
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions