mirror of
https://github.com/openharmony/miscservices_inputmethod.git
synced 2026-07-22 08:25:20 -04:00
@@ -302,8 +302,7 @@ namespace MiscServices {
|
||||
}
|
||||
|
||||
KeyboardType *keyType = reply.ReadParcelable<KeyboardType>();
|
||||
if (keyType == nullptr)
|
||||
{
|
||||
if (keyType == nullptr) {
|
||||
return ERROR_STATUS_BAD_INDEX;
|
||||
}
|
||||
*retType = *keyType;
|
||||
|
||||
Reference in New Issue
Block a user