commit | ec75b42179579f6c7fedb91629c372b05cf278f7 | [log] [tgz] |
---|---|---|
author | lumark <lumark@google.com> | Mon Jan 07 15:58:38 2019 +0800 |
committer | lumark <lumark@google.com> | Mon Mar 04 14:59:41 2019 +0800 |
tree | 2aea4b44053986413d6916902337c07673e5dcbe | |
parent | 5af401bd35a188a4a8c928f66993bf2c22247f2c [diff] |
Add the check for UID presence to Display#hasAccess() It would be nice if there is a common & reliable method for both outer & internal modules to check the UID presense of the display. Add more check in Display#hasAccess() to ask system if calling UID can precense on the specific display, to consolidate only few special UIDs & display flag checking. Bug: 117347985 Test: atest ActivityManagerMultiDisplayTests Change-Id: I2f8989598c99c0962e925c5aa65500972b4fc62b