getAlpnSelectedProtocol android 15 changes
- Lenguaje dominante
- Java
- Estrellas
- 12.1k
- Forks
- 4k
- Merge medio
- 2 d 17 h
- PR fusionados (30 d)
- 37
Descripción
[This method marked as max-target-q on android 15 chagelog.](https://developer.android.com/about/versions/15/changes/non-sdk-15)
Lcom/android/org/conscrypt/OpenSSLSocketImpl->getAlpnSelectedProtocol()[B,core-platform-api,max-target-q
Method may fall under the category of APIs that are conditionally blocked based on the target API level of the app. Specifically, if app targets a version higher than Android 10 (API level 29), we might encounter restrictions accessing this method due to non-SDK interface policies.
### What version of gRPC-Java are you using?
1.66.0
### What is your environment?
Android
### What did you expect to see?
Nothing in strictMode logs.
### What did you see instead?
Lcom/android/org/conscrypt/OpenSSLSocketImpl;->getAlpnSelectedProtocol()[B
io.grpc.okhttp.internal.OptionalMethod.getPublicMethod (OptionalMethod.java:178)
### Steps to reproduce the bug
Enabling strictMode with non sdk api violations logging.
StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
.detectNonSdkApiUsage()
.penaltyLog()
.build());
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.