commit | d0fc2ca51fcf74c7f0a06a7cbda59384d2b20674 | [log] [tgz] |
---|---|---|
author | wilsonshih <wilsonshih@google.com> | Wed Mar 18 22:41:55 2020 +0800 |
committer | wilsonshih <wilsonshih@google.com> | Wed Apr 08 15:15:01 2020 +0800 |
tree | 89b7ace3a198c5d16db2afa180d704bcd028105f | |
parent | c920673e5f971ed1e5b022697725f649c3921a42 [diff] |
Support addWindow as other user Support addWindow with the other userId which can be different from Uid. This can be used when client want to addView for secondary user. Example: 1. Create context with createContextAsUser or similar method. 2. Get WindowManager with this context. 3. WindowManager#addView Bug: 151414297 Test: atest WmTests WindowAddRemovePerfTest AddWindowAsUserTest Change-Id: I13e58d76b1f056f3829bc984c2b61496c8f8d535