• Elliott Hughes's avatar
    Revert the fix for incorrect package-private overriding. · 97358651
    Elliott Hughes authored
    This fixes FIFA 2012, the download portion of which relies on the
    old bug, without breaking instrumentation tests. The problem is that
    dexopt tries to quicken method calls, and gets confused by this case
    where the apparent static method resolution differs from the actual
    one at runtime, depending on the targetSdkVersion of the specific app.
    dexopt can't make an ahead-of-time decision in a world where the rules
    might change at runtime.
    
    Bug: 7301030
    Bug: 7343420
    Change-Id: Iaa15611f099546b7e54279cfd6abc9b4cdcb9812
    97358651
Class.cpp 170 KB