commit | e658c7b5dd9b3d9d218c6ba8df756e1d7ec9a80f | [log] [tgz] |
---|---|---|
author | paulhu <paulhu@google.com> | Tue Jan 26 18:05:27 2021 +0800 |
committer | paulhu <paulhu@google.com> | Tue Feb 02 22:22:16 2021 +0800 |
tree | 5a89e6a04b313a2f43a05ab1327533f973e913cf | |
parent | dc0a5687d6b8e222740b2395fe777f12314a4c25 [diff] |
Add indexOf method PermissionMonitor is using ArrayUtils#indexOf often in checking permission methods. It's better to have this method in CollectionUtils. Also implement contains() by indexOf method. Bug: 174541037 Test: atest FrameworksNetTests Change-Id: I32e2ca815dd35eae9c31188856068eaf3458d250