简体   繁体   English

如何在Android Wear通知中删除默认操作(BlockApp)?

[英]How to remove default action(BlockApp) in android wear notification?

I am working on Android wear notification. 我正在处理Android磨损通知。 I am able to add action. 我能够添加动作。 Everything works fine. 一切正常。 But I wanted to avoid the default action(Block app) which you find it as the last action item in all android wear notification in the notification. 但我想避免使用默认动作(阻止应用程序),您将其作为通知中所有Android Wear通知中的最后一个动作项。

How do I remove the default action? 如何删除默认操作?

You can't do that. 你不能那样做。 They introduced the feature on Android 5.0.1 and it's embedded into the notification mechanism. 他们在Android 5.0.1上引入了该功能,并将其嵌入到通知机制中。

As per wear-user experience, it should be there to grant the user a grade of control on the applications those try to push content to the Context Stream. 根据磨损用户的经验,应该为用户授予对尝试将内容推送到上下文流的应用程序的控制级别。 Imagine a scenario where an application continues to spam the stream; 设想一个场景,一个应用程序继续向流发送垃圾邮件; the user would definitely appreciate the possibility to prevent it. 用户肯定会喜欢防止它的可能性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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