diff options
author | Ryan Mitchell <rtmitchell@google.com> | 2020-01-16 12:17:06 -0800 |
---|---|---|
committer | Ryan Mitchell <rtmitchell@google.com> | 2020-01-16 12:17:06 -0800 |
commit | 7328514f51ff54d99995d5ca60d95fda619a0241 (patch) | |
tree | 66b17538c9fd8bb9c704b7b86a4b2ac037f1b33a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4c1b1ff615dd9a8aec99fcf3dc0a588cf2e7945e (diff) |
Rewrite R constants before creating Application
An app accessing R constants in the constructor of its Application
must be able to use resources from shared libraries that it uses.
This changes moves onResourcesLoaded to be invoked before creating
the Application.
Bug: 147686280
Test: adb shell am start-activity \
com.android.phone/com.android.phone.CallFeaturesSetting
Change-Id: I574f144bf983080cef43fc79dbc4814266586d2d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions