EMUI 8.0 does not support Themes Engine.
Path: unlock/lockscreen/manifest.xml
In the original engine, <Var> does not support the const attribute. In the new engine, this attribute is supported. The setting of const in <Var> may affect the display effect of the lock screen.
In the new engine, const is set to false by default.
Example:
<Var name="bj" expression="0" const="true"/>
Path: unlock/lockscreen/manifest.xml
In the original engine, <Time> does not support the space attribute. In the new engine, this attribute is supported. The setting of space in <Time> may affect the display effect of the lock screen.
In the new engine, space is set to 0 by default.
Example:
<Time align="center" space="20" src="time/number.png" x="540" y="#screen_height/2"/>
Path: unlock/lockscreen/manifest.xml
The original engine does not support the vibrate attribute, but the new engine supports it. If you set this attribute to true, this will affect the display effect of the lock screen.
In the original engine, vibrate is set to false by default.
Example:
<Lockscreen version="1" frameRate="30" vibrate="true" displayDesktop="true" screenWidth="1080" >
Path: unlock/lockscreen/manifest.xml
For tighter security, Themes Engine now verifies action, package, and class of IntentCommand for app opening. If you need to add the app opening function to your theme package, ensure that these attributes in your package are consistent with the Themes Engine XML syntax specification.
action="android.media.action.STILL_IMAGE_CAMERA_SECURE"
action="android.intent.action.DIAL"
Example: starting WeChat
<IntentCommand action="android.intent.action.MAIN" package="com.tencent.mm" class="com.tencent.mm.ui.LauncherUI" />