OSDN Git Service

Fix bugs introduced in ChooserActivity
authorAdam Powell <adamp@google.com>
Wed, 14 Oct 2015 20:10:18 +0000 (13:10 -0700)
committerAdam Powell <adamp@google.com>
Wed, 14 Oct 2015 20:10:18 +0000 (13:10 -0700)
commit4eb9871ead5fa5f6b86bacee3a18d9ad52ad6d32
tree706db7e2f686c1f9b68ac916bb6e809ce1da1da3
parent7013f0c8f2adcc14acd052f4066827ad31f17195
Fix bugs introduced in ChooserActivity

* Wait to start animations until all state has been initialized, as
  the process of starting an Animator will set initial values,
  triggering other events relying on the configured state.

* Correctly track underlying item indexes for columns.

* Do not over-extend the ResolverDrawerLayout when multiple rows
  animate in.

Bug 24926885
Bug 24928706

Change-Id: I4772e1a0ba79b17b5dc19c778f3ef0cb5200c533
core/java/com/android/internal/app/ChooserActivity.java