Merge "Applying lifecycle effect when changing TaskFragment bounds" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7da918123f
@@ -462,6 +462,10 @@ class WindowOrganizerController extends IWindowOrganizerController.Stub
|
||||
container.onRequestedOverrideConfigurationChanged(c);
|
||||
}
|
||||
effects |= TRANSACT_EFFECTS_CLIENT_CONFIG;
|
||||
if (windowMask != 0 && container.isEmbedded()) {
|
||||
// Changing bounds of the embedded TaskFragments may result in lifecycle changes.
|
||||
effects |= TRANSACT_EFFECTS_LIFECYCLE;
|
||||
}
|
||||
}
|
||||
if ((change.getChangeMask() & WindowContainerTransaction.Change.CHANGE_FOCUSABLE) != 0) {
|
||||
if (container.setFocusable(change.getFocusable())) {
|
||||
|
||||
Reference in New Issue
Block a user