Java Code Examples for android.content.Intent.ACTION_PACKAGE_REMOVED

The following are Jave code examples for showing how to use ACTION_PACKAGE_REMOVED of the android.content.Intent class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: VirtualHook   File: VAppManagerService.java   View Source Code Vote up 5 votes
private void sendUninstalledBroadcast(String packageName) {
    Intent intent = new Intent(Intent.ACTION_PACKAGE_REMOVED);
    intent.setData(Uri.parse("package:" + packageName));
    VActivityManagerService.get().sendBroadcastAsUser(intent, VUserHandle.ALL);
}
 
Example 2
Project: TPlayer   File: VAppManagerService.java   View Source Code Vote up 5 votes
private void sendUninstalledBroadcast(String packageName) {
    Intent intent = new Intent(Intent.ACTION_PACKAGE_REMOVED);
    intent.setData(Uri.parse("package:" + packageName));
    VActivityManagerService.get().sendBroadcastAsUser(intent, VUserHandle.ALL);
}