Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09bd5bc4 authored by Søren Gjesse's avatar Søren Gjesse
Browse files

Make an always overridden method abstract

Bug: 69949394

Test: m -j && Run instrumentation tests from com.android.documentsui.tests
Test: m -j USE_R8=true && Run instrumentation tests from com.android.documentsui.tests
Change-Id: I3d7765f64fe8fe3bbd96451d02ed19c19186462a
parent 3a60c6e2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -172,8 +172,7 @@ abstract public class Job implements Runnable {
        return true;
    }

    void finish() {
    }
    abstract void finish();

    abstract void start();
    abstract Notification getSetupNotification();
+0 −2
Original line number Diff line number Diff line
@@ -108,8 +108,6 @@ public class TestJob extends Job {
                R.drawable.ic_cab_cancel);
    }

    // Add an empty finish method. R8 will remove the one in the base class as that
    // is never called in the app.
    @Override
    void finish() {
    }