Merge changes from topic 'stage-aosp-master-generics-api' into stage-aosp-master
* changes: DO NOT MERGE Track generics in API definition. DO NOT MERGE Fix issue #29871385: Need JobScheduler.scheduleAsPackage to be system API
This commit is contained in:
committed by
Android (Google) Code Review
commit
f8243e1e99
1192
api/current.txt
1192
api/current.txt
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1192
api/test-current.txt
1192
api/test-current.txt
File diff suppressed because it is too large
Load Diff
@@ -18,6 +18,7 @@ package android.app.job;
|
|||||||
|
|
||||||
import android.annotation.NonNull;
|
import android.annotation.NonNull;
|
||||||
import android.annotation.Nullable;
|
import android.annotation.Nullable;
|
||||||
|
import android.annotation.SystemApi;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@@ -75,6 +76,7 @@ public abstract class JobScheduler {
|
|||||||
* @return {@link #RESULT_SUCCESS} or {@link #RESULT_FAILURE}
|
* @return {@link #RESULT_SUCCESS} or {@link #RESULT_FAILURE}
|
||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
|
@SystemApi
|
||||||
public abstract int scheduleAsPackage(JobInfo job, String packageName, int userId, String tag);
|
public abstract int scheduleAsPackage(JobInfo job, String packageName, int userId, String tag);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user