Home | History | Annotate | Download | only in app

Lines Matching refs:intent

22 import android.content.Intent;
38 public void onReceive(final Context context, final Intent intent) {
39 intent.setClass(context, AsyncService.class);
40 context.startService(intent);
49 protected void onHandleIntent(Intent intent) {
50 onReceiveAsync(this, intent);
55 private static void onReceiveAsync(Context context, Intent intent) {
61 String action = intent.getAction();
62 String packageName = intent.getData().getSchemeSpecificPart();
63 if (Intent.ACTION_PACKAGE_ADDED.equals(action)) {
65 } else if (Intent.ACTION_PACKAGE_REMOVED.equals(action)) {
67 } else if (Intent.ACTION_PACKAGE_CHANGED.equals(action)) {