diff options
Diffstat (limited to 'openpgp-api/src/main/aidl/org/openintents')
-rw-r--r-- | openpgp-api/src/main/aidl/org/openintents/openpgp/IOpenPgpService.aidl | 1 | ||||
-rw-r--r-- | openpgp-api/src/main/aidl/org/openintents/openpgp/IOpenPgpService2.aidl | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/openpgp-api/src/main/aidl/org/openintents/openpgp/IOpenPgpService.aidl b/openpgp-api/src/main/aidl/org/openintents/openpgp/IOpenPgpService.aidl index 2451207..8fa619b 100644 --- a/openpgp-api/src/main/aidl/org/openintents/openpgp/IOpenPgpService.aidl +++ b/openpgp-api/src/main/aidl/org/openintents/openpgp/IOpenPgpService.aidl @@ -19,6 +19,7 @@ package org.openintents.openpgp; interface IOpenPgpService { // see OpenPgpApi for documentation + //DEPRECATED, do NOT use this, data returned from the service through "output" may be truncated Intent execute(in Intent data, in ParcelFileDescriptor input, in ParcelFileDescriptor output); }
\ No newline at end of file diff --git a/openpgp-api/src/main/aidl/org/openintents/openpgp/IOpenPgpService2.aidl b/openpgp-api/src/main/aidl/org/openintents/openpgp/IOpenPgpService2.aidl new file mode 100644 index 0000000..daca0ee --- /dev/null +++ b/openpgp-api/src/main/aidl/org/openintents/openpgp/IOpenPgpService2.aidl @@ -0,0 +1,23 @@ +/* + * Copyright (C) 2014-2015 Dominik Schürmann <dominik@dominikschuermann.de> + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.openintents.openpgp; + +interface IOpenPgpService2 { + + ParcelFileDescriptor createOutputPipe(in int pipeId); + Intent execute(in Intent data, in ParcelFileDescriptor input, int pipeId); +}
\ No newline at end of file |