commit | b7adbb2a47c78f40a40609ec95398f121d2ecce5 | [log] [tgz] |
---|---|---|
author | yihsing.shen <yihsing.shen@mediatek.com> | Thu Oct 31 11:20:25 2019 +0800 |
committer | JeiFeng Lee <linger.lee@mediatek.com> | Mon Nov 04 10:46:13 2019 +0800 |
tree | 74da4ba3aab93130fc1afb64571c9dceda98e1dc | |
parent | 0a0a68ce03d09d965a4796c5f013400d68a7d7a9 [diff] |
Guarantee add/remove permission order Two threads add permission and remove permission at the same time without order gurantee. It causes that the test encounters security exception. Introducing a new wait-lock can solve this problem. Bug: 143736495 Test: manual, ran the test 10 times and it passed 10 times Change-Id: Ib07d7ea0297331348f46f2059819cd6381453538