commit | 96d67800c827efb5c08adaa32e221aaae53d02a4 | [log] [tgz] |
---|---|---|
author | Sam Blitzstein <sblitz@google.com> | Wed Dec 03 16:18:02 2014 -0800 |
committer | Sam Blitzstein <sblitz@google.com> | Wed Dec 10 14:58:53 2014 -0800 |
tree | 9c0d53b6a90df6c1005309714445247a45f94e31 | |
parent | d96b2bcc2b675b6e8eae54af31b51325ec73ce0a [diff] |
Before the first call to clearCallingIdentity, cache the calling package. Then it will be saved as a mutator when the dirty bit is set. This may be accessed by multiple threads, so the data is cached in ThreadLocal. Also track the calling Uid, and clear the cached package when the tracked Uid is restored. Bug: 18421411 Change-Id: I4597bd4169636c3988d72ddde51578a02af193ea