diff options
author | Christopher Tate <ctate@google.com> | 2014-04-01 10:38:29 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2014-04-01 16:43:00 -0700 |
commit | cba5941c6085dab1566bc047c1ea31f58a2dd4cf (patch) | |
tree | 65f1da5c842078cebbc4db4d547ae80243e66271 /core/java/android/app/IBackupAgent.aidl | |
parent | 4bb047fa5e6d43a027bfe1dfe23b3541e3910a31 (diff) | |
download | frameworks_base-cba5941c6085dab1566bc047c1ea31f58a2dd4cf.zip frameworks_base-cba5941c6085dab1566bc047c1ea31f58a2dd4cf.tar.gz frameworks_base-cba5941c6085dab1566bc047c1ea31f58a2dd4cf.tar.bz2 |
Rejigger the invalid-key checks at backup time
Bug 13732002
Change-Id: Ic8f71234d1bbc7420eaa8e1762b999d09f308d46
Diffstat (limited to 'core/java/android/app/IBackupAgent.aidl')
-rw-r--r-- | core/java/android/app/IBackupAgent.aidl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/app/IBackupAgent.aidl b/core/java/android/app/IBackupAgent.aidl index 4ca06ed..7036aea 100644 --- a/core/java/android/app/IBackupAgent.aidl +++ b/core/java/android/app/IBackupAgent.aidl @@ -124,4 +124,12 @@ oneway interface IBackupAgent { int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder); + /** + * Out of band: instruct the agent to crash within the client process. This is used + * when the backup infrastructure detects a semantic error post-hoc and needs to + * pass the problem back to the app. + * + * @param message The message to be passed to the agent's application in an exception. + */ + void fail(String message); } |