Fun requireFragmentManager has been renamed to getParentFragmentManager

Open Beginner friendly
#11,984 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

@xuenhua is already working on this.

Since Dec 1, 2026.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
82/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
android, kotlin
Domain
mobile

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

unconfirmed
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
  1. clone the code
  2. build the project
  3. 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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from thunderbird/thunderbird-android

All issues in thunderbird/thunderbird-android

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.