Make recents visible on resume unless requested otherwise.

If the last interaction left recents invisible, we need to make the
visible again on their next resume.

Bug: 25754031
Change-Id: I4b1d4bae5609bf3f4a77250d3544084afd594536
This commit is contained in:
Filip Gruszczynski
2015-11-18 08:58:34 -08:00
parent 40af4f3ed3
commit cc95391a53

View File

@@ -421,6 +421,8 @@ public class RecentsActivity extends Activity implements RecentsView.RecentsView
if (state.startHidden) {
state.startHidden = false;
mRecentsView.setStackViewVisibility(View.INVISIBLE);
} else {
mRecentsView.setStackViewVisibility(View.VISIBLE);
}
}