chore(android): update use of deprecated `setStatusBarColor` `setNavigationBarColor` APIs
- Dominant language
- Pascal
- Stars
- 534
- Forks
- 143
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 113
Description
Your app uses deprecated APIs or parameters for edge-to-edge
One or more of the APIs you use or parameters that you set for edge-to-edge and window display have been deprecated in Android 15. Your app uses the following deprecated APIs or parameters:
* `android.view.Window.setStatusBarColor`
* `android.view.Window.setNavigationBarColor`
These start in the following places:
* `com.google.android.material.bottomsheet.BottomSheetDialog.onCreate`
* `com.google.android.material.internal.EdgeToEdgeUtils.applyEdgeToEdge`
* `com.google.android.material.sidesheet.SheetDialog.onCreate`
To fix this, migrate away from these APIs or parameters.
- from Play Store / Android vitals overview
Contributor guide
Research direction
Start by tracing the Android code or dependency configuration that reaches com.google.android.material.bottomsheet.BottomSheetDialog.onCreate, EdgeToEdgeUtils.applyEdgeToEdge, and sidesheet.SheetDialog.onCreate. Check the Android 15 edge-to-edge migration guidance and verify that Play Store no longer reports setStatusBarColor or setNavigationBarColor usage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile-dev
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100