OSDN Git Service

Fix wrong inset bounds
authorJorim Jaggi <jjaggi@google.com>
Tue, 5 Apr 2016 06:54:30 +0000 (23:54 -0700)
committerJorim Jaggi <jjaggi@google.com>
Tue, 5 Apr 2016 06:54:30 +0000 (23:54 -0700)
commitf15a7351a0d5c79a46ff316a118dc000e9d6a8bc
treee567d5a9fd54ef94095d198b7af06801efaaddf5
parent5ba429c40aa4f895f8f5d668f3549d55ee1979f6
Fix wrong inset bounds

When passing tempTaskBounds != null but tempInsetBounds == null,
we ended up using the stack bounds to calculate the insets, which
is really wrong. First fallback onto tempTaskBounds, and then the
stack bounds.

Bug: 27887505
Change-Id: I66ee0da1415a67af824f4c63b56644d590728813
services/core/java/com/android/server/am/ActivityStackSupervisor.java