summaryrefslogtreecommitdiff
path: root/core/java/android/app/TaskInfo.java
diff options
context:
space:
mode:
authorMathew Inwood <mathewi@google.com>2018-08-14 14:17:44 +0100
committerMathew Inwood <mathewi@google.com>2018-08-14 14:17:44 +0100
commit61e8ae614463fc75d7b38fd9bc840678ebebfb03 (patch)
treecde2edf6c4b6988eef4019f7d210b5e6bc8d01c1 /core/java/android/app/TaskInfo.java
parentb32447760cd99e9d15e678523c736e2c24a7e247 (diff)
Add @UnsupportedAppUsage annotations
For packages: android.app.usage android.app.trust android.app.timezonedetector android.app.timezone android.app.timedetector android.app.job android.app.backup android.app.assist android.app.admin android.app This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: I618c5dc4462ae990d9df45c3e9ed3f092cc5138c
Diffstat (limited to 'core/java/android/app/TaskInfo.java')
-rw-r--r--core/java/android/app/TaskInfo.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/app/TaskInfo.java b/core/java/android/app/TaskInfo.java
index 970a0881a407..077b177be930 100644
--- a/core/java/android/app/TaskInfo.java
+++ b/core/java/android/app/TaskInfo.java
@@ -16,6 +16,7 @@
package android.app;
+import android.annotation.UnsupportedAppUsage;
import android.content.ComponentName;
import android.content.Intent;
import android.content.res.Configuration;
@@ -33,12 +34,14 @@ public class TaskInfo {
* The id of the user the task was running as.
* @hide
*/
+ @UnsupportedAppUsage
public int userId;
/**
* The id of the ActivityStack that currently contains this task.
* @hide
*/
+ @UnsupportedAppUsage
public int stackId;
/**
@@ -90,6 +93,7 @@ public class TaskInfo {
* The last time this task was active since boot (including time spent in sleep).
* @hide
*/
+ @UnsupportedAppUsage
public long lastActiveTime;
/**
@@ -102,18 +106,21 @@ public class TaskInfo {
* True if the task can go in the split-screen primary stack.
* @hide
*/
+ @UnsupportedAppUsage
public boolean supportsSplitScreenMultiWindow;
/**
* The resize mode of the task. See {@link ActivityInfo#resizeMode}.
* @hide
*/
+ @UnsupportedAppUsage
public int resizeMode;
/**
* The current configuration of the task.
* @hide
*/
+ @UnsupportedAppUsage
public final Configuration configuration = new Configuration();
TaskInfo() {