summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYuichi Biwa <yuichi.xa.biwa@sonymobile.com>2015-11-30 14:43:34 +0900
committerChet Haase <chet@google.com>2016-08-27 01:36:44 +0000
commitcb3e1237b5aacb03523a0f2e597326c2662877cf (patch)
tree2c1eb9bdd0c38501f9ece278b3d854dbaab5b706 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc2b9d558186f01716f643e1b095086fd608802d7 (diff)
ChooserActivity: Cannot start app that the icon overflows the layout
Symptom: When sharing an image from Album, ChooserActivity can be shown. But then the app to be located to the bottom part of the list may not be started even if user tap it. Root cause: ChooserActivity uses ResolverDrawerLayout. And ResolverDrawerLayout can display only some items on the list (known as "Collapse mode"). When the item clipping along the bottom edge is tapped by the user, ResolverDrawerLayout tries to expand the list and scroll it to a better position, instead of starting an application. In this problem case, ResolverDrawerLayout continues to try to expand the list whenever tapping, so an application will never start. Solution: Change a condition so that mOpenOnClick becomes true only when the list has been collapsed (mCollapseOffset > 0). Bug: 30153542 Change-Id: I576fb6c8b6a91d79c1e0d46d069146779f4dbd17 (cherry picked from commit 4f3a843ea9b6ffe2e29e6625ffb3d87fbf143623)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions