在禁用它提供的回调Android系统的应用程序 [英] android system app on disable does it provide callback

查看:192
本文介绍了在禁用它提供的回调Android系统的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我写的运行,并能够建立一个全球性的HTTP代理的系统服务。

Currently I wrote a system service that runs and is able to setup a global http proxy.

不过,如果用户手动禁用应用程序,是有任何形式的关机或服务解除绑定调用回出现这种情况?

However, If the user manually disables the app, is there are any sort of shutdown or service unbind call back that happens?

当用户禁用系统的应用程序,该应用是否立即结束?

When a user disables a system app, does the app end immediately?

先谢谢了。

推荐答案

我找到了答案。系统广播当一个应用程序被用户禁用Intent.ACTION_PACKAGE_CHANGED行动。

I found the answer. system broadcasts the Intent.ACTION_PACKAGE_CHANGED action when an app is disabled by the user.

这篇关于在禁用它提供的回调Android系统的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆