1 /*
2  * Copyright (C) 2024 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.android.launcher3.model
18 
19 /** Data model for the information used for [FirstScreenBroadcastHelper] Broadcast Extras */
20 data class FirstScreenBroadcastModel(
21     // Package name of the installer for all items
22     val installerPackage: String,
23     // Installing items in Folders
24     val pendingCollectionItems: MutableSet<String> = mutableSetOf(),
25     // Installing items on first screen
26     val pendingWorkspaceItems: MutableSet<String> = mutableSetOf(),
27     // Installing items on hotseat
28     val pendingHotseatItems: MutableSet<String> = mutableSetOf(),
29     // Installing widgets on first screen
30     val pendingWidgetItems: MutableSet<String> = mutableSetOf(),
31     // Installed/Archived Items on first screen
32     val installedWorkspaceItems: MutableSet<String> = mutableSetOf(),
33     // Installed/Archived items on hotseat
34     val installedHotseatItems: MutableSet<String> = mutableSetOf(),
35     // Installed/Archived Widgets on first screen
36     val firstScreenInstalledWidgets: MutableSet<String> = mutableSetOf(),
37     // Installed Archived Widgets on secondary screens
38     val secondaryScreenInstalledWidgets: MutableSet<String> = mutableSetOf()
39 )
40