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

Skip to content
Commit 58106aff authored by Eino-Ville Talvala's avatar Eino-Ville Talvala
Browse files

Camera: Look up client name for NDK earlier

Before, the client package name, which can be empty for NDK clients,
wasn't looked up until BasicClient. Move lookup to connectHelper,
to ensure there's a name to pass to other system services such as
window manager.

Note that for shared UID processes, we may select the wrong name,
but this is not expected to cause problems for the situations where
the name is used, beyond just confusing logs.

Also fix up PID reporting for the initial camera connect logging.

Test: atest CtsCameraTestCases on oriole, plus manual testing
  with an NDK-using app to verify that the frame rate override reaches
  window manager correctly.
Bug: 239452794
Change-Id: I006a73e0c9eec99c827085a722d0edfa879bdd23
parent 36af0f66
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