-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
android, cronet, android-interop-testing: bump Android versions #7740
android, cronet, android-interop-testing: bump Android versions #7740
Conversation
…ing deprecated NetworkInfo API, which is intended for supporting old API version; migrate to androidX.
…oidX, bump its corresponding dependency versions.
2f1ea10
to
dbc6c28
Compare
…notation to emulate Android 28 for cronet tests.
…ing deprecated NetworkInfo API, which is intended for supporting old API version; migrate to androidX.
…oidX, bump its corresponding dependency versions.
…/grpc-java into bugfix/bump_android_sdk_versions
Note after this change, you may still see tons of
in android-interop-testing. Those are hard to fix. The message doesn't give any clue for where the source code is. Will fix it separately. |
Yeah, I had seen that already. I think google/error-prone#1981 is related, although not the exact same trigger. I think I tracked it down to the gRPC generated code, but couldn't figure out why our filters weren't excluding it from checking. |
…#7740) Bumps target SDK version of grpc-android, grpc-cronet, grpc-android-interop-testing to API 29. Major related changes are: - Migrated android.support to androidx, which is required for Android Q. - android.net.NetworkInfo is deprecated in SDK 29, suppressed compiler warnings as it is needed for supporting old Android versions. - Robolectric requires Java 9+ for Android 29, which causes unit tests in grpc-cronet fail. Added annotation to emulate Android 28 for grpc-cronet's test. - Upgraded Android dependencies accordingly in android-interop-testing.
Bump target SDK version of grpc-android, grpc-cronet, grpc-android-interop-testing to API 29. Resolves #7439.
android.support
toandroidx
, which is required for Android Q.android.net.NetworkInfo
is deprecated in SDK 29, suppressed compiler warnings as it is needed for supporting old Android versions.This is also a partial fix for #7734 (grpc-android and grpc-cronet should be clean now, android-interop-testing still has some code lint issues need to be fixed). Also, android examples are not updated.