mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-23 06:40:06 +00:00
Signed-off-by: ma-shaoyin <mashaoyin1@huawei.com>
Changes to be committed:
This commit is contained in:
parent
e1737346e4
commit
dc427e5277
@ -25,8 +25,8 @@ namespace OHOS {
|
||||
static bool SetDefaultIme(int32_t userId, const std::string &imeName);
|
||||
static std::string GetDefaultIme(int32_t userId);
|
||||
|
||||
static constexpr const char *DEFAULT_PACKAGE_NAME;
|
||||
static constexpr const char *DEFAULT_ABILITY_NAME;
|
||||
static constexpr const char *DEFAULT_PACKAGE_NAME = "com.example.kikakeyboard";
|
||||
static constexpr const char *DEFAULT_ABILITY_NAME = "ServiceExtAbility";
|
||||
private:
|
||||
static const char *DEFAULT_IME_KEY;
|
||||
static constexpr int CONFIG_LEN = 128;
|
||||
|
@ -19,8 +19,6 @@
|
||||
namespace OHOS {
|
||||
namespace MiscServices {
|
||||
const char *ParaHandle::DEFAULT_IME_KEY = "persist.sys.default_ime";
|
||||
constexpr const char *ParaHandle::DEFAULT_PACKAGE_NAME = "com.example.kikakeyboard";
|
||||
constexpr const char *ParaHandle::DEFAULT_ABILITY_NAME = "ServiceExtAbility";
|
||||
bool ParaHandle::SetDefaultIme(int32_t userId, const std::string &imeName)
|
||||
{
|
||||
if (userId != main_userId) {
|
||||
|
Loading…
Reference in New Issue
Block a user