OSDN Git Service

Stop clearing focus when snapping to a new workspace page.
authorTony Wickham <twickham@google.com>
Sat, 31 Oct 2015 01:04:48 +0000 (18:04 -0700)
committerTony Wickham <twickham@google.com>
Sat, 31 Oct 2015 01:04:48 +0000 (18:04 -0700)
commit04e2c9ef5663262fc9dd08ffc4b59fe305a017f3
tree5eff1f9513939b189682bb305bd5d3cc49d74467
parent4530aca912c7b4942d3cbc63fe6997a1615d7b0a
Stop clearing focus when snapping to a new workspace page.

Clearing the focus was causing the first child in the new page to
immediately take focus, which caused FocusIndicatorView jank when
using a keyboard.

Bug: 25256728
Change-Id: I5ab31ebc3fe370d7ac9e9792b30dab3467023738
src/com/android/launcher3/FocusHelper.java
src/com/android/launcher3/PagedView.java