@Override
        public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException {
            switch (code) {
                case INTERFACE_TRANSACTION: {
                    reply.writeString(DESCRIPTOR);
                    return true;
                }
                case TRANSACTION_ACTIVITY_RESUMING: {
                    data.enforceInterface(DESCRIPTOR);
                    int arg0;
                    arg0 = data.readInt();
                    this.activityResuming(arg0);
                    return true;
                }
                case TRANSACTION_CLOSING_SYSTEM_DIALOGS: {
                    data.enforceInterface(DESCRIPTOR);
                    java.lang.String arg0;
                    arg0 = data.readString();
                    this.closingSystemDialogs(arg0);
                    return true;
                }
            }
            return super.onTransact(code, data, reply, flags);
        }
Construct the stub at attach it to the interface.
replugin-host-library/replugin-host-lib/src/main/java/com/qihoo360/loader2/alc/IActivityWatcher.java