android.permission.SET_PROCESS_LIMIT 在 Android 应用程序中的用途是什么?

发布于 2024-12-28 15:51:58 字数 239 浏览 4 评论 0原文

我一直试图在网上弄清楚这一点,但没有任何关于这实际上是做什么的信息。 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夜雨飘雪 2025-01-04 15:51:58

这是开发/调试的许可。并按照它说的去做。请记住,当您运行应用程序时,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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文