diff options
author | Hyundo Moon <hdmoon@google.com> | 2020-01-11 14:06:46 +0900 |
---|---|---|
committer | Hyundo Moon <hdmoon@google.com> | 2020-01-11 19:47:35 +0900 |
commit | 459dee33dfadaa0881d4ce6fddf788e5193a6014 (patch) | |
tree | f8720ffc511ead6afe79ac818052f3c955e674b7 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 6e1d310138974120d6d99f334b3e314f01799234 (diff) |
RouteSessionInfo: Remove isValid() and override equals()/hashCode()
This CL removes RouteSessionInfo#isValid() since there is are no usages.
Also overrides equals() and hashCode().
Also, it applies following changes:
- Make the class as final
- Add javadoc for using an empty string for unknown client package name
- Throw exception in Builder#build() if there is no selected routes.
- Throw IllegalArgumentException in Builder#add/Remove*Routes(routeId)
when the given routeId is empty or null.
Tests for the class are also added.
Bug: 147524068
Test: atest mediaroutertest
Change-Id: I2cb6cc37a8216dd42dc72edee72bb5211259c66a
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions