Loading core/java/android/content/pm/ServiceInfo.java +1 −1 Original line number Diff line number Diff line Loading @@ -361,7 +361,7 @@ public class ServiceInfo extends ComponentInfo /** * Constant corresponding to {@code systemExempted} in * the {@link android.R.attr#foregroundServiceType} attribute. * The system exmpted foreground service use cases. * The system exempted foreground service use cases. * * <p class="note">Note, apps are allowed to use this type only in the following cases: * <ul> Loading core/res/res/values/attrs_manifest.xml +1 −1 Original line number Diff line number Diff line Loading @@ -1714,7 +1714,7 @@ this type. --> <flag name="remoteMessaging" value="0x200" /> <!-- The system exmpted foreground service use cases. <!-- The system exempted foreground service use cases. <p>Requires the app to hold the permission {@link android.Manifest.permission#FOREGROUND_SERVICE_SYSTEM_EXEMPTED} in order to use this type. Apps are allowed to use this type only in the use cases listed in Loading services/core/java/com/android/server/am/AppBatteryTracker.java +1 −1 Original line number Diff line number Diff line Loading @@ -1388,7 +1388,7 @@ final class AppBatteryTracker extends BaseAppStateTracker<AppBatteryPolicy> final int mDefaultBgCurrentDrainPowerComponent; /** * Default value to {@link #mBgCurrentDrainExmptedTypes}. * Default value to {@link #mBgCurrentDrainExemptedTypes}. **/ final int mDefaultBgCurrentDrainExemptedTypes; Loading Loading
core/java/android/content/pm/ServiceInfo.java +1 −1 Original line number Diff line number Diff line Loading @@ -361,7 +361,7 @@ public class ServiceInfo extends ComponentInfo /** * Constant corresponding to {@code systemExempted} in * the {@link android.R.attr#foregroundServiceType} attribute. * The system exmpted foreground service use cases. * The system exempted foreground service use cases. * * <p class="note">Note, apps are allowed to use this type only in the following cases: * <ul> Loading
core/res/res/values/attrs_manifest.xml +1 −1 Original line number Diff line number Diff line Loading @@ -1714,7 +1714,7 @@ this type. --> <flag name="remoteMessaging" value="0x200" /> <!-- The system exmpted foreground service use cases. <!-- The system exempted foreground service use cases. <p>Requires the app to hold the permission {@link android.Manifest.permission#FOREGROUND_SERVICE_SYSTEM_EXEMPTED} in order to use this type. Apps are allowed to use this type only in the use cases listed in Loading
services/core/java/com/android/server/am/AppBatteryTracker.java +1 −1 Original line number Diff line number Diff line Loading @@ -1388,7 +1388,7 @@ final class AppBatteryTracker extends BaseAppStateTracker<AppBatteryPolicy> final int mDefaultBgCurrentDrainPowerComponent; /** * Default value to {@link #mBgCurrentDrainExmptedTypes}. * Default value to {@link #mBgCurrentDrainExemptedTypes}. **/ final int mDefaultBgCurrentDrainExemptedTypes; Loading