factory: disable gestures wake up and lock screen
To avoid accidental touch during factory production, disable the following two features under Settings > System > Gestures: - Tap to check phone - Lift to check phone Additionally, disable the lock screen by default to make the factory production process more seamless Test: Verified Bug: 290857284 Change-Id: I9493c87b5b6749f7324ea18f78125ffe2a5a8084
This commit is contained in:
parent
fa7bf4acfa
commit
d40db4e68a
1 changed files with 33 additions and 0 deletions
33
factory/framework/res/values/config.xml
Normal file
33
factory/framework/res/values/config.xml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
** Copyright 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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||||
|
|
||||||
|
<!-- Type of the tap sensor. Empty if tap is not supported. False to disable the tap sensor -->
|
||||||
|
<string name="config_dozeTapSensorType" translatable="false">false</string>
|
||||||
|
|
||||||
|
<!-- Control whether the pickup gesture is enabled by default. This value will be used
|
||||||
|
during initialization when the setting is still null. -->
|
||||||
|
<bool name="config_dozePickupGestureEnabled">false</bool>
|
||||||
|
|
||||||
|
<!-- Is the lock-screen disabled for new users by default -->
|
||||||
|
<bool name="config_disableLockscreenByDefault">true</bool>
|
||||||
|
|
||||||
|
</resources>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue