Merge "Cleans up PackageInstaller.Session docs" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-04-13 01:54:23 +00:00
committed by Android (Google) Code Review

View File

@@ -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} */