Use the new TETHER_PRIVILEGED permission.
BUG: 26247383
Change-Id: Iaec7a1095c18cfd9bcf83ebd63e02462dcf38c61
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 5a11606..690834a 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -37,6 +37,7 @@
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="com.android.certinstaller.INSTALL_AS_USER" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
+ <uses-permission android:name="android.permission.TETHER_PRIVILEGED" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
@@ -452,7 +453,7 @@
<service android:name=".TetherService"
android:exported="true"
- android:permission="android.permission.CONNECTIVITY_INTERNAL" />
+ android:permission="android.permission.TETHER_PRIVILEGED" />
<receiver
android:name=".HotspotOffReceiver" >
<intent-filter>