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
Loading
Please register or sign in to comment