-
Notifications
You must be signed in to change notification settings - Fork 527
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
Fix #5451 : java.lang.IllegalStateException - Media player has not been previously initialized #5474
Conversation
Develop (fork) Branch Update
APK & AAB differences analysisNote that this is a summarized snapshot. See the CI artifacts for detailed differences. DevExpand to see flavor specificsUniversal APKAPK file size: 19 MiB (old), 19 MiB (new), 8996 bytes (Removed) APK download size (estimated): 17 MiB (old), 17 MiB (new), 4656 bytes (Removed) Method count: 258712 (old), 258691 (new), 21 (Removed) Features: 2 (old), 2 (new), 0 (No change) Permissions: 6 (old), 6 (new), 0 (No change) Resources: 6788 (old), 6775 (new), 13 (Removed)
Lesson assets: 111 (old), 111 (new), 0 (No change) AAB differencesExpand to see AAB specificsSupported configurations:
Base APKAPK file size: 18 MiB (old), 18 MiB (new), 8584 bytes (Removed)
Configuration hdpiAPK file size: 50 KiB (old), 49 KiB (new), 208 bytes (Removed) Configuration ldpiAPK file size: 49 KiB (old), 48 KiB (new), 260 bytes (Removed) Configuration mdpiAPK file size: 45 KiB (old), 45 KiB (new), 208 bytes (Removed) Configuration tvdpiAPK file size: 86 KiB (old), 85 KiB (new), 364 bytes (Removed) Configuration xhdpiAPK file size: 57 KiB (old), 56 KiB (new), 260 bytes (Removed) Configuration xxhdpiAPK file size: 63 KiB (old), 62 KiB (new), 208 bytes (Removed) Configuration xxxhdpiAPK file size: 63 KiB (old), 63 KiB (new), 208 bytes (Removed) AlphaExpand to see flavor specificsUniversal APKAPK file size: 11 MiB (old), 11 MiB (new), 6308 bytes (Removed) APK download size (estimated): 10 MiB (old), 10 MiB (new), 2318 bytes (Removed) Method count: 114931 (old), 114909 (new), 22 (Removed) Features: 2 (old), 2 (new), 0 (No change) Permissions: 6 (old), 6 (new), 0 (No change) Resources: 5758 (old), 5745 (new), 13 (Removed)
Lesson assets: 111 (old), 111 (new), 0 (No change) AAB differencesExpand to see AAB specificsSupported configurations:
Base APKAPK file size: 10 MiB (old), 10 MiB (new), 5944 bytes (Removed)
Configuration hdpiAPK file size: 43 KiB (old), 43 KiB (new), 156 bytes (Removed) Configuration ldpiAPK file size: 44 KiB (old), 44 KiB (new), 260 bytes (Removed) Configuration mdpiAPK file size: 38 KiB (old), 38 KiB (new), 156 bytes (Removed) Configuration tvdpiAPK file size: 73 KiB (old), 72 KiB (new), 260 bytes (Removed) Configuration xhdpiAPK file size: 50 KiB (old), 49 KiB (new), 208 bytes (Removed) Configuration xxhdpiAPK file size: 55 KiB (old), 55 KiB (new), 156 bytes (Removed) Configuration xxxhdpiAPK file size: 55 KiB (old), 55 KiB (new), 156 bytes (Removed) BetaExpand to see flavor specificsUniversal APKAPK file size: 11 MiB (old), 11 MiB (new), 6264 bytes (Removed) APK download size (estimated): 10 MiB (old), 10 MiB (new), 4170 bytes (Removed) Method count: 114927 (old), 114915 (new), 12 (Removed) Features: 2 (old), 2 (new), 0 (No change) Permissions: 6 (old), 6 (new), 0 (No change) Resources: 5758 (old), 5745 (new), 13 (Removed)
Lesson assets: 111 (old), 111 (new), 0 (No change) AAB differencesExpand to see AAB specificsSupported configurations:
Base APKAPK file size: 10 MiB (old), 10 MiB (new), 5900 bytes (Removed)
Configuration hdpiAPK file size: 43 KiB (old), 43 KiB (new), 156 bytes (Removed) Configuration ldpiAPK file size: 44 KiB (old), 44 KiB (new), 260 bytes (Removed) Configuration mdpiAPK file size: 38 KiB (old), 38 KiB (new), 156 bytes (Removed) Configuration tvdpiAPK file size: 73 KiB (old), 72 KiB (new), 260 bytes (Removed) Configuration xhdpiAPK file size: 50 KiB (old), 49 KiB (new), 208 bytes (Removed) Configuration xxhdpiAPK file size: 55 KiB (old), 55 KiB (new), 156 bytes (Removed) Configuration xxxhdpiAPK file size: 55 KiB (old), 55 KiB (new), 156 bytes (Removed) GaExpand to see flavor specificsUniversal APKAPK file size: 11 MiB (old), 11 MiB (new), 6124 bytes (Removed) APK download size (estimated): 10 MiB (old), 10 MiB (new), 7198 bytes (Removed) Method count: 114927 (old), 114915 (new), 12 (Removed) Features: 2 (old), 2 (new), 0 (No change) Permissions: 6 (old), 6 (new), 0 (No change) Resources: 5758 (old), 5745 (new), 13 (Removed)
Lesson assets: 111 (old), 111 (new), 0 (No change) AAB differencesExpand to see AAB specificsSupported configurations:
Base APKAPK file size: 10 MiB (old), 10 MiB (new), 5756 bytes (Removed)
Configuration hdpiAPK file size: 43 KiB (old), 43 KiB (new), 156 bytes (Removed) Configuration ldpiAPK file size: 44 KiB (old), 44 KiB (new), 260 bytes (Removed) Configuration mdpiAPK file size: 38 KiB (old), 38 KiB (new), 156 bytes (Removed) Configuration tvdpiAPK file size: 73 KiB (old), 72 KiB (new), 260 bytes (Removed) Configuration xhdpiAPK file size: 50 KiB (old), 49 KiB (new), 208 bytes (Removed) Configuration xxhdpiAPK file size: 55 KiB (old), 55 KiB (new), 156 bytes (Removed) Configuration xxxhdpiAPK file size: 55 KiB (old), 55 KiB (new), 156 bytes (Removed) |
can anyone help me to understand why did some checks fail? |
APK & AAB differences analysisNote that this is a summarized snapshot. See the CI artifacts for detailed differences. DevExpand to see flavor specificsUniversal APKAPK file size: 19 MiB (old), 19 MiB (new), 9004 bytes (Removed) APK download size (estimated): 17 MiB (old), 17 MiB (new), 4658 bytes (Removed) Method count: 258712 (old), 258691 (new), 21 (Removed) Features: 2 (old), 2 (new), 0 (No change) Permissions: 6 (old), 6 (new), 0 (No change) Resources: 6788 (old), 6775 (new), 13 (Removed)
Lesson assets: 111 (old), 111 (new), 0 (No change) AAB differencesExpand to see AAB specificsSupported configurations:
Base APKAPK file size: 18 MiB (old), 18 MiB (new), 8592 bytes (Removed)
Configuration hdpiAPK file size: 50 KiB (old), 49 KiB (new), 208 bytes (Removed) Configuration ldpiAPK file size: 49 KiB (old), 48 KiB (new), 260 bytes (Removed) Configuration mdpiAPK file size: 45 KiB (old), 45 KiB (new), 208 bytes (Removed) Configuration tvdpiAPK file size: 86 KiB (old), 85 KiB (new), 364 bytes (Removed) Configuration xhdpiAPK file size: 57 KiB (old), 56 KiB (new), 260 bytes (Removed) Configuration xxhdpiAPK file size: 63 KiB (old), 62 KiB (new), 208 bytes (Removed) Configuration xxxhdpiAPK file size: 63 KiB (old), 63 KiB (new), 208 bytes (Removed) AlphaExpand to see flavor specificsUniversal APKAPK file size: 11 MiB (old), 11 MiB (new), 6312 bytes (Removed) APK download size (estimated): 10 MiB (old), 10 MiB (new), 2336 bytes (Removed) Method count: 114931 (old), 114909 (new), 22 (Removed) Features: 2 (old), 2 (new), 0 (No change) Permissions: 6 (old), 6 (new), 0 (No change) Resources: 5758 (old), 5745 (new), 13 (Removed)
Lesson assets: 111 (old), 111 (new), 0 (No change) AAB differencesExpand to see AAB specificsSupported configurations:
Base APKAPK file size: 10 MiB (old), 10 MiB (new), 5948 bytes (Removed)
Configuration hdpiAPK file size: 43 KiB (old), 43 KiB (new), 156 bytes (Removed) Configuration ldpiAPK file size: 44 KiB (old), 44 KiB (new), 260 bytes (Removed) Configuration mdpiAPK file size: 38 KiB (old), 38 KiB (new), 156 bytes (Removed) Configuration tvdpiAPK file size: 73 KiB (old), 72 KiB (new), 260 bytes (Removed) Configuration xhdpiAPK file size: 50 KiB (old), 49 KiB (new), 208 bytes (Removed) Configuration xxhdpiAPK file size: 55 KiB (old), 55 KiB (new), 156 bytes (Removed) Configuration xxxhdpiAPK file size: 55 KiB (old), 55 KiB (new), 156 bytes (Removed) BetaExpand to see flavor specificsUniversal APKAPK file size: 11 MiB (old), 11 MiB (new), 6268 bytes (Removed) APK download size (estimated): 10 MiB (old), 10 MiB (new), 4168 bytes (Removed) Method count: 114927 (old), 114915 (new), 12 (Removed) Features: 2 (old), 2 (new), 0 (No change) Permissions: 6 (old), 6 (new), 0 (No change) Resources: 5758 (old), 5745 (new), 13 (Removed)
Lesson assets: 111 (old), 111 (new), 0 (No change) AAB differencesExpand to see AAB specificsSupported configurations:
Base APKAPK file size: 10 MiB (old), 10 MiB (new), 5904 bytes (Removed)
Configuration hdpiAPK file size: 43 KiB (old), 43 KiB (new), 156 bytes (Removed) Configuration ldpiAPK file size: 44 KiB (old), 44 KiB (new), 260 bytes (Removed) Configuration mdpiAPK file size: 38 KiB (old), 38 KiB (new), 156 bytes (Removed) Configuration tvdpiAPK file size: 73 KiB (old), 72 KiB (new), 260 bytes (Removed) Configuration xhdpiAPK file size: 50 KiB (old), 49 KiB (new), 208 bytes (Removed) Configuration xxhdpiAPK file size: 55 KiB (old), 55 KiB (new), 156 bytes (Removed) Configuration xxxhdpiAPK file size: 55 KiB (old), 55 KiB (new), 156 bytes (Removed) GaExpand to see flavor specificsUniversal APKAPK file size: 11 MiB (old), 11 MiB (new), 6128 bytes (Removed) APK download size (estimated): 10 MiB (old), 10 MiB (new), 7178 bytes (Removed) Method count: 114927 (old), 114915 (new), 12 (Removed) Features: 2 (old), 2 (new), 0 (No change) Permissions: 6 (old), 6 (new), 0 (No change) Resources: 5758 (old), 5745 (new), 13 (Removed)
Lesson assets: 111 (old), 111 (new), 0 (No change) AAB differencesExpand to see AAB specificsSupported configurations:
Base APKAPK file size: 10 MiB (old), 10 MiB (new), 5764 bytes (Removed)
Configuration hdpiAPK file size: 43 KiB (old), 43 KiB (new), 156 bytes (Removed) Configuration ldpiAPK file size: 44 KiB (old), 44 KiB (new), 260 bytes (Removed) Configuration mdpiAPK file size: 38 KiB (old), 38 KiB (new), 156 bytes (Removed) Configuration tvdpiAPK file size: 73 KiB (old), 72 KiB (new), 260 bytes (Removed) Configuration xhdpiAPK file size: 50 KiB (old), 49 KiB (new), 208 bytes (Removed) Configuration xxhdpiAPK file size: 55 KiB (old), 55 KiB (new), 156 bytes (Removed) Configuration xxxhdpiAPK file size: 55 KiB (old), 55 KiB (new), 156 bytes (Removed) |
@@ -251,11 +260,12 @@ class AudioPlayerController @Inject constructor( | |||
*/ | |||
fun releaseMediaPlayer() { | |||
audioLock.withLock { | |||
check(mediaPlayerActive) { "Media player has not been previously initialized" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can anyone help me to understand why did some checks fail?
Hi @subhajitxyz, removal of this message is causing the check to fail. The test testController_notInitialized_releasePlayer_fails
asserts this exception to be thrown with the message.
Here is the stacktrace of the failing check:
https://github.com/oppia/oppia-android/actions/runs/10132648197/job/28016870105?pr=5474#step:13:1878
added isInitialized variable
Explanation
Fixes #5451
Essential Checklist
For UI-specific PRs only
If your PR includes UI-related changes, then: