diff options
author | Svet Ganov <svetoslavganov@google.com> | 2016-01-25 09:12:41 -0800 |
---|---|---|
committer | Svet Ganov <svetoslavganov@google.com> | 2016-01-25 09:12:44 -0800 |
commit | 81fcf7037b86fd9cb1592359d08a1bd5992c6fc1 (patch) | |
tree | f8ba6c2c8acda5e5832ae1a8370322e3f40bfcb4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4370fba554d0bfa9dd321461b534f3afb98f8f24 (diff) |
Clear binder calling identity before mutating secure settings.
The accessibility manager service changes secure settings without
clearing binder calling identnty. Luckily it worked for a long
time as the calls resulting in a secure setting change were not
made on a binder thread. Now we clear calling identity before
mutating secure settings - note that we alsways do this after
a security check, hece it is safe.
bug:26766532
Change-Id: Icb188e6de1a134f38de0bdb23c67fa4ff2806ba4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions