0

Is there a way that I can clear the recent apps?

to simply clear the list.

I have tried looking for some answer and I found one but it didn't work.

Community
  • 1
  • 1
Br4infreze
  • 342
  • 3
  • 11
  • Maybe http://stackoverflow.com/questions/6258980/altering-the-result-of-getrecenttasks ? – Marco Acierno Mar 23 '14 at 21:12
  • @MarcoAcierno no man its not it,i want my application button to do what the clear recent tasks button do when you click it. – Br4infreze Mar 23 '14 at 21:22
  • The answer clear the recent apps by flood it with 20 activities.. isn't it the same you want? – Marco Acierno Mar 23 '14 at 21:24
  • No man,when you long click the home button,you get to a screen with a list of where have you been recently,and there is a button to clear that list.i want my button to do the exact same thing,to clear all the recent tasks – Br4infreze Mar 23 '14 at 21:42

1 Answers1

0

After some research i understand you cannot clear recent apps because REMOVE_TASKS permission can be used only by system/ROM developers.

The only way that would work is to flood the recent tasks with blank activities but you said it isn't your case.

Final: You cannot do what you want! Only system can do it.

Some questions:

Community
  • 1
  • 1
Marco Acierno
  • 14,682
  • 8
  • 43
  • 53