summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-09-01 17:34:12 -0700
committerDianne Hackborn <hackbod@google.com>2010-09-01 21:19:40 -0700
commitd3efa3924407da6d38aa5931ac29aa088d9eb986 (patch)
tree105f4a08e32468c8fa20d981867b6e8fd688cd4e /core/java
parentbc5ec2f91a7ed2836df66f1ed98b019ea1192aa1 (diff)
downloadframeworks_base-d3efa3924407da6d38aa5931ac29aa088d9eb986.zip
frameworks_base-d3efa3924407da6d38aa5931ac29aa088d9eb986.tar.gz
frameworks_base-d3efa3924407da6d38aa5931ac29aa088d9eb986.tar.bz2
Clean up some permissions.
Note that WRITE_OWNER_DATA and READ_OWNER_DATA don't actually appear to be associated with anything or used by anyone, so they are just deleted. Also deprecate the activity API to go in the foreground. I didn't realize that was released in the SDK. It needs to go away. Change-Id: I96f53702c2c79e4999b6b2c498abb770bd27e03a
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/app/Activity.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java
index f7a9a18..6e6e86f 100644
--- a/core/java/android/app/Activity.java
+++ b/core/java/android/app/Activity.java
@@ -1620,6 +1620,9 @@ public class Activity extends ContextThemeWrapper
}
/**
+ * @deprecated This functionality will be removed in the future; please do
+ * not use.
+ *
* Control whether this activity is required to be persistent. By default
* activities are not persistent; setting this to true will prevent the
* system from stopping this activity or its process when running low on
@@ -1634,6 +1637,7 @@ public class Activity extends ContextThemeWrapper
* persistent, true if so, false for the normal
* behavior.
*/
+ @Deprecated
public void setPersistent(boolean isPersistent) {
if (mParent == null) {
try {