OSDN Git Service

Fixing two small regressions in stack layout.
authorWinson <winsonc@google.com>
Wed, 25 Nov 2015 01:50:17 +0000 (17:50 -0800)
committerWinson Chung <winsonc@google.com>
Wed, 25 Nov 2015 01:59:00 +0000 (01:59 +0000)
commit7afe8c900244e37e70863f56a86bb27ead45f9a1
treef4abc2a6921923903cfdf2302a524b6ff5bb3dc9
parent54fdfaa3b50d38b51466ea5f5b12c5268a9c15f0
Fixing two small regressions in stack layout.

- Fixed issue with max scroll position being placed beyond the max
  scroll if the task height is larger than the stack height.
- Fixed issue with single task offsets being calculated incorrectly

Change-Id: I3cb1ecf2c13de7196bd68cd4f9d9f4f4736ed3ce
packages/SystemUI/src/com/android/systemui/recents/views/TaskStackLayoutAlgorithm.java