commit | 838de0622c700345fbfde270c065fdc97f4b9428 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Mon Feb 04 10:24:03 2019 -0800 |
committer | Ady Abraham <adyabr@google.com> | Mon Feb 25 13:18:41 2019 -0800 |
tree | d4a6b688e28aeed2edb7696dec890804be054574 | |
parent | 705fad863861f59eea4668fb17d0752312287a33 [diff] |
SurfaceFlinger: add setAllowedDisplayConfigs Add an API to ISurfaceComposer to set allowed display configurations. This API is expected to be called by DisplayManager depends on the current policy in place. Once setAllowedDisplayConfigs is called, SF can only set a new display config if it is part of the allowed configurations list. Test: call setAllowedDisplayConfigs() from backdoor and observe config change. Bug: 122905403 Change-Id: I1d0a3649bbe7a08efeb72dc270f0b2df330b021c