Merge "Update icon in lock consent dialog" into udc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
74cfbf67bc
26
packages/SystemUI/res-keyguard/drawable/ic_lock_locked.xml
Normal file
26
packages/SystemUI/res-keyguard/drawable/ic_lock_locked.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2023 The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M17,8H18C19.1,8 20,8.9 20,10V20C20,21.1 19.1,22 18,22H6C4.9,22 4,21.1 4,20V10C4,8.9 4.9,8 6,8H7V6C7,3.24 9.24,1 12,1C14.76,1 17,3.24 17,6V8ZM12,3C10.34,3 9,4.34 9,6V8H15V6C15,4.34 13.66,3 12,3ZM6,20V10H18V20H6ZM14,15C14,16.1 13.1,17 12,17C10.9,17 10,16.1 10,15C10,13.9 10.9,13 12,13C13.1,13 14,13.9 14,15Z"
|
||||
android:fillColor="#5F6368"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
@@ -135,7 +135,7 @@ internal constructor(
|
||||
val listener = DialogListener(prefs, attempts, onAttemptCompleted)
|
||||
val d =
|
||||
dialogProvider(activityContext, R.style.Theme_SystemUI_Dialog).apply {
|
||||
setIcon(R.drawable.ic_warning)
|
||||
setIcon(R.drawable.ic_lock_locked)
|
||||
setOnCancelListener(listener)
|
||||
setNeutralButton(R.string.controls_settings_dialog_neutral_button, listener)
|
||||
setPositiveButton(R.string.controls_settings_dialog_positive_button, listener)
|
||||
|
||||
Reference in New Issue
Block a user