OSDN Git Service

Let the framework handle long clicks
authorAlan Viverette <alanv@google.com>
Fri, 23 Oct 2015 14:49:23 +0000 (10:49 -0400)
committerAlan Viverette <alanv@google.com>
Fri, 23 Oct 2015 14:49:23 +0000 (10:49 -0400)
commit8fa75e03f74f7dbca3368dd8877d9f94e6335f18
tree65559afdb846d954fb717e4ba5236acc9a4f39ab
parentbf103148198b2417c7e8fc536a276407cf6132a1
Let the framework handle long clicks

If we manually propagate long click events, the framework can't include
coordinate information and we'll only be able to show a modal dialog.
Since the default long-click behavior is to show the context menu, just
let the framework handle it.

Bug: 25214386
Change-Id: I32e14b326ac91cc5a9c2bf7581325daaba34298e
src/com/android/settings/wifi/AccessPointPreference.java