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

Bug: 275295606
Test: Verified on local image
Change-Id: I20be29ebdceb98f76623d56cc9e185b53d0c66ba
This commit is contained in:
Ryan Chu 2023-04-06 03:35:15 +00:00
parent 55d9b43b55
commit d6ec9698da

View 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>