XCLUB-COOL STUFF AROUND YOU

 找回密码
 Register
查看: 62|回复: 2
打印 上一主题 下一主题

On Android Q, your default Notification Assistant app can manage and adjust other apps' notification..

[复制链接]

3005

主题

5万

帖子

5万

积分

Super CP

Crazy TechnologyTech Fans2020Eid PartyHot PartyPOP OUTChocolate Day MedalTeddy Day MedalACTIVE STARphotographerssign star1sign star2sign star3post star1post star2post star3sign star4post star4X'Club badge exclusive for Indiapost star5sign star5

跳转到指定楼层
#1
发表于 2019-05-10 22:56:32 来自手机 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
[br] [br]Diving into a new Android beta version's settings and sub-menus is fun. You often stumble on something that leaves you scratching your head, wondering whether it's new, and confused about what it's supposed to do. That's the case with the new Notification Assistant setting on Android Q, and upon closer inspection, this little menu may hide some very interesting changes to notification management that we didn't expect.[br][br][br]First, let's talk about what we have now. Under Settings ] Apps & notifications ] Notifications, there's a new Notification Assistant option that lets you pick which app you'd like to behave as your... you guessed it... notification assistant. The only option available is Android's default Notification Assistant. That's all good and redundant, until you try disabling then re-enabling it. You get the pop-up shown below that explains the powers that it has: read your notifications, modify or dismiss them, trigger action buttons in them, and turn Do Not Disturb on or off. That is a lot of control given to one app.[br] [br][br] [br][br] [br]The immediate inference here is that you'll be able to pick a third-party app as your Notification Assistant, and that is indeed confirmed in the API, with one clear limitation: only one app can play this role at any time, so you can't have multiple apps managing others freely. The default service you pick can read other apps' notifications, but more importantly, has the ability to act on them and adjust them. An example shown in the video below from developer joaomgcd (of Tasker and AutoNotification fame) shows how he can use his app to "inject" a third button in an existing notification.[br][br]The implications are quite vast, especially for developers who make notification manager apps. Think of Joao's AutoNotification "hack" to show a Read button in Gmail's notification. Currently, his app has to hijack the Gmail notification, duplicate it and add the new button to it, then show that new notification to you. It looks almost the same, but it's coming from his app, not Gmail — which you can tell when you tap and hold to go to the app info. With this change in Android Q, it would technically be possible for Joao to leave the Gmail notification and just add the button to it (obviously if you set his app as your Notification Assistant).[br][br]Other apps whose aim is to simplify your notifications or help you manage them, such as Daywise or Leaf, could have more control over your incoming notifications, also without resorting to the duplication process.[br][br]With Pie and now Q, we've seen Google exhibit some multiple-personality disorder symptoms: one change gives developers more power, another takes something away that they've been using for years. This one definitely falls in the "more customization" bin, and I wonder if the removal of unofficial API support lead to its creation. I've previously come across many apps that do questionable things with notifications, so if providing an official API to do them can curb that abuse, it'll be more than welcome.[br][br]We'll keep an eye on this new Notification Assistant, and hope to see some creative uses from developers to improve the hassle that is the ping-ping-ping-ping-ping of our daily lives.[br][br]As XDA reports, Google has removed the public API for the Notification Assistant — both documentation pages linked above aren't there anymore. XDA also spoke to Googlers at I/O who confirmed that this feature wasn't intended for the public. It's such a shame, because the promise of this API was huge and having a third-party option other than Google's own would have allowed developers and users to do unexpected things with that level of access to notifications. But it's understandable that Google wouldn't want to open this up for any dev, as it would be easily open for abuse.[br][br][br][br]#Infinix_India......
回复

使用道具 举报

5051

主题

3万

帖子

3万

积分

Jade Diamond LV37

Tech Fans2020Happy children's dayEid PartyACTIVE STARXClub Best Look20MPrimary beta testerXCLUB TOP FAN 2019post star1post star2post star3post star4post star5sign star1sign star2sign star3sign star4X'Club badge exclusive for Indiasign star5

#2
发表于 2019-05-10 23:30:52 来自手机 | 只看该作者
Good share.....
回复

使用道具 举报

2万

主题

18万

帖子

20万

积分

Super CP

couple medalStay HomeHappy Mother's DaySmileHappy children's dayEid PartyBest ReviewsX'Club badge exclusive for NigeriaXclub Kolpost star1sign star1post star2sign star2PL KINGTech Fans2020Weekly Tech Star2020Daily Check-inCrazy Technology

#3
发表于 2019-05-11 18:12:47 来自手机 | 只看该作者
Nice share brother
回复

使用道具 举报

高级模式
B Color Link Quote Code Smilies |上传

本版积分规则

Infinix Official Website|Infinix official mall|infinix Note 4|XCLUB-COOL STUFF AROUND YOU

GMT+8, 2025-04-30 21:13 , Processed in 0.037930 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表