This commit is contained in:
2020-07-16 23:44:17 +08:00
parent 4221cf486c
commit 262987fdaa
24 changed files with 743 additions and 744 deletions

View File

@@ -69,12 +69,11 @@ CLLMainLua.init = function()
end
function CLLMainLua.setAndroidStatusBar()
printe(SystemInfo.deviceName, "====", SystemInfo.deviceModel)
if CLPathCfg.self.platform ~= "Android" then
return
end
local mode = SystemInfo.deviceModel
if string.find(mode, "huawei") then
local mode = string.upper( SystemInfo.deviceModel)
if string.find(mode, "HUAWEI") then
AndroidStatusBar.setFlags(AndroidStatusBar.WINDOW_FLAG_FORCE_NOT_FULLSCREEN)
AndroidStatusBar.setColor(AndroidStatusBar.DEFAULT_BACKGROUND_COLOR)
else