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

Commit 1454afce authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Not specify return val of View#onSaveInstanceState" into oc-dev

parents 422a83de 517bafa5
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -17306,15 +17306,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) {