diff options
author | Charles Chen <charlesccchen@google.com> | 2020-09-17 23:04:57 +0800 |
---|---|---|
committer | Charles Chen <charlesccchen@google.com> | 2020-09-29 05:47:17 +0000 |
commit | 8d71bdf3e63d8cfc66e45f47a031d77e3509cb5b (patch) | |
tree | 90f468858da390e26e1468e3a8d68b63942baeb4 /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java | |
parent | b86df213a3d7afe5b4917f52c6951ff4f62c7371 (diff) |
[RESTRICT AUTOMERGE] Fix VrDisplayTest failure
Before CL[1], the system regarded system created displays as
trusted displays, which provided the ability to gain the focus
without user's touch.
After CL[1], the system checked if a virtual display is trusted by
the flag FLAG_TRUSTED. Therefore, the activity lunched on the
Vr2dDisplay can not gain the focus because Vr2dDisplay didn't
hold the flag FLAG_TRUSTED.
This CL adds the flag to Vr2dDisplay to make it a trusted display.
CL[1]: ef7b1333f0e87cd07af115719b94dd37e2de54dc
Bug: 168268396
Test: Vr2DisplayTests
Change-Id: Iac88859d3fa7cbb75214efcc6ce4a88e0eb718f2
(cherry picked from commit 534bbaeead15bc3c540efd947b3a5ade62cf27be)
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions