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

Skip to content
Commit beb7ecd3 authored by Jin Seok Park's avatar Jin Seok Park
Browse files

[Media ML] Replace user-related hidden APIs

MediaSessionService keeps track of users being added and removed from
the system. It also considers "managed" users (work profiles) to be
part of the "manager" user, since they will always be running
simultaneously and therefore should share a common logic for session
management (e.g. dispatching a media key event to the most recently
active session).

Thus, MediaSessionService needs to know what users
are "managed" and who their "manager" user is. This CL replaces the
existing hidden API usage with existing public/system APIs.

Bug: 175216227
Test: Manually test adding managed/non-managed users
Change-Id: I0ce807e5bdcccee7ae99e29c0a0a52b6dadc8b57
parent e61adb12
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