How to lock app in recent applications tab in oppo devices programmatically?

Viewed 1895

I want to lock my application in recent applications in oppo phones as shown in the image programmatically so that I can run my services in the background after the application has been killed. is it possible?

enter image description here

2 Answers
  1. Make sure app is on.
  2. Go to recent apps (which is the square button you always press to clear background apps).
  3. Instead of swiping up to clear the app, you swipe down to lock/unlock the app.

You are not allowed to this programmatically :)

Related