commit | 73bfe41bab9b06a3d0c4e73c61928982b37b35eb | [log] [tgz] |
---|---|---|
author | Ryan Mitchell <rtmitchell@google.com> | Tue Nov 12 16:22:04 2019 -0800 |
committer | Ryan Mitchell <rtmitchell@google.com> | Wed Nov 13 14:51:14 2019 -0800 |
tree | e1dff38ea774af89ff06e26aa63798132793b9c8 | |
parent | 52a3801810fb06e73d1be9874c892fefa6a1bdc2 [diff] |
Do not look for R.class of overlays Now that RROs are loaded as shared libraries, LoadedApk#makeApplication is attempting to find the onResourcesLoaded method of the overlays. This is a performance hit and causes more memory than necessary to be allocated during application start up. Bug: 143314947 Test: com.android.performance.tests.HermeticMemoryTest Change-Id: I3b8cd22dae83e0164d6678c80279f9fffceb34e6