android.permission.SET_PROCESS_LIMIT 在 Android 应用程序中的用途是什么?
我一直试图在网上弄清楚这一点,但没有任何关于这实际上是做什么的信息。 Google Manifest 信息说:
允许应用程序设置可以运行的(不需要的)应用程序进程的最大数量。
我认为这不是第三方应用程序许可,但我需要确定,它适用于我们的嵌入式设备。
我的猜测是,这限制了一个应用程序在清单中调用 android:process=".RemoteActivity" 时可以打开的进程数。
有人吗?谢谢。
I have been trying to figure this out on the web with no information whatsoever as to what this actually does. The Google Manifest information says:
Allows an application to set the maximum number of (not needed) application processes that can be running.
I am thinking this is not a third party app permission but I need to be sure, its for our embedded device.
My guess is that this limits the number of processes that one application can have open when calling android:process=".RemoteActivity" in the manifest.
Anyone? Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是开发/调试的许可。并按照它说的去做。请记住,当您运行应用程序时,Android 会为其所有活动创建一个进程。也就是说,如果您开始打开应用程序的不同活动,您将使用相同的过程。但是,Android 允许您选择活动是使用主进程还是另一个新进程。这就是此权限存在的原因。
来源:
http://developer.android.com/guide/topics /fundamentals/processes-and-threads.html
http://developer.android.com/reference/android/Manifest.permission.html#SET_PROCESS_LIMIT
It's a development/debug intended permisson. And just do what it says. Remember that when you run an app, android creates a process for all it's activities. This is, if you start opening the different activities of your application, you use the same process. However, Android let's you choose if an activity uses the main process or another new one. That's why this permission exists.
Sources:
http://developer.android.com/guide/topics/fundamentals/processes-and-threads.html
http://developer.android.com/reference/android/Manifest.permission.html#SET_PROCESS_LIMIT