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

Skip to content
Commit 97be51d4 authored by Nikolas Havrikov's avatar Nikolas Havrikov
Browse files

Remove unused injections from Dependency.java

The Dependency singleton is deprecated and much work has been done to
remove references to it. However, we can already begin shrinking its
footprint on the class coupling by removing those dependencies which are
no longer requested through its get methods.

This has the effect of allowing R8 to strip out more unused code.
For example, consider the following size changes:
TvSystemUI.apk 17258477 -> 16991318
SystemUI.apk 24691539 -> 24683347
CarSystemUI.apk.apk 41085858 -> 41040802
SystemUIGo.apk 24477590 -> 24461206
SystemUIGoogle.apk 30211518 -> 30198346

Bug: 297828369
Test: builds
Change-Id: I82730872943b72564895dcd7090a1fe4b04c8e9c
parent c41764f9
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