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
7682cc97
Commit
7682cc97
authored
1 year ago
by
Aaron Liu
Committed by
Android (Google) Code Review
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge "Remove legacy lock icon in compose LS" into main
parents
a6499549
d4d13a13
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/compose/features/src/com/android/systemui/keyguard/ui/composable/section/LockSection.kt
+7
-0
7 additions, 0 deletions
...id/systemui/keyguard/ui/composable/section/LockSection.kt
with
7 additions
and
0 deletions
packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/LockSection.kt
+
7
−
0
View file @
7682cc97
...
...
@@ -18,6 +18,7 @@ package com.android.systemui.keyguard.ui.composable.section
import
android.content.Context
import
android.util.DisplayMetrics
import
android.view.View
import
android.view.WindowManager
import
androidx.compose.runtime.Composable
import
androidx.compose.ui.Modifier
...
...
@@ -45,6 +46,7 @@ import com.android.systemui.keyguard.ui.viewmodel.DeviceEntryForegroundViewModel
import
com.android.systemui.keyguard.ui.viewmodel.DeviceEntryIconViewModel
import
com.android.systemui.plugins.FalsingManager
import
com.android.systemui.res.R
import
com.android.systemui.shade.NotificationPanelView
import
com.android.systemui.statusbar.VibratorHelper
import
dagger.Lazy
import
javax.inject.Inject
...
...
@@ -63,6 +65,7 @@ constructor(
private
val
deviceEntryBackgroundViewModel
:
Lazy
<
DeviceEntryBackgroundViewModel
>,
private
val
falsingManager
:
Lazy
<
FalsingManager
>,
private
val
vibratorHelper
:
Lazy
<
VibratorHelper
>,
private
val
notificationPanelView
:
NotificationPanelView
,
)
{
@Composable
fun
SceneScope
.
LockIcon
(
modifier
:
Modifier
=
Modifier
)
{
...
...
@@ -70,6 +73,10 @@ constructor(
return
}
notificationPanelView
.
findViewById
<
View
?>(
R
.
id
.
lock_icon_view
)
?.
let
{
notificationPanelView
.
removeView
(
it
)
}
val
context
=
LocalContext
.
current
AndroidView
(
...
...
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