Merge "Add comment for NetworkStack permissions" am: 154a0d0b38

am: b4493ea049

Change-Id: I4e1299713b3425a5a86f927e58238aa6da2e7c65
This commit is contained in:
Remi NGUYEN VAN
2019-04-01 08:02:13 -07:00
committed by android-build-merger

View File

@@ -21,6 +21,10 @@
android:sharedUserId="android.uid.networkstack">
<uses-sdk android:minSdkVersion="28" android:targetSdkVersion="28" />
<!-- Permissions must be defined here, and not in the base manifest, as the network stack
running in the system server process does not need any permission, and having privileged
permissions added would cause crashes on startup unless they are also added to the
privileged permissions whitelist for that package. -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />