FileDocCategorySizeDatePackage
LocalDeniedReceiver.javaAPI DocAndroid 1.5 API1426Wed May 06 22:42:02 BST 2009com.android.unit_tests.activity

LocalDeniedReceiver

public class LocalDeniedReceiver extends android.content.BroadcastReceiver

Fields Summary
Constructors Summary
public LocalDeniedReceiver()

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

        try {
            IBinder caller = intent.getIBinderExtra("caller");
            Parcel data = Parcel.obtain();
            data.writeInterfaceToken(LaunchpadActivity.LAUNCH);
            data.writeString(BroadcastTest.RECEIVER_LOCAL);
            caller.transact(BroadcastTest.GOT_RECEIVE_TRANSACTION, data, null, 0);
            data.recycle();
        } catch (RemoteException ex) {
        }