Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_frameworks_base-old
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_frameworks_base-old
Commits
0c042012
Commit
0c042012
authored
1 year ago
by
Matt Pietal
Committed by
Android (Google) Code Review
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge "Remove kotlin sample" into main
parents
7b82af14
5f1d103a
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
packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/FromAlternateBouncerTransitionInteractor.kt
+3
-4
3 additions, 4 deletions
...in/interactor/FromAlternateBouncerTransitionInteractor.kt
with
3 additions
and
4 deletions
packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/FromAlternateBouncerTransitionInteractor.kt
+
3
−
4
View file @
0c042012
...
...
@@ -31,8 +31,8 @@ import javax.inject.Inject
import
kotlin.time.Duration.Companion.milliseconds
import
kotlinx.coroutines.CoroutineDispatcher
import
kotlinx.coroutines.CoroutineScope
import
kotlinx.coroutines.
FlowPreview
import
kotlinx.coroutines.flow.
sample
import
kotlinx.coroutines.
delay
import
kotlinx.coroutines.flow.
onEach
import
kotlinx.coroutines.launch
@SysUISingleton
...
...
@@ -62,7 +62,6 @@ constructor(
listenForTransitionToCamera
(
scope
,
keyguardInteractor
)
}
@FlowPreview
private
fun
listenForAlternateBouncerToLockscreenHubAodOrDozing
()
{
scope
.
launch
{
keyguardInteractor
.
alternateBouncerShowing
...
...
@@ -71,7 +70,7 @@ constructor(
// happening prematurely.
// This should eventually be removed in favor of
// [KeyguardTransitionInteractor#startDismissKeyguardTransition]
.
sample
(
150L
)
.
onEach
{
delay
(
150L
)
}
.
sampleCombine
(
keyguardInteractor
.
primaryBouncerShowing
,
startedKeyguardTransitionStep
,
...
...
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