<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_external_okhttp/repackaged/android, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_okhttp/'/>
<entry>
<title>Use new UnsupportedAppUsage annotation.</title>
<updated>2019-12-10T13:21:23+00:00</updated>
<author>
<name>Artur Satayev</name>
<email>satayev@google.com</email>
</author>
<published>2019-12-10T12:19:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_okhttp/commit/?id=83f1f55b26800dfa1e5472dd5a42f598f4e3c224'/>
<id>83f1f55b26800dfa1e5472dd5a42f598f4e3c224</id>
<content type='text'>
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.

Bug: 145132366
Test: m &amp;&amp; diff unsupportedappusage_index.csv
Change-Id: Idc7847791a00212dd8608798cc69ab6c7fa08294
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.

Bug: 145132366
Test: m &amp;&amp; diff unsupportedappusage_index.csv
Change-Id: Idc7847791a00212dd8608798cc69ab6c7fa08294
</pre>
</div>
</content>
</entry>
<entry>
<title>Small updates to OkHttp-Conscrypt interaction</title>
<updated>2019-03-26T14:48:57+00:00</updated>
<author>
<name>Adam Vartanian</name>
<email>flooey@google.com</email>
</author>
<published>2019-03-26T13:53:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_okhttp/commit/?id=e541cdd2b7470ca683bd2665b67092397353ca56'/>
<id>e541cdd2b7470ca683bd2665b67092397353ca56</id>
<content type='text'>
If SNIHostName throws IllegalArgumentException on a hostname, just
ignore it.  Invalid hostnames should just result in no SNI extension.

Add getApplicationProtocol() to DelegatingSSLSocket.  Without it, the
delegating socket used in some tests will report no application
protocol being selected despite one being negotiated, which means the
test will misparse the response since it thinks a different protocol
is being used.

Test: cts -m CtsLibcoreOkHttpTestCases
Bug: 129241395
Bug: 129278464
Change-Id: I750173d8b4a744ac11c0b50f67613fb3a4be3235
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If SNIHostName throws IllegalArgumentException on a hostname, just
ignore it.  Invalid hostnames should just result in no SNI extension.

Add getApplicationProtocol() to DelegatingSSLSocket.  Without it, the
delegating socket used in some tests will report no application
protocol being selected despite one being negotiated, which means the
test will misparse the response since it thinks a different protocol
is being used.

Test: cts -m CtsLibcoreOkHttpTestCases
Bug: 129241395
Bug: 129278464
Change-Id: I750173d8b4a744ac11c0b50f67613fb3a4be3235
</pre>
</div>
</content>
</entry>
<entry>
<title>Use public API for Conscrypt features</title>
<updated>2019-03-22T13:28:08+00:00</updated>
<author>
<name>Adam Vartanian</name>
<email>flooey@google.com</email>
</author>
<published>2019-03-19T09:36:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_okhttp/commit/?id=ed34271096dedb7af95976e27a94826a2f653cc1'/>
<id>ed34271096dedb7af95976e27a94826a2f653cc1</id>
<content type='text'>
Historically, extra Conscrypt features were enabled by calling hidden
APIs.  We now have public APIs for these, so use those instead.
Continue calling the non-public APIs in most cases because older
versions of Conscrypt may be bundled with apps and third-party
SSLSocket providers may have taken advantage of our duck-typing to
enable compatibility with these features, but never call them when
dealing with a platform socket to ensure we can't break this with
Conscrypt module updates.

In future, we want to depend on Conscrypt stubs instead, but those
don't exist yet.  b/129126571 tracks that work.

Test: cts -m CtsLibcoreTestCases
Test: cts -m CtsLibcoreOkHttpTestCases
Bug: 128280837
Change-Id: Id5a04a14ebe9737a85d3347a230132c151e1ec5a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Historically, extra Conscrypt features were enabled by calling hidden
APIs.  We now have public APIs for these, so use those instead.
Continue calling the non-public APIs in most cases because older
versions of Conscrypt may be bundled with apps and third-party
SSLSocket providers may have taken advantage of our duck-typing to
enable compatibility with these features, but never call them when
dealing with a platform socket to ensure we can't break this with
Conscrypt module updates.

In future, we want to depend on Conscrypt stubs instead, but those
don't exist yet.  b/129126571 tracks that work.

Test: cts -m CtsLibcoreTestCases
Test: cts -m CtsLibcoreOkHttpTestCases
Bug: 128280837
Change-Id: Id5a04a14ebe9737a85d3347a230132c151e1ec5a
</pre>
</div>
</content>
</entry>
<entry>
<title>Add hiddenapi entries from bugbot scrape of bug reports</title>
<updated>2018-12-12T15:13:55+00:00</updated>
<author>
<name>Paul Duffin</name>
<email>paulduffin@google.com</email>
</author>
<published>2018-12-11T15:58:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_okhttp/commit/?id=5cbe455e1758113f502363a7ee8bf69fc1028c78'/>
<id>5cbe455e1758113f502363a7ee8bf69fc1028c78</id>
<content type='text'>
Bug: 120900496
Test: check generated list
Change-Id: I12029ea20303f5d10349cc6cd1d96e69a2bba9cb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 120900496
Test: check generated list
Change-Id: I12029ea20303f5d10349cc6cd1d96e69a2bba9cb
</pre>
</div>
</content>
</entry>
<entry>
<title>Annotate repackaged API with @UnsupportedAppUsage</title>
<updated>2018-11-27T14:31:54+00:00</updated>
<author>
<name>Paul Duffin</name>
<email>paulduffin@google.com</email>
</author>
<published>2018-11-21T14:12:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_okhttp/commit/?id=d0f55b9647fc3800b7d168943e7e5809e5662d86'/>
<id>d0f55b9647fc3800b7d168943e7e5809e5662d86</id>
<content type='text'>
Adds @UnsupportedAppUsage annotations to the parts of okhttp that
are in the hidden API. Allows the okhttp entries to be removed from
the frameworks/base/config/hiddenapi-light-greylist.txt.

This was tested by making and then manually checking that the generated
out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the
same (after sorting) before and after this change.

Bug: 117818301
Test: see above
Change-Id: I5c88c7a80ee1d2ec7b688ae8175267fac35ef368
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds @UnsupportedAppUsage annotations to the parts of okhttp that
are in the hidden API. Allows the okhttp entries to be removed from
the frameworks/base/config/hiddenapi-light-greylist.txt.

This was tested by making and then manually checking that the generated
out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the
same (after sorting) before and after this change.

Bug: 117818301
Test: see above
Change-Id: I5c88c7a80ee1d2ec7b688ae8175267fac35ef368
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing default constructors</title>
<updated>2018-11-22T12:45:50+00:00</updated>
<author>
<name>Paul Duffin</name>
<email>paulduffin@google.com</email>
</author>
<published>2018-11-22T12:45:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_okhttp/commit/?id=cf70b06cb79b805e7c4e266d60dfd02b09ccac55'/>
<id>cf70b06cb79b805e7c4e266d60dfd02b09ccac55</id>
<content type='text'>
Metalava was accidentally including default constructors in the API
generated for CorePlatformApi and IntraCoreApi annotations. This change
adds the constructor and appropriate annotations to allow the metalava
bug to be fixed without changing the API.

Tested by building the API with and without the Metalava fix and
checking that they were the same.

Bug: 119859108
Test: see above
Change-Id: I26954042dc3e0c1a29804ee4f9adeec2e98173c2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Metalava was accidentally including default constructors in the API
generated for CorePlatformApi and IntraCoreApi annotations. This change
adds the constructor and appropriate annotations to allow the metalava
bug to be fixed without changing the API.

Tested by building the API with and without the Metalava fix and
checking that they were the same.

Bug: 119859108
Test: see above
Change-Id: I26954042dc3e0c1a29804ee4f9adeec2e98173c2
</pre>
</div>
</content>
</entry>
<entry>
<title>Use generated source not jarjar</title>
<updated>2018-11-14T14:05:07+00:00</updated>
<author>
<name>Paul Duffin</name>
<email>paulduffin@google.com</email>
</author>
<published>2018-11-13T14:51:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_okhttp/commit/?id=aa7ed346b6a6f9271ae4ceea7738e5eb45dc9966'/>
<id>aa7ed346b6a6f9271ae4ceea7738e5eb45dc9966</id>
<content type='text'>
Note: Although the classes in the android/ directory are in the correct
package and so do not need to be moved to a different package they do
reference classes that are in the wrong package and so they need
those references transformed.

Bug: 117818301
Test: make droid, flash and test
Change-Id: I45913637abfff2bc40a64348d0ffb606a6258186
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note: Although the classes in the android/ directory are in the correct
package and so do not need to be moved to a different package they do
reference classes that are in the wrong package and so they need
those references transformed.

Bug: 117818301
Test: make droid, flash and test
Change-Id: I45913637abfff2bc40a64348d0ffb606a6258186
</pre>
</div>
</content>
</entry>
</feed>
