diff --git a/product/tv/src/main/ets/common/pics/ic_form_mgr_back.png b/product/tv/src/main/ets/common/pics/ic_form_mgr_back.png deleted file mode 100644 index 6f20d2019cffce152a669769f894cd5d08dce322..0000000000000000000000000000000000000000 Binary files a/product/tv/src/main/ets/common/pics/ic_form_mgr_back.png and /dev/null differ diff --git a/product/tv/src/main/ets/common/pics/ic_wallpaper_form_manager.jpg b/product/tv/src/main/ets/common/pics/ic_wallpaper_form_manager.jpg deleted file mode 100644 index e655997f8a5954dc6e2e57813ec5d81a115698d5..0000000000000000000000000000000000000000 Binary files a/product/tv/src/main/ets/common/pics/ic_wallpaper_form_manager.jpg and /dev/null differ diff --git a/product/tv/src/main/ets/common/pics/ic_wallpaper_recent.jpg b/product/tv/src/main/ets/common/pics/ic_wallpaper_recent.jpg deleted file mode 100644 index e655997f8a5954dc6e2e57813ec5d81a115698d5..0000000000000000000000000000000000000000 Binary files a/product/tv/src/main/ets/common/pics/ic_wallpaper_recent.jpg and /dev/null differ diff --git a/product/tv/src/main/ets/common/pics/img_wallpaper_default.png b/product/tv/src/main/ets/common/pics/img_wallpaper_default.png deleted file mode 100644 index b6981bfa4cdd4a280606ce13cbcd133f4d67dccf..0000000000000000000000000000000000000000 Binary files a/product/tv/src/main/ets/common/pics/img_wallpaper_default.png and /dev/null differ diff --git a/product/tv/src/main/ets/default/layout/DesktopAppItem.ets b/product/tv/src/main/ets/default/layout/DesktopAppItem.ets index 19ce0608183a7d1b0e96f1e8075250b7a626a5e5..831145156e718c97400d4e08018394f53b1b7e42 100644 --- a/product/tv/src/main/ets/default/layout/DesktopAppItem.ets +++ b/product/tv/src/main/ets/default/layout/DesktopAppItem.ets @@ -145,9 +145,9 @@ export default struct DesktopAppItem { if (this.app.appName == '全部应用') { launcherAbilityManager.startLauncherAbility('MainAbility', 'com.ohos.applicationmanager', ''); } - if (this.app.appName == '风行') { - launcherAbilityManager.startLauncherAbility('com.funshion.launcher.EntryAbility', 'com.funshion.launcher', ''); - } + // if (this.app.appName == '风行') { + // launcherAbilityManager.startLauncherAbility('com.funshion.launcher.EntryAbility', 'com.funshion.launcher', ''); + // } } }) } diff --git a/product/tv/src/main/ets/default/layout/DesktopAppListLayout.ets b/product/tv/src/main/ets/default/layout/DesktopAppListLayout.ets index 4cb898c4c3052151149a59802eaaeb663e9ec3bb..94155885f08968297c822c27886c0a64a09bb971 100644 --- a/product/tv/src/main/ets/default/layout/DesktopAppListLayout.ets +++ b/product/tv/src/main/ets/default/layout/DesktopAppListLayout.ets @@ -45,10 +45,10 @@ export struct DesktopAppListLayout { app4.isFocus = false // 删除 - let app6: AppItemInfo = new AppItemInfo(); - app6.appName = "风行"; - app6.icon = '/common/pics/appList/icon_fengxing.png' - app4.isFocus = false + // let app6: AppItemInfo = new AppItemInfo(); + // app6.appName = "风行"; + // app6.icon = '/common/pics/appList/icon_fengxing.png' + // app4.isFocus = false let app5: AppItemInfo = new AppItemInfo() app5.appName = '全部应用' diff --git a/product/tv/src/main/ets/pages/EntryView.ets b/product/tv/src/main/ets/pages/EntryView.ets index d26a8c67afe629e555b7b0700405d0f0003e1d78..2dfb0f9d64f515591c3dbb8633f088ce88e4376d 100644 --- a/product/tv/src/main/ets/pages/EntryView.ets +++ b/product/tv/src/main/ets/pages/EntryView.ets @@ -141,44 +141,44 @@ struct EntryView { workSpaceWidth: ${this.workSpaceWidth}, workSpaceHeight: ${this.workSpaceHeight}, dockHeight: ${this.dockHeight}`); } - private subscribCE() { - let subscriber: CommonEvent.CommonEventSubscriber; //用于保存创建成功的订阅者对象,后续使用其完成订阅及退订的动作 - - //订阅者信息 - let subscribeInfo: CommonEvent.CommonEventSubscribeInfo = { - events: [ - "KEY_HOME" - ] - }; - - //订阅公共事件回调 - let SubscribeCallBack = async (err: BusinessError, data: CommonEvent.CommonEventData) => { - if (err) { - console.error("subscribe failed " + JSON.stringify(err)); - } else { - Log.showInfo(TAG, `subscribe data: ${JSON.stringify(data)}`) - - focusControl.requestFocus("DEFAULT_FOCUS_KEY") - - Log.showInfo(TAG, `SubscribeCallBack end`) - } - } - - //创建订阅者回调 - let CreateSubscriberCallBack = (err: BusinessError, commonEventSubscriber: CommonEvent.CommonEventSubscriber) => { - if (err) { - console.error("createSubscriber failed " + JSON.stringify(err)); - } else { - console.info("createSubscriber"); - subscriber = commonEventSubscriber; - //订阅公共事件 - CommonEvent.subscribe(subscriber, SubscribeCallBack); - } - } - - //创建订阅者 - CommonEvent.createSubscriber(subscribeInfo, CreateSubscriberCallBack); - } + // private subscribCE() { + // let subscriber: CommonEvent.CommonEventSubscriber; //用于保存创建成功的订阅者对象,后续使用其完成订阅及退订的动作 + // + // //订阅者信息 + // let subscribeInfo: CommonEvent.CommonEventSubscribeInfo = { + // events: [ + // "KEY_HOME" + // ] + // }; + // + // //订阅公共事件回调 + // let SubscribeCallBack = async (err: BusinessError, data: CommonEvent.CommonEventData) => { + // if (err) { + // console.error("subscribe failed " + JSON.stringify(err)); + // } else { + // Log.showInfo(TAG, `subscribe data: ${JSON.stringify(data)}`) + // + // focusControl.requestFocus("DEFAULT_FOCUS_KEY") + // + // Log.showInfo(TAG, `SubscribeCallBack end`) + // } + // } + // + // //创建订阅者回调 + // let CreateSubscriberCallBack = (err: BusinessError, commonEventSubscriber: CommonEvent.CommonEventSubscriber) => { + // if (err) { + // console.error("createSubscriber failed " + JSON.stringify(err)); + // } else { + // console.info("createSubscriber"); + // subscriber = commonEventSubscriber; + // //订阅公共事件 + // CommonEvent.subscribe(subscriber, SubscribeCallBack); + // } + // } + // + // //创建订阅者 + // CommonEvent.createSubscriber(subscribeInfo, CreateSubscriberCallBack); + // } build() { Column() {