Skip to content
Commit 1e3885c4 authored by Darryl L Johnson's avatar Darryl L Johnson Committed by Darryl Johnson
Browse files

Protect against assumptions of a top focused stack.

RootWindowContainer#getTopDisplayFocusedStack() has the potential to
return null when there are no focusable stacks. This guards against
many assumptions that a top focused stack exists.

Bug: 144085050
Bug: 148125390
Bug: 150754510
Fixes: 144085050
Test: ActivityStarterTests
Test: ActivityStackTests
Test: ActivityTaskManagerServiceTests
Test: RootWindowContainerTests

Change-Id: Ibefc3a802aba5a90898837359ec59a48f39834dc
parent 5e28e529
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment