Immediately deliver new intent to paused activity in docked stack
When the docked stack is minimized and we are unminimizing it due to a request to start it's currently paused top activity, it is possible for the new intent not do be delivered immediately because it isn't resumed due to another activity been launched in the system (Recents) which is resumed instead. So, the user won't see the effect of the new intent until they touch the docked activity causing it to get the new intent and resume. We now deliver new intents to the top activity in the docked stack if it is in a minimized state. Then on the client side we temporarily resume the activity and pause it again to guarantee onResume is called after onNewIntent. Bug: 31371093 Change-Id: Ib1764ccf5efc9d6498ce6cc8a34236c79fc07dad
Loading
Please register or sign in to comment