开发者

When should I use the FACTORY_TEST permission in Android?

While looking for a way to give root permissions to an Android app, I read the official documentation and went through the permission FACTORY_TEST in the Manifest.Permissions page.

public static final String FACTORY_TEST

Since: API Level 1

Run as a manufacturer test application, running as the root user. Only available when the device is running in manufacturer test mode. Constant Value: "android.permission.FACTORY_TEST"

So I had my answer for the root question, but I was left with the FACTORY_TEST permission… Do you know when this permission should be used? I can't find开发者_如何转开发 a lot of documentation on the subject.

It's only for self educational purposes.

Thanks


Do you know when this permission should be used?

It should be used by a device manufacturer. AFAIK, it cannot be obtained by an ordinary SDK application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜