fix pointer stability issue

Signed-off-by: illybyy <baoyayong@huawei.com>
This commit is contained in:
illybyy
2022-05-25 16:44:16 +08:00
parent d626889e9d
commit 9c728668ca
@@ -91,7 +91,7 @@ namespace MiscServices {
sptr<InputMethodSystemAbilityProxy> mImms;
sptr<ImsaDeathRecipient> deathRecipient_;
sptr<InputMethodAgentProxy> mAgent;
OnTextChangedListener *textListener;
sptr<OnTextChangedListener> textListener;
InputAttribute mAttribute;
std::u16string mTextString;
int mSelectOldBegin = 0;