Glide library causes Google Play Console warning about use of deprecated parameter
- Dominant language
- Java
- Stars
- 35k
- Forks
- 6.2k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description
Using Glide library and targeting API level 35 or newer the Google Play Console reports the warning
_Your application uses these deprecated APIs or parameters:_
`LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES`
The source of the error points to code merged from here:
`com.bumptech.glide.load.resource.DefaultOnHeaderDecodedListener$$ExternalSyntheticApiModelOutline9`
I can confirm the most recent version 5.0.5 is affected, I have not verified the presence of problematic code in any previous versions.
Contributor guide
Research direction
Start by examining com.bumptech.glide.load.resource.DefaultOnHeaderDecodedListener$$ExternalSyntheticApiModelOutline9 and the Glide 5.0.5 build output to confirm where LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES is referenced. Verify the change against an API 35-or-newer build and confirm that the Google Play Console warning is no longer reported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100