I ended up using a Notification on Statusbar Displayed condition to toggle the speakerphone via an action button on an "on-going call" notification so the package name wasn't necessary anymore.
Thanks for the code though, it will definitely prove to be useful in the future!
Search found 76 matches
- 14 Jun 2019 22:22
- Forum: User Help / Bug Reports
- Topic: Launch Default Apps
- Replies: 2
- Views: 7526
- 14 Jun 2019 21:21
- Forum: User Help / Bug Reports
- Topic: grayscale tiles
- Replies: 7
- Views: 17597
Re: grayscale tiles
If you want to exit out of quick settings and back into the app, just put an additional back() function into your Control UI script.
- 13 Jun 2019 21:15
- Forum: User Help / Bug Reports
- Topic: Sleep vs Wait
- Replies: 7
- Views: 17010
Re: Sleep vs Wait
I know this thread is pretty old, but you should be able to just use a sleep() function in the Control UI action. Another way would be to create another flow with a Sleep action and then use the Execute Flows action with the Wait for called flows to finish option checked.
- 13 Jun 2019 20:56
- Forum: User Help / Bug Reports
- Topic: Launch Default Apps
- Replies: 2
- Views: 7526
Launch Default Apps
Is there a way I can launch the assigned default apps? Specifically, I would like to open my default Phone app to go back to the calling screen after leaving the app during the middle of a call. I would prefer doing it this way since I won't have to update the corresponding Launch App action as well...
- 13 Jun 2019 09:52
- Forum: Feature Requests
- Topic: Disable Individual Triggers Within a Flow
- Replies: 7
- Views: 20462
Disable Individual Triggers Within a Flow
This will be useful when you want to disable a trigger temporarily, whether it's because it is no longer supported due to permission changes or you don't have root access currently. Without this, you'd usually have to go into a list of already present triggers and uncheck them and go back into the l...
- 13 Jun 2019 06:47
- Forum: User Help / Bug Reports
- Topic: lock screen custom text
- Replies: 6
- Views: 14229
Re: lock screen custom text
I have tried to find the key in the secure setting, either at the global, secure, system; including the LineageOS version. None of them store the value. It turns out to be stored at another db, /data/system/locksettings.db > lock_screen_owner_info. You need root to access this. You can change the v...
- 13 Jun 2019 06:17
- Forum: User Help / Bug Reports
- Topic: grayscale tiles
- Replies: 7
- Views: 17597
Re: grayscale tiles
For number 2, a click(); command does the trick for me to toggle the Digital Wellbeing's Grayscale tile.
Code: Select all
quickSettings();
sleep(500);
click("Grayscale");
- 13 Jun 2019 06:06
- Forum: User Help / Bug Reports
- Topic: Conditional Hardware Key Block or Simulate Key Press
- Replies: 4
- Views: 11516
Re: Conditional Hardware Key Block or Simulate Key Press
I don't think there's a way to block incoming events, but you can have Automagic block any future events by checking the Block Event option in the Hardware Key Event trigger . You can have this trigger in one flow and have the conditions in another flow that will enable/disable the flow to block the...
- 12 Jun 2019 07:48
- Forum: User Help / Bug Reports
- Topic: controlUI click when screen is off
- Replies: 4
- Views: 10511
Re: controlUI click when screen is off
Control UI essentially just manipulates elements in the same way you can for you, but if the screen is off, there is nothing visible to act on so you'll have to find another way to trigger the Wi-Fi sync. Maybe the app has a shortcut that you can use to trigger the Wi-Fi sync using the Launch Shortc...
- 05 Jun 2019 08:28
- Forum: Feature Requests
- Topic: SET_VOLUME_KEY_LONG_PRESS_LISTENER
- Replies: 5
- Views: 18870
Re: SET_VOLUME_KEY_LONG_PRESS_LISTENER
@Martin, would it also be possible to customize the duration of the long-press for the trigger to activate as well?
Using the Hardware Key Event, a key_duration variable was provided. Perhaps the same can be done with this one.
Using the Hardware Key Event, a key_duration variable was provided. Perhaps the same can be done with this one.