OSDN Git Service

Move UriCodec to be near its one user
authorNeil Fuller <nfuller@google.com>
Fri, 13 Jul 2018 19:02:58 +0000 (20:02 +0100)
committerNeil Fuller <nfuller@google.com>
Mon, 23 Jul 2018 18:53:11 +0000 (19:53 +0100)
commit0f6f3bd7f0c4abacf25923da67517cea11a9cdab
tree8f5b8f3b5ca571eef589c60f01e61c5bcb28f01f
parent3e3a6e4760e3e8f3b7ff30aac4aa1a64c13d52dc
Move UriCodec to be near its one user

The only user of UriCodec is android.net.Uri so it can
be moved to android.net.

This change moves the UriCodecTest to the unit tests
and there is an associated change to Uri's CTS tests
to ensure we're testing public method behavior there too.

Test: make droid && make cts
Bug: 111055375
Change-Id: Id032f849b439adf3fd7cb1a3c8b234a5eec68fac
core/java/android/net/Uri.java
core/java/android/net/UriCodec.java [new file with mode: 0644]
core/tests/coretests/src/android/net/UriCodecTest.java [new file with mode: 0644]