diff options
| author | 2018-09-14 08:45:42 -0700 | |
|---|---|---|
| committer | 2018-09-14 10:59:33 -0700 | |
| commit | 2fe7dee1cf47e4f1bbb7dd03b812514c0cda0018 (patch) | |
| tree | caa9eb7edffcba7c5160f898821738f39db29a4f | |
| parent | beb077d987bed4e45a3e6ec7e3b8468ec66e1a0b (diff) | |
Describe paramter to PackageInstaller.Session#commit
Test: Built
Change-Id: I4c20b54070ba5345e0c95429fbf0700fe9b2f7d2
Fixes: 115609562
| -rw-r--r-- | core/java/android/content/pm/PackageInstaller.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/java/android/content/pm/PackageInstaller.java b/core/java/android/content/pm/PackageInstaller.java index 316ace16f0a4..342f4c80d8eb 100644 --- a/core/java/android/content/pm/PackageInstaller.java +++ b/core/java/android/content/pm/PackageInstaller.java @@ -960,6 +960,10 @@ public class PackageInstaller { * If the installer is the device owner or the affiliated profile owner, there will be no * user intervention. * + * @param statusReceiver Called when the state of the session changes. Intents + * sent to this receiver contain {@link #EXTRA_STATUS}. Refer to the + * individual status codes on how to handle them. + * * @throws SecurityException if streams opened through * {@link #openWrite(String, long, long)} are still open. * @@ -986,7 +990,9 @@ public class PackageInstaller { * that new properties are added to the session with a new API revision. In this case the * callers need to be updated. * - * @param statusReceiver Callbacks called when the state of the session changes. + * @param statusReceiver Called when the state of the session changes. Intents + * sent to this receiver contain {@link #EXTRA_STATUS}. Refer to the + * individual status codes on how to handle them. * * @hide */ |