Fun requireFragmentManager has been renamed to getParentFragmentManager
Maintainers usually reply within 2 days
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 82/100
Research direction
The warning points to feature/settings/import/src/main/kotlin/app/k9mail/feature/settings/import/ui/SettingsImportFragment.kt, line 260. Replace the deprecated requireFragmentManager() call with getParentFragmentManager(), then build the project and confirm the warning is gone.
Written by the indexing model from the issue text.
Description
Checklist
- I have used the search function to see if someone else has already submitted the same bug report.
- I will describe the problem with as much detail as possible.
App
Thunderbird for Android
App version
28.0
Where did you get the app from?
None
Android version
12
Device model
No response
Steps to reproduce
- clone the code
- build the project
- got the warning: w: file:///thunderbird-android/feature/settings/import/src/main/kotlin/app/k9mail/feature/settings/import/ui/SettingsImportFragment.kt:260:29 'fun requireFragmentManager(): FragmentManager' is deprecated. Deprecated in Java.
Expected behavior
Using a method that isn’t deprecated.
Actual behavior
Deprecated method warning
Logs
No response
- Dominant language
- Kotlin
- Stars
- 14.3k
- Forks
- 2.9k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 63
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from thunderbird/thunderbird-android
-
The changes in Monogram, Image and Icon should not be displayedPossibly taken @chesh-ire claimed this 5 days ago. Openunconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
thunderbird/thunderbird-android#11953 · 3 comments · 1 reaction ·
Maintainers usually reply within 2 days
-
unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
thunderbird/thunderbird-android#11893 · 1 comment ·
Maintainers usually reply within 2 days
-
unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
thunderbird/thunderbird-android#11791 · 1 comment ·
Maintainers usually reply within 2 days
-
Search results screen is completely blank when a search finds no messagesMay be free again @JustNotesa claimed this 115 days ago, and no pull request is open. Openunconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
thunderbird/thunderbird-android#11377 · 2 comments ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
thunderbird/thunderbird-android#11300 ·
Maintainers usually reply within 2 days
All issues in thunderbird/thunderbird-android
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
The engine's "loaded, but had errors" message leaves out which library and line each error is inOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
cqframework/clinical_quality_language#1980 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Droid-Deck/DroidDeck#3496 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AChep/keyguard-app#1709 · 1 comment ·
Maintainers usually reply within 11 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
kushagrasinghx/BitChord#2100 ·
Maintainers usually reply within 5 days