commit | e2239c9346b9efb8c879c1925d90f70c4eb2405c | [log] [tgz] |
---|---|---|
author | Fyodor Kupolov <fkupolov@google.com> | Tue Jan 12 16:46:13 2016 -0800 |
committer | Fyodor Kupolov <fkupolov@google.com> | Tue Jan 12 16:46:13 2016 -0800 |
tree | 38aeadd2bc544e5409bffabe9e257af9a2449096 | |
parent | 292494a58b57a913e9bf81cf52315f3c79e4e03b [diff] |
Explicitly pass userId to getWindowToken UiAutomationConnection.clearWindowContentFrameStats method currently clears calling identity before calling mAccessibilityManager.getWindowToken. This doesn't work properly when a call is made by a secondary user, because it wouldn't pass a check in getWindowToken. This is now fixed by explicitly passing ID of the calling user. Bug: 26498396 Change-Id: I8f0cdde33e18f04adb1833c6c0d0c329de921018