commit | 0d5792e9822fb26a2e3c9fee67f46a02f2a84941 | [log] [tgz] |
---|---|---|
author | wilsonshih <wilsonshih@google.com> | Thu Jul 04 11:23:54 2019 +0800 |
committer | wilsonshih <wilsonshih@google.com> | Thu Jul 04 16:04:58 2019 +0800 |
tree | 36f4160b073f7b1cf1db2fddfe65a125e4b7fc63 | |
parent | 27fb629b662bf57318e10e9b6fc931d1588ab94d [diff] |
Clear the calling identity in isUsableDisplay. The INTERNAL_SYSTEM_WINDOW permission is checked when WindowManagerService#shouldShowSystemDecors is called, we should leave this permission check because it is public method. Clear the calling identity in WallpaperManagerService#isUsableDisplay as this method should be used only internally. Fix: 136447676 Test: atest VrDisplayTests MultiDisplaySystemDecorationTests Change-Id: I97a93cdd0253933527010f97049694b59d5a4e2a