Skip to content

Commit d89b6c0

Browse files
imjyotiradityatechyminati
authored andcommitted
overlay: SystemUI: Setup default keyguard affordance
Change-Id: Ibc65e985e9462ede98bcbafdf70187543b78a692 Signed-off-by: techyminati <sinha.aryan03@gmail.com>
1 parent b0c1a13 commit d89b6c0

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

  • overlay/frameworks/base/packages/SystemUI/res/values
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
Copyright (C) 2019-2024 The CipherOS Project
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
-->
17+
<resources>
18+
<!-- A collection of defaults for the quick affordances on the lock screen. Each item must be a
19+
string with two parts: the ID of the slot and the comma-delimited list of affordance IDs,
20+
separated by a colon ':' character. For example: <item>bottom_end:home,wallet</item>. The
21+
default is displayed by System UI as long as the user hasn't made a different choice for that
22+
slot. If the user did make a choice, even if the choice is the "None" option, the default is
23+
ignored. -->
24+
<string-array name="config_keyguardQuickAffordanceDefaults" translatable="false">
25+
<item>bottom_start:flashlight</item>
26+
<item>bottom_end:camera</item>
27+
</string-array>
28+
29+
</resources>

0 commit comments

Comments
 (0)