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

Commit c63d007f authored by Adam Powell's avatar Adam Powell Committed by Android Git Automerger
Browse files

am 2a6a4df9: am 93563d21: Merge "Log a warning when action bar view states...

am 2a6a4df9: am 93563d21: Merge "Log a warning when action bar view states cannot be restored." into jb-dev

* commit '2a6a4df9':
  Log a warning when action bar view states cannot be restored.
parents cc1508d0 2a6a4df9
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -1630,7 +1630,12 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
        if (mActionBar != null) {
            SparseArray<Parcelable> actionBarStates =
                    savedInstanceState.getSparseParcelableArray(ACTION_BAR_TAG);
            if (actionBarStates != null) {
                mActionBar.restoreHierarchyState(actionBarStates);
            } else {
                Log.w(TAG, "Missing saved instance states for action bar views! " +
                        "State will not be restored.");
            }
        }
    }