android / android/tv-samples

Back stack bug in PreferenceScreen (Android Pie or higher)

Open
#28 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
1.3k
Forks
396
PR merge metrics
No merged PRs in 30d

Description

1. click "Settings Examples"
2. click "Wi-Fi"
3. click back key

It suppose back to the SettingsExampleFragment, but it back to MainFragment in Android Pie and Android Q. The lower android version is normal.

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. First reproduce the flow on Android Pie or Q: open Settings Examples, open Wi-Fi, and press Back; then trace the PreferenceScreen navigation used by the sample. Done means Back returns to SettingsExampleFragment rather than MainFragment, while lower Android versions remain unaffected.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.