Loading
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