Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_packages_apps_Launcher3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Farzin Kazemzadeh
platform_packages_apps_Launcher3
Commits
aa68c3ad
Commit
aa68c3ad
authored
4 months ago
by
Adithya R
Browse files
Options
Downloads
Patches
Plain Diff
fixup! Launcher3: Add support for parallel space
Change-Id: I30cbb43ca4eb40e07f70a97b76cd58a530117f3d
parent
93c6a128
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
quickstep/src/com/android/launcher3/uioverrides/SystemApiWrapper.kt
+6
-1
6 additions, 1 deletion
...src/com/android/launcher3/uioverrides/SystemApiWrapper.kt
with
6 additions
and
1 deletion
quickstep/src/com/android/launcher3/uioverrides/SystemApiWrapper.kt
+
6
−
1
View file @
aa68c3ad
...
...
@@ -46,6 +46,7 @@ import com.android.launcher3.util.Executors
import
com.android.launcher3.util.StartActivityParams
import
com.android.launcher3.util.UserIconInfo
import
com.android.quickstep.util.FadeOutRemoteTransition
import
com.libremobileos.app.ParallelSpaceManager
/** A wrapper for the hidden API calls */
open
class
SystemApiWrapper
(
context
:
Context
?)
:
ApiWrapper
(
context
)
{
...
...
@@ -65,7 +66,11 @@ open class SystemApiWrapper(context: Context?) : ApiWrapper(context) {
return
super
.
queryAllUsers
()
}
val
users
=
ArrayMap
<
UserHandle
,
UserIconInfo
>()
mContext
.
getSystemService
(
UserManager
::
class
.
java
)
!!
.
userProfiles
?.
forEach
{
user
->
val
usersList
=
buildList
{
addAll
(
mContext
.
getSystemService
(
UserManager
::
class
.
java
)
!!
.
userProfiles
)
addAll
(
ParallelSpaceManager
.
getInstance
().
getParallelUserHandles
())
}
usersList
.
forEach
{
user
->
mContext
.
getSystemService
(
LauncherApps
::
class
.
java
)
!!
.
getLauncherUserInfo
(
user
)
?.
apply
{
users
[
user
]
=
UserIconInfo
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment