OSDN Git Service

Only simulate the first click if "Always use" button is available
authorAmith Yamasani <yamasani@google.com>
Wed, 23 Oct 2013 23:05:29 +0000 (16:05 -0700)
committerAmith Yamasani <yamasani@google.com>
Wed, 23 Oct 2013 23:05:29 +0000 (16:05 -0700)
commit34d41e9a85f4e2e092b5eb8c7fa4554254650fe4
treed3a89e728d7739a2850dcdbc296dc34c7cddd024
parent02e4c3a1d870be7ced0f70f460d718924f6e348f
Only simulate the first click if "Always use" button is available

This prevents Keep from being selected automatically when shown in the Share dialog
if Keep was previously chosen by the user as Always use for a send action.
This was a regression introduced by the new intent disambig behavior.

Bug: 11294904
Change-Id: I6745060a8ee0a6d680e657b55ee46aaec27bbacb
core/java/com/android/internal/app/ResolverActivity.java