doze: Move sensor trigger values to resources
This lets us use android.sensor.tilt_detector on Oplus. Change-Id: I21db794d86656bfa41dfe32d33b272d4b55ec199
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2021 The LineageOS Project
|
||||
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.
|
||||
@@ -18,4 +18,8 @@
|
||||
<!-- 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>
|
||||
|
||||
Reference in New Issue
Block a user