This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
hardware_oplus-CherishOS/doze/res/values/config.xml
LuK1337 d0e36f6d22 doze: Move sensor trigger values to resources
This lets us use android.sensor.tilt_detector on Oplus.

Change-Id: I21db794d86656bfa41dfe32d33b272d4b55ec199
2022-04-11 17:19:46 +02:00

26 lines
1003 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2021-2022 The LineageOS 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>
<!-- Sensor types -->
<string name="pickup_sensor_type"></string>
<string name="pocket_sensor_type"></string>
<!-- Sensor trigger values -->
<item name="pickup_sensor_value" format="float" type="dimen">1.0</item>
<item name="pocket_sensor_value" format="float" type="dimen">0.0</item>
</resources>