diff options
author | Bryce Lee <brycelee@google.com> | 2018-03-20 13:58:53 -0700 |
---|---|---|
committer | Bryce Lee <brycelee@google.com> | 2018-03-21 09:10:28 -0700 |
commit | 4bc5ba3cd505106aae504e119ffaa8fd1a9e52ab (patch) | |
tree | 61e574f9865f5afeaf693195d8760e530855868f /rs/java/android/renderscript/ProgramRaster.java | |
parent | 65808f321055d1d1a73812002ef440e3724e8d20 (diff) |
Ignore non-existent displays in #topRunningActivityLocked.
Previous changes aimed at driving display creation through
ActivityManagerService. However, there are still cases where
WindowManagerService will encounter the display first (such as add
window). A subsequent changelist enabled this out of band creation.
As a result the WindowManagerService and ActivityManagerService can
still have different lists of displays. This mismatch leads to
#topRunningActivityLocked processing null ActivityDisplays.
This changelist skips over displays not yet encountered by
ActivityManagerService in #topRunningActivityLocked. Such displays
have no stacks and therefore no activities that could be the top
running activity.
Test: atest FrameworksServicesTests:com.android.server.am.ActivityStackSupervisorTests#testTopRunningActivityLockedWithNonExistentDisplay
Fixes: 74593710
Change-Id: I316e5305f7ce233a04ecf18d605eebdf723b0920
Diffstat (limited to 'rs/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions