summaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorChiachang Wang <chiachangwang@google.com>2021-09-24 15:09:42 +0800
committerChiachang Wang <chiachangwang@google.com>2021-09-24 15:16:59 +0800
commita46f16d7ecf33173eb11d6b791bbccfa0664375d (patch)
tree3bfeb91ee8758d60f57bfc868f2c799be11b1c81 /AndroidManifest.xml
parentd3ec462f6426fba9c91c3fd9f2431fc7a0ce94c0 (diff)
downloadNetworkPermissionConfig-a46f16d7ecf33173eb11d6b791bbccfa0664375d.tar.gz
Cleanup empty class in NetworkPermissionConfig
The previous issue was resolved so that NetworkPermissionConfig could be built as a no-code app. Cleanup the code accordingly to reduce the apk size. The apk size is reduced from 16.8kB to 12.6kB from local build. Bug: 132924647 Test: atest NetworkStackTests Test: Build, flash, connect to wifi/cellular normally Change-Id: Ibc66e87832253ed0d022753f66141743c5a770dd
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index a6af0d6..92fa57f 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -40,5 +40,6 @@
<!-- The application must declare usesClearTraffic because it uses the same UID as the
NetworkStack module, which does cleartext traffic (b/161860610). -->
<application android:name="com.android.server.NetworkPermissionConfig"
- android:usesCleartextTraffic="true"/>
+ android:usesCleartextTraffic="true"
+ android:hasCode="false"/>
</manifest>