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