Skip to content
Commit 130d94fe authored by Evan Rosky's avatar Evan Rosky
Browse files

Switch fullscreen policy to use top activity instead of root

To maintain the status-quo, we need to use top activity instead
of the root activity when resolving fullscreen policy at the
task level.

The original intent behind using root activity was to reduce
jarring size-changes when users navigated between activities of
an app; however, there are apps in the wild which force one
orientation in their root activity and then force a different
orientation in subsequent activities. This caused nested
letterboxing which is obviously less desirable.

Bug: 122683367
Test: Updated TaskRecordTests. Verified that Netflix app doesn't
      have nested letterboxes.

Change-Id: I876c1e0c062b9d71412d58870d9ed917cf02ef71
parent cf1cf81c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment