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-08-01 02:45:23 +0000
commit4aa743c3439330d6c78cee8e2e50d3c0dbcf5300 (patch)
treedae1dd9c574d28e8481d6cecf3af257678c63ad0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent46b2968ff925cdad968392da7dec3176868895c7 (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: 35362108 Bug: 37013369 Bug: 62044295 Bug: 63826516 Merged-In: Iaad13e13976e9bf8f508d7188f823f8184ac414b (cherry pick from commit ff3e6ccca1715ae72c6499cc7c894d27f46e8403) Change-Id: I5e6a1ecc6b98069ef0089bbceecf73f7692df227
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions