mirror of
https://gitee.com/openharmony/applications_app_samples
synced 2024-11-23 08:30:06 +00:00
update code
Signed-off-by: tantingting <tantingting5@huawei.com>
This commit is contained in:
commit
2d5a10839a
14
OAT.xml
14
OAT.xml
@ -912,6 +912,13 @@ Note:If the text contains special characters, please escape them according to th
|
||||
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/screenshots/device/play.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
|
||||
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/ohosTest/resources/base/media/icon.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
|
||||
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/check.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
|
||||
<filteritem type="filepath" name="code/BasicFeature/Ability/UniversalLink/screenshots/app_status.jpeg" desc="Provided by code/BasicFeature/Ability/UniversalLink"/>
|
||||
<filteritem type="filepath" name="code/BasicFeature/Ability/UniversalLink/screenshots/index.jpeg" desc="Provided by code/BasicFeature/Ability/UniversalLink"/>
|
||||
<filteritem type="filepath" name="code/BasicFeature/Ability/UniversalLink/entry/src/main/resources/base/media/background.png" desc="Provided by code/BasicFeature/Ability/UniversalLink"/>
|
||||
<filteritem type="filepath" name="code/BasicFeature/Ability/UniversalLink/entry/src/main/resources/base/media/foreground.png" desc="Provided by code/BasicFeature/Ability/UniversalLink"/>
|
||||
<filteritem type="filepath" name="code/BasicFeature/Ability/UniversalLink/entry/src/main/resources/base/media/startIcon.png" desc="Provided by code/BasicFeature/Ability/UniversalLink"/>
|
||||
<filteritem type="filepath" name="code/BasicFeature/Ability/UniversalLink/entry/src/main/resources/base/media/ic_arrow.svg" desc="Provided by code/BasicFeature/Ability/UniversalLink"/>
|
||||
<filteritem type="filepath" name="code/BasicFeature/Ability/UniversalLink/AppScope/resources/base/media/app_icon.png" desc="Provided by code/BasicFeature/Ability/UniversalLink"/>
|
||||
<filteritem type="filepath" name="code/SystemFeature/FullScreenStart/FullScreenStart/AppScope/resources/base/media/app_icon.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
|
||||
<filteritem type="filepath" name="code/SystemFeature/FullScreenStart/FullScreenStart/entry/src/main/resources/base/media/background.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
|
||||
<filteritem type="filepath" name="code/SystemFeature/FullScreenStart/FullScreenStart/entry/src/main/resources/base/media/foreground.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
|
||||
@ -934,13 +941,6 @@ Note:If the text contains special characters, please escape them according to th
|
||||
<filteritem type="filepath" name="code/BasicFeature/Print/ScanNapiInterfaceDemo/AppScope/resources/base/media/app_icon.png" desc="Provided by code/BasicFeature/Print/ScanNapiInterfaceDemo"/>
|
||||
<filteritem type="filepath" name="code/BasicFeature/Print/ScanNapiInterfaceDemo/entry/src/main/resources/base/media/foreground.png" desc="Provided by code/BasicFeature/Print/ScanNapiInterfaceDemo"/>
|
||||
<filteritem type="filepath" name="code/BasicFeature/Print/ScanNapiInterfaceDemo/sceenshots/scandemo.png" desc="Provided by code/BasicFeature/Print/ScanNapiInterfaceDemo"/>
|
||||
<filteritem type="filepath" name="code/BasicFeature/Ability/UniversalLink/screenshots/app_status.jpeg" desc="Provided by code/BasicFeature/Ability/UniversalLink"/>
|
||||
<filteritem type="filepath" name="code/BasicFeature/Ability/UniversalLink/screenshots/index.jpeg" desc="Provided by code/BasicFeature/Ability/UniversalLink"/>
|
||||
<filteritem type="filepath" name="code/BasicFeature/Ability/UniversalLink/entry/src/main/resources/base/media/background.png" desc="Provided by code/BasicFeature/Ability/UniversalLink"/>
|
||||
<filteritem type="filepath" name="code/BasicFeature/Ability/UniversalLink/entry/src/main/resources/base/media/foreground.png" desc="Provided by code/BasicFeature/Ability/UniversalLink"/>
|
||||
<filteritem type="filepath" name="code/BasicFeature/Ability/UniversalLink/entry/src/main/resources/base/media/startIcon.png" desc="Provided by code/BasicFeature/Ability/UniversalLink"/>
|
||||
<filteritem type="filepath" name="code/BasicFeature/Ability/UniversalLink/entry/src/main/resources/base/media/ic_arrow.svg" desc="Provided by code/BasicFeature/Ability/UniversalLink"/>
|
||||
<filteritem type="filepath" name="code/BasicFeature/Ability/UniversalLink/AppScope/resources/base/media/app_icon.png" desc="Provided by code/BasicFeature/Ability/UniversalLink"/>
|
||||
|
||||
</filefilter>
|
||||
<filefilter name="defaultPolicyFilter" desc="License文件头校验策略的过滤条件" >
|
||||
|
@ -16,18 +16,6 @@
|
||||
{
|
||||
"app": {
|
||||
"signingConfigs": [
|
||||
{
|
||||
"name": "default",
|
||||
"material": {
|
||||
"certpath": "C:/Users/gaoyanxue/.ohos/config/openharmony/default_UniversalLink_lP14qkurUM3Kv4eYUx_-mkXHlr-dj5_bZLkYx1Rnquc=.cer",
|
||||
"storePassword": "0000001AA784F0530BBCC704F8D62D69E78A3152C98B862FC4FFB0C3672ECC483D32356BC35FFE4D1BBB",
|
||||
"keyAlias": "debugKey",
|
||||
"keyPassword": "0000001A6F1E0E3B6D980FDC970EC38883712098E044C5861448485DB6C40C926CF658B9F958B1DF281A",
|
||||
"profile": "C:/Users/gaoyanxue/.ohos/config/openharmony/default_UniversalLink_lP14qkurUM3Kv4eYUx_-mkXHlr-dj5_bZLkYx1Rnquc=.p7b",
|
||||
"signAlg": "SHA256withECDSA",
|
||||
"storeFile": "C:/Users/gaoyanxue/.ohos/config/openharmony/default_UniversalLink_lP14qkurUM3Kv4eYUx_-mkXHlr-dj5_bZLkYx1Rnquc=.p12"
|
||||
}
|
||||
}
|
||||
],
|
||||
"products": [
|
||||
{
|
||||
|
@ -42,12 +42,12 @@ export default class EntryAbility extends UIAbility {
|
||||
return;
|
||||
}
|
||||
windowClass = data;
|
||||
let SystemBarProperties: window.SystemBarProperties = {
|
||||
let systemBarProperties: window.SystemBarProperties = {
|
||||
statusBarColor: '#f1f3f5',
|
||||
navigationBarColor: '#f1f3f5',
|
||||
};
|
||||
try {
|
||||
windowClass.setWindowSystemBarProperties(SystemBarProperties, (err: BusinessError) => {
|
||||
windowClass.setWindowSystemBarProperties(systemBarProperties, (err: BusinessError) => {
|
||||
const errCode: number = err.code;
|
||||
if (errCode) {
|
||||
hilog.error(DOMAIN, TAG,
|
||||
|
@ -46,12 +46,12 @@ export default class OpenLinkAbility extends UIAbility {
|
||||
return;
|
||||
}
|
||||
windowClass = data;
|
||||
let SystemBarProperties: window.SystemBarProperties = {
|
||||
let systemBarProperties: window.SystemBarProperties = {
|
||||
statusBarColor: '#f1f3f5',
|
||||
navigationBarColor: '#f1f3f5',
|
||||
};
|
||||
try {
|
||||
windowClass.setWindowSystemBarProperties(SystemBarProperties, (err: BusinessError) => {
|
||||
windowClass.setWindowSystemBarProperties(systemBarProperties, (err: BusinessError) => {
|
||||
const errCode: number = err.code;
|
||||
if (errCode) {
|
||||
hilog.error(DOMAIN, TAG,
|
||||
|
@ -1,6 +1,6 @@
|
||||
|测试功能|预置条件|输入|预期输出|测试结果|
|
||||
|--------------------------------|--------------------------------|--------------------------------|--------------------------------|--------------------------------|
|
||||
|拉起应用| 设备正常运行| |成功拉起应用|Pass|
|
||||
|拉起新的Ability| 位于UniversalLink页面 | 点击openLink(promise) 拉起应用按钮 | 成功拉起应用 |Pass|
|
||||
|拉起新的Ability| 位于UniversalLink页面 | 点击openLink(callback) 拉起应用按钮 | 成功拉起应用 |Pass|
|
||||
|测试功能|预置条件|输入|预期输出|是否手动|测试结果|
|
||||
|--------------------------------|--------------------------------|--------------------------------|--------------------------------|:------------------------------:|--------------------------------|
|
||||
|拉起应用| 设备正常运行| |成功拉起应用|否|Pass|
|
||||
|拉起新的Ability| 位于UniversalLink页面 | 点击openLink(promise) 拉起应用按钮 | 成功拉起应用 | 否 |Pass|
|
||||
|拉起新的Ability| 位于UniversalLink页面 | 点击openLink(callback) 拉起应用按钮 | 成功拉起应用 | 否 |Pass|
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user