Fixed
Status Update
Comments
il...@google.com <il...@google.com> #2
Hi Ed, Thank you so much for these suggestions. I've been reviewing them and merging them in. Hopefully it should be live. I've included a thank you note too in the article.
al...@google.com <al...@google.com>
ap...@google.com <ap...@google.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
jb...@google.com <jb...@google.com> #4
This has been fixed internally and will be in the AppCompat 1.6.0-rc01
release.
na...@google.com <na...@google.com> #5
This bug was linked in a change in the following release(s):
androidx.appcompat:appcompat:1.6.0-rc01
na...@google.com <na...@google.com> #6
This bug was linked in a change in the following release(s):
androidx.appcompat:appcompat:1.7.0-alpha01
Description
Component used: Activity
Version used: 1.5.0-alpha05
Devices/Android versions reproduced on: Android 11
It appears that AppCompatActivity mistakenly doesn't set the ViewTreeOnBackPressedDispatcherOwner even though its superclass ComponentActivity does, looks like a copy-paste bug:
ComponentActivity:
AppCompatActivity: