OSDN Git Service

Update reference to top activity.
authorBryce Lee <brycelee@google.com>
Tue, 12 Sep 2017 16:50:35 +0000 (09:50 -0700)
committerBryce Lee <brycelee@google.com>
Wed, 13 Sep 2017 16:41:41 +0000 (16:41 +0000)
commit6a149f699eb35b4609d4c8b632ca3c014a6bd06b
treeb23ab32ea105f6c676293453fba7b6f37e2cd726
parent62017802785b6b71ce6baa2acd64486e07980155
Update reference to top activity.

A condition dealing with a paused top activity references the last
paused activity rather than the top activity.

Bug: 65620111
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerDisplayTests#testExternalDisplayActivityTurnPrimaryOff
Change-Id: Ie67cb8b103e7dec59b1c0b40a5bb35ef0c3cb2b7
services/core/java/com/android/server/am/ActivityStack.java