Looking at code real quick, looks like this is entirely inside of USC then. It handles turning on the screen on a key press and knows about proximity status.
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mir in Ubuntu. https://bugs.launchpad.net/bugs/1566733 Title: [arale] hardare button interferes with proximity sensor during calls Status in Canonical System Image: New Status in mir package in Ubuntu: New Status in unity-system-compositor package in Ubuntu: New Status in unity8 package in Ubuntu: New Bug description: current build number: 299 device name: arale channel: ubuntu-touch/rc-proposed/meizu.en Test Case 1. Make a call to DUT 2. Answer the call 3. Cover the proximity sensor and verify that the display turns off 4. Cover the hardware button Actual Result Display turns on even if the proximity sensor is covered Expected Result Display must not turn on, otherwise the user may start tapping the screen with his ears. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1566733/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp