summaryrefslogtreecommitdiff
path: root/apex
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2020-11-13 02:56:37 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-11-13 02:56:37 +0000
commitbdd6c53abb0215da583479444f46f5609a6f3472 (patch)
tree18dc13958b6c6bf0cdf65b8eeff87a2d2d8412c7 /apex
parent958c6e7ed77b7cbe14e746ede1d5a27061e97590 (diff)
parentd23189b998402fc9eae62bb4f7f0223d213c95f8 (diff)
Merge "Suppress all hidden abstract methods in constructable classes."
Diffstat (limited to 'apex')
-rw-r--r--apex/jobscheduler/framework/java/android/app/job/JobScheduler.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/apex/jobscheduler/framework/java/android/app/job/JobScheduler.java b/apex/jobscheduler/framework/java/android/app/job/JobScheduler.java
index 42725c51fd87..e0467df823dd 100644
--- a/apex/jobscheduler/framework/java/android/app/job/JobScheduler.java
+++ b/apex/jobscheduler/framework/java/android/app/job/JobScheduler.java
@@ -154,6 +154,7 @@ public abstract class JobScheduler {
* @param tag Debugging tag for dumps associated with this job (instead of the service class)
* @hide
*/
+ @SuppressWarnings("HiddenAbstractMethod")
@SystemApi
@RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS)
public abstract @Result int scheduleAsPackage(@NonNull JobInfo job, @NonNull String packageName,
@@ -196,6 +197,7 @@ public abstract class JobScheduler {
* Returns a list of all currently-executing jobs.
* @hide
*/
+ @SuppressWarnings("HiddenAbstractMethod")
public abstract List<JobInfo> getStartedJobs();
/**
@@ -205,5 +207,6 @@ public abstract class JobScheduler {
* <p class="note">This is a slow operation, so it should be called sparingly.
* @hide
*/
+ @SuppressWarnings("HiddenAbstractMethod")
public abstract List<JobSnapshot> getAllJobSnapshots();
} \ No newline at end of file