Marc
Marc

Reputation: 3560

Pinning other applications as device owner

My application is already device owner and I can pin my own activities without user interaction. But now I want other (legacy) apps to be pinned through my service.

Is this possible at all?

What I've tried:

Any other solutions?

Upvotes: 1

Views: 747

Answers (1)

botweb
botweb

Reputation: 137

This is not possible.

You only have the option to use mDPM.setLockTaskPackages("com.foo.myapp"); inside your app and the other app can afterwards make use of the startLockTask(); method.

Upvotes: 1

Related Questions