简体   繁体   中英

Daydream service : make custom Daydream service as default

I created a Daydream service, and it's work perfectly, but I want to make it as default (don't need to go to Setting /screen saver...). Is there a way to set screen saver default package like setDefaultComponent ( packageName , serviceClassName )?

RetailService :零售服务

You won't be able to change the default daydream of User forcefully, rather; you can navigate the user to a particular setting page so that the user can make that decision. The default setting is something sensitive, and leaving the decision to the User is the only way and the right approach. For opening the particular setting page please refer below answer.

Opening daydream setting

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM