OSDN Git Service

Fixing regression in folder positioning.
authorWinson <winsonc@google.com>
Fri, 22 Jul 2016 23:35:37 +0000 (16:35 -0700)
committerWinson Chung <winsonc@google.com>
Sat, 23 Jul 2016 01:15:08 +0000 (01:15 +0000)
commitfadbe8ffbd90eb36c782a76a8b1a76a26dba288e
treec614e187e4b29b1466688d58d5ac17e999d1b34e
parent68f98ac102a2719203883d87add6483797b516da
Fixing regression in folder positioning.

- When we had the search bar, the workspace padding always
  accounted for the search bar (and therefor drop target bar) height
  when the folder opened.  Now that there is no padding on the top, we
  should offset the bar whenever possible to ensure that the drop target
  bar is visible.

Bug: 30110595
Change-Id: Ia9a8581981c777f2507b6bd880994a3dcfd52c39
src/com/android/launcher3/DeviceProfile.java
src/com/android/launcher3/folder/Folder.java