Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7079c93d authored by Varun Shah's avatar Varun Shah
Browse files

Update the fully qualified flag name.

Use package_name.flag_name instead of namespace.flag_name.

Bug: 304478692
Bug: 296056771
Test: atest UsageStatsTest
Change-Id: I4061176adff678d54c844bff7cb20d103e92e5ba
parent 170208c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -312,7 +312,7 @@ package android {
    field public static final String REMOVE_DRM_CERTIFICATES = "android.permission.REMOVE_DRM_CERTIFICATES";
    field public static final String REMOVE_TASKS = "android.permission.REMOVE_TASKS";
    field public static final String RENOUNCE_PERMISSIONS = "android.permission.RENOUNCE_PERMISSIONS";
    field @FlaggedApi("backstage_power.report_usage_stats_permission") public static final String REPORT_USAGE_STATS = "android.permission.REPORT_USAGE_STATS";
    field @FlaggedApi("android.app.usage.report_usage_stats_permission") public static final String REPORT_USAGE_STATS = "android.permission.REPORT_USAGE_STATS";
    field @Deprecated public static final String REQUEST_NETWORK_SCORES = "android.permission.REQUEST_NETWORK_SCORES";
    field public static final String REQUEST_NOTIFICATION_ASSISTANT_SERVICE = "android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE";
    field public static final String RESET_PASSWORD = "android.permission.RESET_PASSWORD";
+1 −1
Original line number Diff line number Diff line
@@ -6123,7 +6123,7 @@
    <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />

    <!-- @SystemApi @hide
         @FlaggedApi("backstage_power.report_usage_stats_permission")
         @FlaggedApi("android.app.usage.report_usage_stats_permission")
         Allows trusted system components to report events to UsageStatsManager -->
    <permission android:name="android.permission.REPORT_USAGE_STATS"
                android:protectionLevel="signature|module" />