commit | 6fd84cc878c7df75777644944288cce558c1cd51 | [log] [tgz] |
---|---|---|
author | Benjamin Franz <bfranz@google.com> | Thu Aug 06 18:09:03 2015 +0100 |
committer | Benjamin Franz <bfranz@google.com> | Thu Aug 06 18:09:03 2015 +0100 |
tree | f27002c9b91c70533c2941e596dea9b8c9d810f9 | |
parent | 29b8c4ab8ac4942e46a9ad4ced795bf06b9f8481 [diff] |
Use realActivity as indicator for task locking When lock task mode is started, we verify that the package is whitelisted and currently use mCallingPackage as indicator. However, the calling package is not necessarily identical to the package trying to lock itself, so lock task mode sometimes fails. Switching over to using realActivity as package marker. Bug: 22916291 Change-Id: Ifd4df2d634842c8106b0b0f690bcf1faba0ed5fa