Fix platformDefaultTlsProtocols().

Should have been returning the default TLS protocols, but was
instead returning the supported protocols.

Fixing this then exposed an off by one error in
noSslFallback_specifiedProtocols().

Bug: 151078328
Bug: 306148171
Test: atest CtsLibcoreTestCases:libcore.java.net.URLConnectionTest
Change-Id: Ie29f457fcaf795a9c024f6fdd8ae0cbf161e36d7
1 file changed