mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-19 17:43:35 -04:00
Description:fix reviewBot
Match-id-614e063e6f6b8476f2ff11c60eb88a3366849156
This commit is contained in:
@@ -28,8 +28,8 @@ namespace OHOS {
|
||||
namespace DistributedHardware {
|
||||
namespace DistributedInput {
|
||||
namespace {
|
||||
const char* SPLIT_LINE = "|";
|
||||
const char* SPLIT_COMMA = ",";
|
||||
const char* const SPLIT_LINE = "|";
|
||||
const char* const SPLIT_COMMA = ",";
|
||||
}
|
||||
WhiteListUtil::WhiteListUtil()
|
||||
{
|
||||
@@ -49,7 +49,7 @@ int32_t WhiteListUtil::Init(const std::string &deviceId)
|
||||
{
|
||||
DHLOGI("start, deviceId=%s", GetAnonyString(deviceId).c_str());
|
||||
ClearWhiteList();
|
||||
const char* whiteListFilePath = "/etc/dinput_business_event_whitelist.cfg";
|
||||
const char* const whiteListFilePath = "/etc/dinput_business_event_whitelist.cfg";
|
||||
|
||||
if (deviceId.empty()) {
|
||||
// device id error
|
||||
|
||||
Reference in New Issue
Block a user