diff options
author | Jing Ji <jji@google.com> | 2019-09-16 20:15:03 -0700 |
---|---|---|
committer | Jing Ji <jji@google.com> | 2019-10-02 20:22:31 +0000 |
commit | 29b5b9e229e72038f02a9a01bade5aaf8ec129d0 (patch) | |
tree | 74df4dde8c74efffebfc543e67daa19f45466fa7 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 19cf36b0a5a35311893155d172fe3ed1dad00176 (diff) |
Limit the number of attempts to launch bad content providers
Previously if a content provider gets killed/exits by itself
during launching, the system would keep retrying to launch it;
now limit the maximum attempts to 3 and give up after that.
Bug: 141020060
Test: atest CtsAppTestCases:BadProviderTest
Change-Id: Idcc308c2761c444b62c0edf377c78622dd1c39b5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions