summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2017-05-02 13:36:28 +0900
committerHugo Benichi <hugobenichi@google.com>2017-05-09 10:49:33 +0900
commitff3e6ccca1715ae72c6499cc7c894d27f46e8403 (patch)
treed51008293ff08fd6b84cf5c48932898a70eaa9ed /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd308803b82f5317eebafdf3a97baff3bcd460e60 (diff)
NsdManager: remove duplicated argument validation
This patch simplifies argument validation in NsdManager public api and regroup duplicated validation into common methods. This makes stack traces more actionable as now specific errors will cause the api to throw exception from specific methods, whereas before IllegalArgumentException would be thrown from inside the same api method for different reasons. This patch also includes a couple of other small cleanups. Test: $ runtest -x frameworks/base/tests/net/../NsdManagerTest.java Bug: 37013369 Change-Id: Iaad13e13976e9bf8f508d7188f823f8184ac414b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions