android
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user