summaryrefslogtreecommitdiffstats
path: root/core/java/android/content/pm/IPackageDeleteObserver2.aidl
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2014-08-06 16:34:34 -0700
committerJeff Sharkey <jsharkey@google.com>2014-08-07 00:23:54 +0000
commitfbd0e9fa37fc17ccd25e4c1f16195bbd27de3c4c (patch)
treefb67a6cbd7f3b39bd82f22f1763a83c776fb08d6 /core/java/android/content/pm/IPackageDeleteObserver2.aidl
parent905857f1b8708b1a7cf60a5e6b934b75ac6aea77 (diff)
downloadframeworks_base-fbd0e9fa37fc17ccd25e4c1f16195bbd27de3c4c.zip
frameworks_base-fbd0e9fa37fc17ccd25e4c1f16195bbd27de3c4c.tar.gz
frameworks_base-fbd0e9fa37fc17ccd25e4c1f16195bbd27de3c4c.tar.bz2
Surface user action events when un/installing.
This will be used shortly to connect up with permissions confirmation UI. Bug: 16515814 Change-Id: If28cecc28549900d960ac107a1fba0b10ce5bd7b
Diffstat (limited to 'core/java/android/content/pm/IPackageDeleteObserver2.aidl')
-rw-r--r--core/java/android/content/pm/IPackageDeleteObserver2.aidl25
1 files changed, 25 insertions, 0 deletions
diff --git a/core/java/android/content/pm/IPackageDeleteObserver2.aidl b/core/java/android/content/pm/IPackageDeleteObserver2.aidl
new file mode 100644
index 0000000..bff3baa
--- /dev/null
+++ b/core/java/android/content/pm/IPackageDeleteObserver2.aidl
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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 android.content.pm;
+
+import android.content.Intent;
+
+/** {@hide} */
+oneway interface IPackageDeleteObserver2 {
+ void onUserActionRequired(in Intent intent);
+ void onPackageDeleted(String packageName, int returnCode, String msg);
+}