Merge "Cleans up PackageInstaller.Session docs" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9b948e0ba3
@@ -841,13 +841,12 @@ public class PackageInstaller {
|
||||
* installation (for example, the same split name), the APK in this session
|
||||
* will replace the existing APK.
|
||||
* <p>
|
||||
* In such a case that multiple packages need to be commited simultaneously,
|
||||
* In such a case that multiple packages need to be committed simultaneously,
|
||||
* multiple sessions can be referenced by a single multi-package session.
|
||||
* This session is created with no package name and calling
|
||||
* {@link SessionParams#setMultiPackage()} with {@code true}. The
|
||||
* individual session IDs can be added with {@link #addChildSessionId(int)}
|
||||
* and commit of the multi-package session will result in all child sessions
|
||||
* being committed atomically.
|
||||
* {@link SessionParams#setMultiPackage()}. The individual session IDs can be
|
||||
* added with {@link #addChildSessionId(int)} and commit of the multi-package
|
||||
* session will result in all child sessions being committed atomically.
|
||||
*/
|
||||
public static class Session implements Closeable {
|
||||
/** {@hide} */
|
||||
|
||||
Reference in New Issue
Block a user