本文介紹在開(kāi)源鴻蒙OpenHarmony 4.0系統(tǒng)下,去除鎖屏開(kāi)機(jī)后直接進(jìn)入界面的方法,觸覺(jué)智能Purple Pi OH鴻蒙開(kāi)發(fā)板演示,搭載了瑞芯微RK3566芯片,類樹(shù)莓派設(shè)計(jì),Laval官方社區(qū)主薦,已適配全新OpenHarmony5.0 Release系統(tǒng),
?
刪除鎖屏hap文件
進(jìn)入以下路徑,將對(duì)應(yīng)的鎖屏hap刪除:
/ido_ohos_4.1r_sdk/applications/standard/hap
刪除ScreenLock相關(guān)配置
進(jìn)入以下路徑,刪除與鎖屏相關(guān)的配置選項(xiàng):
/ido_ohos_4.1r_sdk/applications/standard/hap/Build.gn
代碼如下:
- ohos_prebuilt_etc("screenLock_hap") {
- source = "SystemUI-ScreenLock.hap"
- module_install_dir = "app/com.ohos.systemui"
- part_name = "prebuilt_hap"
- subsystem_name = "applications"
- }
group("hap") {
deps = [
":calendarData_hap",
":printspooler_hap",
":systemDialog_hap",
":updateapp_hap",
... ...
- "http://applications/standard/hap:screenLock_hap",
]
if (defined(product_name) && product_name == "watchos") {
deps -= [
":calendarData_hap",
":printspooler_hap",
... ...
- "http://applications/standard/hap:screenLock_hap",
]
}
}
產(chǎn)品簡(jiǎn)介
作為開(kāi)源鴻蒙OpenHarmony硬件方案的領(lǐng)跑者,觸覺(jué)智能堅(jiān)守開(kāi)源共創(chuàng)精神,Purple Pi OH鴻蒙開(kāi)發(fā)板源碼全開(kāi)放,持續(xù)為大家?guī)?lái)各種技術(shù)分享,產(chǎn)品簡(jiǎn)介:
- 支持OpenHarmony/Andriod/Linux
- 多操作系統(tǒng),兼容樹(shù)莓派排針;
- 瑞芯微RK3566芯片,四核A55處理器,
- 主頻1.8GHz,Mali G52-2EE GPU;
- 支持OpenGL/CL/Vulkan,8M ISP;
- 1T算力NPU,支持TensorFlow/Caffe/
- MXNet/PyTorch等深度學(xué)習(xí)框架;
- 支持1 x 千兆以太網(wǎng)、3 x USB2.0
- 1 x USB3.0、3?x?UART、2?x?SPI
- 2?x?I2C、28?x?GPIO、1?x?MIPI DSI
- 1 x MIPI CSI、1 x HDMI;
?
?
?