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

Commit 97a6a152 authored by Varun Shah's avatar Varun Shah
Browse files

Update javadoc for RUN_BACKUP_JOBS permission.

Instead of indicating the app must have a "primary" use case, instead,
mentioned that it must be a "major" use case instead to cover apps whose
primary function depends on backup.

Fixes: 323068649
Test: n/a (javadoc update only)
Change-Id: Ic30301a023cc226b633dd01b91f8ce7a734fa774
parent 7bb4ff97
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1549,7 +1549,7 @@ public class AppOpsManager {
            AppProtoEnums.APP_OP_READ_SYSTEM_GRAMMATICAL_GENDER;

    /**
     * Allows an app whose primary use case is to backup or sync content to run longer jobs.
     * Allows an app with a major use case of backing-up or syncing content to run longer jobs.
     *
     * @hide
     */
+1 −1
Original line number Diff line number Diff line
@@ -7821,7 +7821,7 @@
                android:protectionLevel="normal"/>

    <!-- @FlaggedApi("android.app.job.backup_jobs_exemption")
         Gives applications whose <b>primary use case</b> is to backup or sync content increased
         Gives applications with a <b>major use case</b> of backing-up or syncing content increased
         job execution allowance in order to complete the related work. The jobs must have a valid
         content URI trigger and network constraint set.
         <p>This is a special access permission that can be revoked by the system or the user.