diff options
author | Chris Li <lihongyu@google.com> | 2021-11-18 15:19:07 +0800 |
---|---|---|
committer | Chris Li <lihongyu@google.com> | 2021-11-19 14:44:13 +0800 |
commit | a3deece020fb5a2a6e54499d83076e4c783b96ab (patch) | |
tree | 88bfd9288814fb48a1baf5544846d1470bc619b3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4d94c48a926d04b6e6ef12b926b8bb1c3ce9ee71 (diff) |
Fix security bug for TaskFragment creation
1. Check Task#effectiveUid instead of rootActivity Uid for TF creation
2. Pass in the caller uid/pid for activity starter instead of using
Binder.getCallingUid() after clearCallingIdentity()
Bug: 205996115
Test: atest WmTests:TaskFragmentOrganizerControllerTest
Change-Id: I1b1470a95d55820dd6d69658c570c3e5640ebe55
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions