diff options
author | Christopher Tate <ctate@android.com> | 2014-05-29 21:17:32 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-05-29 21:17:32 +0000 |
commit | 3d5e5c7b266863953ece3d77ab2c334e9a9c4ebc (patch) | |
tree | d207a9816973cb82b776eccdf045289185eb571c /api | |
parent | 073c2e4ad1437bcb97b5290ad31ab40ef309716b (diff) | |
parent | 9b9244b6941110ea2d940d9fc8eed0cdff96a016 (diff) | |
download | frameworks_base-3d5e5c7b266863953ece3d77ab2c334e9a9c4ebc.zip frameworks_base-3d5e5c7b266863953ece3d77ab2c334e9a9c4ebc.tar.gz frameworks_base-3d5e5c7b266863953ece3d77ab2c334e9a9c4ebc.tar.bz2 |
Merge "DO NOT MERGE Implementation of TaskManager reschedule/cancel" into lmp-preview-dev
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/api/current.txt b/api/current.txt index df908e0..9c56fb5 100644 --- a/api/current.txt +++ b/api/current.txt @@ -5355,13 +5355,13 @@ package android.app.task { method public int describeContents(); method public int getBackoffPolicy(); method public android.os.Bundle getExtras(); + method public int getId(); method public long getInitialBackoffMillis(); method public long getIntervalMillis(); method public long getMaxExecutionDelayMillis(); method public long getMinLatencyMillis(); method public int getNetworkCapabilities(); method public android.content.ComponentName getService(); - method public int getTaskId(); method public boolean isPeriodic(); method public boolean isRequireCharging(); method public boolean isRequireDeviceIdle(); @@ -5374,7 +5374,7 @@ package android.app.task { field public static final int LINEAR = 0; // 0x0 } - public final class Task.Builder { + public static final class Task.Builder { ctor public Task.Builder(int, android.content.ComponentName); method public android.app.task.Task build(); method public android.app.task.Task.Builder setBackoffCriteria(long, int); @@ -5388,8 +5388,9 @@ package android.app.task { } public static abstract interface Task.NetworkType { - field public static final int ANY = 0; // 0x0 - field public static final int UNMETERED = 1; // 0x1 + field public static final int ANY = 1; // 0x1 + field public static final int NONE = 0; // 0x0 + field public static final int UNMETERED = 2; // 0x2 } public abstract class TaskManager { @@ -5398,8 +5399,8 @@ package android.app.task { method public abstract void cancelAll(); method public abstract java.util.List<android.app.task.Task> getAllPendingTasks(); method public abstract int schedule(android.app.task.Task); - field public static final int RESULT_INVALID_PARAMETERS = -1; // 0xffffffff - field public static final int RESULT_OVER_QUOTA = -2; // 0xfffffffe + field public static final int RESULT_FAILURE = 0; // 0x0 + field public static final int RESULT_SUCCESS = 1; // 0x1 } public class TaskParams implements android.os.Parcelable { |