[SP20.2] Change permission to access network stats provider API
This is for the VtDataUsageProvider which lives in phone process
and provides data usage to NetworkStatsService. While the counter-
part (aosp/1242603) is changed to use the dedicated permission.
Change caller site accordingly in telephony part is needed.
Test: adb shell dumpsys netstats
Test: atest FrameworksTelephonyTests
Bug: 149652079
Change-Id: I981220fd22c9dd78dcdee1a13dd1a221a00444e8
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index a1949dd..835ed10 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -208,6 +208,7 @@
ACTION_SIM_SLOT_STATUS_CHANGED broadcast to start activities
from the background. -->
<uses-permission android:name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" />
+ <uses-permission android:name="android.permission.NETWORK_STATS_PROVIDER" />
<application android:name="PhoneApp"
android:persistent="true"