Fix mainDexClasses with obfuscation.

When the input jar is obfuscated, multidex package can be renamed so
the multidex classes were not always correctly included in the
main dex. Tracing from Application.attachBaseContext() is not
subject to this problem since the method is defined in android API
and this will keep the multidex clases in the main dex since
attachBaseContext must call MultiDex.install().

(cherry picked from commit 4f6a857f32dfb9bf17103a2bf94ee0f74cd951ce)

Change-Id: I45a277031949855e637cda429c400276f5bb11de
2 files changed