jadx icon indicating copy to clipboard operation
jadx copied to clipboard

[core] Use of removed bridge method

Open bagipro opened this issue 4 years ago • 1 comments

Class android.support.v4.content.CursorLoader

    public void deliverResult(Cursor cursor) {
        if (!isReset()) {
            Cursor oldCursor = this.mCursor;
            this.mCursor = cursor;
            if (isStarted()) {
                super.deliverResult((Object) cursor); // <<<

However, (Object) cast shouldn't be added, because Cursor is the correct type for this call

APK: https://drive.google.com/file/d/1cuzcWoP014UeKFFUQNUZLa4YdUeYJ5Am/view?usp=sharing

bagipro avatar Nov 06 '20 21:11 bagipro

@bagipro cause of this issue is that method deliverResult(Object) is removed as a synthetic bridge method. To fix such cases proper methods replace must be implemented.

skylot avatar Nov 08 '20 15:11 skylot