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

Commit 517bafa5 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Not specify return val of View#onSaveInstanceState

.. as the comment was incorrect since a long time.

Bug: 37802299
Test: compiled
Change-Id: I10fe0b1c0f7f4ccaade38c87136a3785f2685798
parent a22a5d83
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -17266,15 +17266,14 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * item in a list view.
     *
     * @return Returns a Parcelable object containing the view's current dynamic
     *         state, or null if there is nothing interesting to save. The
     *         default implementation returns null.
     *         state, or null if there is nothing interesting to save.
     * @see #onRestoreInstanceState(android.os.Parcelable)
     * @see #saveHierarchyState(android.util.SparseArray)
     * @see #dispatchSaveInstanceState(android.util.SparseArray)
     * @see #setSaveEnabled(boolean)
     */
    @CallSuper
    protected Parcelable onSaveInstanceState() {
    @Nullable protected Parcelable onSaveInstanceState() {
        mPrivateFlags |= PFLAG_SAVE_STATE_CALLED;
        if (mStartActivityRequestWho != null || isAutofilled()
                || mAccessibilityViewId > LAST_APP_ACCESSIBILITY_ID) {