OSDN Git Service

Can not mark the same content of browser page after copy
authorPeter Nilsson <peter7.nilsson@sonymobile.com>
Thu, 7 Feb 2013 13:31:25 +0000 (14:31 +0100)
committerJohan Redestig <johan.redestig@sonymobile.com>
Wed, 10 Apr 2013 16:50:10 +0000 (18:50 +0200)
commit2b3cef0dd74cb9470e5387b015ee7a13af1fff7b
tree4bbe74a89a1762482ff92f25b06014091c243915
parent212af6dbd7b002bdfcc869fc0ee06d5d3d711fd6
Can not mark the same content of browser page after copy

Marking a text on the web page and then press copy works,
but trying to mark the same text again does not work.
The reason for this is that the selection never gets
cleared in webkit.
The fix, calling cleaSelection in the onDestroyActionMode.
Also added clearSelection when getting an
onConfigurationChange.

Change-Id: I59b384cb5441b6a3a05007ea7e77f9699889a87c
core/java/android/webkit/SelectActionModeCallback.java
core/java/android/webkit/WebViewClassic.java