[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: Id19a6640f2918366bff1e8c415205931dc146bec
Merged-In: Id19a6640f2918366bff1e8c415205931dc146bec
Merged-In: I981220fd22c9dd78dcdee1a13dd1a221a00444e8
(cherry picked from commit 26a657a5bd71f3c521a059255ae6c19fbe01f75b)
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 9ee5bab..dbd7067 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -210,6 +210,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"