commit | af044aefd99a3452539a409fec596ee312aa0990 | [log] [tgz] |
---|---|---|
author | Matt Pietal <mpietal@google.com> | Fri Mar 29 06:53:53 2019 -0400 |
committer | Matt Pietal <mpietal@google.com> | Mon Apr 01 08:52:42 2019 -0400 |
tree | 739b7a33d96eabd237c9d489ce900db656d147e2 | |
parent | bc9f5a518d4f3c073bc0caf161deed41ee25f3ac [diff] |
Sharesheet - Make UI more responsive to touches when loading ListView will try to prevent errant touches while data is being loaded. With Sharesheet, this can happen quite frequently so 1: eliminate unnecessary notifyDataSetChanged calls and 2: batch up the remaining calls and release a single call on an interval. Bug: 126568576 Test: atest ChooserActivityTest && atest ResolverActivityTest Change-Id: I3207f207910a0c9223a1b562243d9db612f93b0a