FileDocCategorySizeDatePackage
RemoteReceiver.javaAPI DocAndroid 5.1 API1695Thu Mar 12 22:22:12 GMT 2015android.app.activity

RemoteReceiver

public class RemoteReceiver extends android.content.BroadcastReceiver

Fields Summary
Constructors Summary
public RemoteReceiver()

    
Methods Summary
public voidonReceive(android.content.Context context, android.content.Intent intent)

        if (LaunchpadActivity.BROADCAST_REPEAT.equals(intent.getAction())) {
            Intent newIntent = new Intent(intent);
            newIntent.setAction(LaunchpadActivity.BROADCAST_REMOTE);
            context.sendOrderedBroadcast(newIntent, null);
        }
        try {
            IBinder caller = intent.getIBinderExtra("caller");
            Parcel data = Parcel.obtain();
            data.writeInterfaceToken(LaunchpadActivity.LAUNCH);
            data.writeString(LaunchpadActivity.RECEIVER_REMOTE);
            caller.transact(LaunchpadActivity.GOT_RECEIVE_TRANSACTION, data, null, 0);
            data.recycle();
        } catch (RemoteException ex) {
        }