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

Skip to content
Commit 76be2ad8 authored by Jared Duke's avatar Jared Duke
Browse files

Explicitly reference system services where possible (2)

This is the second part of a multi-part change in refactoring how
system services are referenced and started in system server.

System services bundled in services.jar should be explicitly referenced
wherever possible. This avoids ambiguity about where the service is
defined and what guarantees are made at runtime for its inclusion, and
also provides an explicit reference that R8 can use to keep associated
services.

This change is effectively a no-op, as we still keep all SystemService
derivations. However, it will make it possible in a future update to
relax this keep rule and depend on build-time system feature defines to
gatekeep service references.

A follow-up change will tighten the semantics for starting services via
the string-based class reflection lookup.

Bug: 203143243
Test: m + validate services.jar identical except for strings
Change-Id: Idd54917279268af9c1a3b4ab9ca3737e7ed5ff14
parent 14d57fdd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment