Merge "App Groups: Allow app pairs to take more than 2 members" into main

This commit is contained in:
Jeremy Sim
2024-12-10 22:37:31 +00:00
committed by Android (Google) Code Review
2 changed files with 29 additions and 22 deletions
@@ -32,9 +32,8 @@ class AppPairInfo() : CollectionInfo() {
}
/** Convenience constructor, calls primary constructor and init block */
constructor(app1: WorkspaceItemInfo, app2: WorkspaceItemInfo) : this() {
add(app1)
add(app2)
constructor(apps: List<WorkspaceItemInfo>) : this() {
apps.forEach(this::add)
}
/** Creates a new AppPairInfo that is a copy of the provided one. */