FGS Metrics Logging Improvements
Improving and evolving FGS Metrics logging API.
Test: atest ActivityManagerTest#testNoteForegroundResourceUse
Bug: 271345905
Change-Id: I073f337a306bcd14670a8f01fe6ddb8592a477ce
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml
index 8cbf5f8..4c48f0e 100644
--- a/packages/Shell/AndroidManifest.xml
+++ b/packages/Shell/AndroidManifest.xml
@@ -828,6 +828,8 @@
<!-- Permission required for CTS test - CtsTelephonyProviderTestCases -->
<uses-permission android:name="android.permission.WRITE_APN_SETTINGS" />
+ <uses-permission android:name="android.permission.LOG_FOREGROUND_RESOURCE_USE"/>
+
<application android:label="@string/app_label"
android:theme="@android:style/Theme.DeviceDefault.DayNight"
android:defaultToDeviceProtectedStorage="true"