diff --git a/smartwatchmaplibrary/src/main/resources/base/element/float.json b/smartwatchmaplibrary/src/main/resources/base/element/float.json deleted file mode 100644 index 33ea22304f9b1485b5f22d811023701b5d4e35b6..0000000000000000000000000000000000000000 --- a/smartwatchmaplibrary/src/main/resources/base/element/float.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "float": [ - { - "name": "page_text_font_size", - "value": "50fp" - } - ] -} diff --git a/smartwatchmapsample/src/main/ets/entryability/EntryAbility.ets b/smartwatchmapsample/src/main/ets/entryability/EntryAbility.ets index 0e9bb89f28e7369dac5d67046f11f45e4b9fd224..964b65571d1d51d3d2e8eeffb408c08870d9238e 100644 --- a/smartwatchmapsample/src/main/ets/entryability/EntryAbility.ets +++ b/smartwatchmapsample/src/main/ets/entryability/EntryAbility.ets @@ -32,7 +32,8 @@ export default class EntryAbility extends UIAbility { windowStage.loadContent('pages/Index', (err) => { if (err.code) { - hilog.error(0x0000, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err) ?? ''); + hilog.error(0x0000, 'testTag', 'Failed to load the content. Cause: %{public}s', + JSON.stringify(err.message) ?? ''); return; } hilog.info(0x0000, 'testTag', 'Succeeded in loading the content.'); diff --git a/smartwatchmapsample/src/main/ets/entrybackupability/EntryBackupAbility.ets b/smartwatchmapsample/src/main/ets/entrybackupability/EntryBackupAbility.ets index b1e212947256c5533c7b06285a597c94f840a6e3..406ff12251e9fc23758355dc48ee8c9deb631b7e 100644 --- a/smartwatchmapsample/src/main/ets/entrybackupability/EntryBackupAbility.ets +++ b/smartwatchmapsample/src/main/ets/entrybackupability/EntryBackupAbility.ets @@ -22,6 +22,6 @@ export default class EntryBackupAbility extends BackupExtensionAbility { } async onRestore(bundleVersion: BundleVersion) { - hilog.info(0x0000, 'testTag', 'onRestore ok %{public}s', JSON.stringify(bundleVersion)); + hilog.info(0x0000, 'testTag', 'onRestore ok'); } } \ No newline at end of file diff --git a/smartwatchmapsample/src/main/resources/base/element/float.json b/smartwatchmapsample/src/main/resources/base/element/float.json deleted file mode 100644 index 33ea22304f9b1485b5f22d811023701b5d4e35b6..0000000000000000000000000000000000000000 --- a/smartwatchmapsample/src/main/resources/base/element/float.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "float": [ - { - "name": "page_text_font_size", - "value": "50fp" - } - ] -}