Page 1 of 1
How can I remove app from “recent item” list?
Posted: 27 May 2018 14:05
by Econdoc
I use Launch App to access android location settings. After the flow completes, the location settings screen remains on the recent item list. Is there a way to remove the app when my flow completes?
Re: How can I remove app from “recent item” list?
Posted: 27 May 2018 18:54
by Martin
Hi,
Removing an item is difficult once it's there. You could use an action Start Activity instead of Launch App since it has some more options, e.g. to avoid that the settings activity is added to the recent items list.
In action Start Activity enable Explicit Component and specify package com.android.settings and class com.android.settings.Settings$LocationSettingsActivity (use [...]-button to pick from list) and then edit the Flag List to include FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS. This should ensure that the location settings activity is not added to the recent item list when the flow is used to open the settings page.
Regards,
Martin
Re: How can I remove app from “recent item” list?
Posted: 27 May 2018 19:15
by Econdoc
Wow! That worked perfectly. Thanks, Martin.
So many wonderful hidden treasures in Automagic. I need a good map to find them all.
