Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a608da9d authored by Fiona Campbell's avatar Fiona Campbell
Browse files

Allow No Sensor to be Specified in DDC

Adding the following:
<proxSensor>
  <type></type>
  <name></name>
</proxSensor>

to the DDC, will stop any fallback from being used, and allow the usage
of no sensor to be used for that display. This is useful for when a
display has no sensor and the fallback should not be used. If this is
not added to the ddc, the fallback will still only occur if the display
is the default display.

Bug: 202604469
Test: dumpsys display | grep mProximitySensor
Test: com.android.server.display
Change-Id: I8508a191b7c7c5990929e4d020ffd144c7faeef7
parent 9f06cf82
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment