openedx-unsupported / edx-app-android

The Open edX mobile app for Android!
https://docs.google.com/document/d/15MYZ2LAmahB82P5wkPkQOqjszfou0Qkeae3qz7STxUQ/edit
Apache License 2.0
301 stars 333 forks source link

refactor: Resolve build-time warnings after Android 13 migration #1803

Closed HamzaIsrar12 closed 1 year ago

HamzaIsrar12 commented 1 year ago

Description

LEARNER-9413

After migration to android-13 (SDK 33), and upgrading third-party libraries, the platform deprecates some methods and components, that need to be fixed.

The following needs to be updated

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: -0.01% :warning:

Comparison is base (572532d) 1.13% compared to head (0bf4c4d) 1.13%. Report is 7 commits behind head on migration_android_13.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## migration_android_13 #1803 +/- ## ========================================================= - Coverage 1.13% 1.13% -0.01% Complexity 137 137 ========================================================= Files 533 534 +1 Lines 25211 25275 +64 Branches 3057 3061 +4 ========================================================= Hits 286 286 - Misses 24898 24962 +64 Partials 27 27 ``` | [Files Changed](https://app.codecov.io/gh/openedx/edx-app-android/pull/1803?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx) | Coverage Δ | | |---|---|---| | [...rc/main/java/org/edx/mobile/base/BaseFragment.java](https://app.codecov.io/gh/openedx/edx-app-android/pull/1803?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL2Jhc2UvQmFzZUZyYWdtZW50LmphdmE=) | `0.00% <0.00%> (ø)` | | | [...org/edx/mobile/base/WebViewCourseInfoFragment.java](https://app.codecov.io/gh/openedx/edx-app-android/pull/1803?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL2Jhc2UvV2ViVmlld0NvdXJzZUluZm9GcmFnbWVudC5qYXZh) | `0.00% <0.00%> (ø)` | | | [...in/java/org/edx/mobile/event/FileSelectionEvent.kt](https://app.codecov.io/gh/openedx/edx-app-android/pull/1803?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL2V2ZW50L0ZpbGVTZWxlY3Rpb25FdmVudC5rdA==) | `0.00% <0.00%> (ø)` | | | [...c/main/java/org/edx/mobile/event/FileShareEvent.kt](https://app.codecov.io/gh/openedx/edx-app-android/pull/1803?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL2V2ZW50L0ZpbGVTaGFyZUV2ZW50Lmt0) | `0.00% <0.00%> (ø)` | | | [...main/java/org/edx/mobile/extenstion/TextViewExt.kt](https://app.codecov.io/gh/openedx/edx-app-android/pull/1803?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL2V4dGVuc3Rpb24vVGV4dFZpZXdFeHQua3Q=) | `0.00% <0.00%> (ø)` | | | [.../org/edx/mobile/inapppurchases/BillingProcessor.kt](https://app.codecov.io/gh/openedx/edx-app-android/pull/1803?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL2luYXBwcHVyY2hhc2VzL0JpbGxpbmdQcm9jZXNzb3Iua3Q=) | `0.00% <0.00%> (ø)` | | | [...org/edx/mobile/inapppurchases/InAppPurchasesAPI.kt](https://app.codecov.io/gh/openedx/edx-app-android/pull/1803?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL2luYXBwcHVyY2hhc2VzL0luQXBwUHVyY2hhc2VzQVBJLmt0) | `0.00% <0.00%> (ø)` | | | [...edx/mobile/inapppurchases/InAppPurchasesService.kt](https://app.codecov.io/gh/openedx/edx-app-android/pull/1803?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL2luYXBwcHVyY2hhc2VzL0luQXBwUHVyY2hhc2VzU2VydmljZS5rdA==) | `0.00% <ø> (ø)` | | | [.../main/java/org/edx/mobile/model/iap/IAPFlowData.kt](https://app.codecov.io/gh/openedx/edx-app-android/pull/1803?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL21vZGVsL2lhcC9JQVBGbG93RGF0YS5rdA==) | `0.00% <0.00%> (ø)` | | | [.../edx/mobile/repository/InAppPurchasesRepository.kt](https://app.codecov.io/gh/openedx/edx-app-android/pull/1803?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL3JlcG9zaXRvcnkvSW5BcHBQdXJjaGFzZXNSZXBvc2l0b3J5Lmt0) | `0.00% <0.00%> (ø)` | | | ... and [35 more](https://app.codecov.io/gh/openedx/edx-app-android/pull/1803?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.