commit | d5f2cd95f20f8deb12c9b99b4d08d6a4b39cb10f | [log] [tgz] |
---|---|---|
author | Chris Li <lihongyu@google.com> | Fri Oct 23 15:32:54 2020 -0700 |
committer | Chris Li <lihongyu@google.com> | Sat Oct 24 12:24:44 2020 -0700 |
tree | c21c273222881575218955753d1e62096261fbaa | |
parent | da97d53cf11686540079bb239fb1c8e8c4936104 [diff] |
Clear the previous CompatDisplayInsets when new activity is launched When a new activity is launched from Task letterbox activity, it will first use the existing Task bounds, so we need to make sure the size compat for that bounds is cleared when it requests orientation. Bug: 170725334 Bug: 155431879 Test: atest WmTests:SizeCompatTests Test: manual: adb shell wm set-ignore-orientation-request true Change-Id: I86a206be030c3c250fb40590e7515e75620eaaf7