commit | ac162f2272c83a23a03587507ed552c9453a3118 | [log] [tgz] |
---|---|---|
author | Chiachang Wang <chiachangwang@google.com> | Mon Feb 05 06:52:06 2024 +0000 |
committer | Chiachang Wang <chiachangwang@google.com> | Mon Feb 26 03:08:22 2024 +0000 |
tree | 61665d4b41474bab0ae19332f7c927620f4873eb | |
parent | 82b6839c02e7f3bc63bd8a6710db4e6dd7988ef2 [diff] |
Correct the method used for permission check The hasNetworkStackPermission() method does not enfore the permission check. It should be replaced with enforceNetworkStackPermission(). Bug: 325984919 Test: atest FrameworksNetTests Change-Id: I9ad0b47190dbc9afd2ee6f5dfc21a4935036733a