summaryrefslogtreecommitdiff
path: root/libs/binder/ActivityManager.cpp
diff options
context:
space:
mode:
author rongliu <rongliu@google.com> 2018-03-14 12:26:23 -0700
committer rongliu <rongliu@google.com> 2018-03-26 15:13:20 -0700
commitccd348460ca25890a8fb709e82e6f780e3ce878e (patch)
treea2516979d328c676d0c8f14b130f8e288b6f42f2 /libs/binder/ActivityManager.cpp
parent558e1ef07fb6169a1501a9b8637387abef611f34 (diff)
Pass correct window type and app id to hw composer.
1. Set -1 as default value for window type and app id. 2. When send layer information to hal, layers inherit type and app id from parent node when parent node has valid type/appId. 3. Add window type and app id to SurfaceFlinger dumpsys. Bug: 74622357 Test: Manual test. Several things verified: 1. Android settings layer, status bar layer, nav bar layer have valid window type and appId when start android settings. 2. Layers without buffer have window type -1 and app id -1. 3. When send layers to hal, Chrome SurfaceView layer inherit type and app id from its parent (MainActivity layer). Change-Id: I8d6ad274ca18b61d1bbf6b28f7def5160b55b1e7 Merged-In: I8d6ad274ca18b61d1bbf6b28f7def5160b55b1e7
Diffstat (limited to 'libs/binder/ActivityManager.cpp')
0 files changed, 0 insertions, 0 deletions