OSDN Git Service

Update visibility and config at the same time
authorAndrii Kulian <akulian@google.com>
Thu, 24 May 2018 00:52:48 +0000 (17:52 -0700)
committerAndrii Kulian <akulian@google.com>
Fri, 25 May 2018 02:48:36 +0000 (19:48 -0700)
commitf4479eef64349953665b081e73f9876766076bda
tree3576e5dd1bce2960dc3143f4f549f804af120904
parent3dcdf64cf6db1146eeecd2f552e73549682ea330
Update visibility and config at the same time

Update visibility, orientation and config together to ensure that
only activities that are actually visible can affect the orientation.

Bug: 76011287
Test: ActivityManagerAppConfigurationTests
Change-Id: Icdafedf540391d186f5dbe250b2b69d36742a26c
services/core/java/com/android/server/am/ActivityStack.java
services/core/java/com/android/server/am/ActivityStackSupervisor.java