Hi Martin
You think you could add an option to "Quick Settings Tile Selected" trigger to react on long press of tile?
Long Click on Tile
Moderator: Martin
Re: Long Click on Tile
The API provided by Google only allows to handle regular clicks but no long clicks. Maybe it's some kind of security mechanism so that a long click always jumps to the app info page of the app.
Regards,
Martin
Regards,
Martin
Re: Long Click on Tile
Martin, I believe that you are talking about clicking a notification. With quick tiles long pressing takes you to the settings screen. In CM13 you can create your own custom tiles. It never worked for me tgough when I was on cm13 ROM.
Re: Long Click on Tile
I'm confused
I was talking about custom quick settings tiles on stock Android 7. Long-clicking a tile takes you to the app info page (at least on the Google 7.1 ROM I'm using right now).
The CM API for QS tiles allows to handle long clicks so an extension for CM ROMs would theoretically be possible.

The CM API for QS tiles allows to handle long clicks so an extension for CM ROMs would theoretically be possible.
Re: Long Click on Tile

In Android 6, we can create custom tiles with "Send Broadcast" action and set extra: putString("onLongClickUri", "intent:#Intent;action=automagic.MyTile1Longclick;end").
I thought that was possible to implement something similar for 7.1.
Thanks.