mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-20 15:14:04 -04:00
add log to text field
Signed-off-by: caocan <1532643766@qq.com> Change-Id: I6fb42291f4009e4a080e75c5809548c1f5982d55
This commit is contained in:
@@ -69,6 +69,7 @@ RenderTextField::RenderTextField()
|
||||
|
||||
RenderTextField::~RenderTextField()
|
||||
{
|
||||
LOGI("Destruction text field.");
|
||||
if (controller_) {
|
||||
controller_->Clear();
|
||||
controller_->RemoveObserver(WeakClaim(this));
|
||||
@@ -88,6 +89,7 @@ RenderTextField::~RenderTextField()
|
||||
// If soft keyboard is still exist, close it.
|
||||
if (HasConnection()) {
|
||||
#if defined(ENABLE_STANDARD_INPUT)
|
||||
LOGI("Destruction text field, close input method.");
|
||||
MiscServices::InputMethodController::GetInstance()->Close();
|
||||
#else
|
||||
connection_->Close(GetInstanceId());
|
||||
|
||||
Reference in New Issue
Block a user