summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-12-02 05:26:12 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2009-12-02 05:26:12 -0800
commit9ed7dc10d263a505da32522139098f085fee811a (patch)
tree17e00ec1b4223502ef7def5490d22efd4fc2188b /core/java
parent9db1a37cc48a01a66ee8026de303faaf4a83667d (diff)
parent5886050fad97923c33cbc831fe07a5b1746b2b58 (diff)
downloadframeworks_base-9ed7dc10d263a505da32522139098f085fee811a.zip
frameworks_base-9ed7dc10d263a505da32522139098f085fee811a.tar.gz
frameworks_base-9ed7dc10d263a505da32522139098f085fee811a.tar.bz2
am 5886050f: Merge change I0d8f7593 into eclair
Merge commit '5886050fad97923c33cbc831fe07a5b1746b2b58' into eclair-mr2 * commit '5886050fad97923c33cbc831fe07a5b1746b2b58': Fix issue #2296457: PackageManager.addPackageToPreferred needs to a no-op
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/content/pm/PackageManager.java18
1 files changed, 8 insertions, 10 deletions
diff --git a/core/java/android/content/pm/PackageManager.java b/core/java/android/content/pm/PackageManager.java
index e2030be..03d2a6d 100644
--- a/core/java/android/content/pm/PackageManager.java
+++ b/core/java/android/content/pm/PackageManager.java
@@ -1656,21 +1656,19 @@ public abstract class PackageManager {
IPackageStatsObserver observer);
/**
- * Add a new package to the list of preferred packages. This new package
- * will be added to the front of the list (removed from its current location
- * if already listed), meaning it will now be preferred over all other
- * packages when resolving conflicts.
- *
- * @param packageName The package name of the new package to make preferred.
+ * @deprecated This function no longer does anything; it was an old
+ * approach to managing preferred activities, which has been superceeded
+ * (and conflicts with) the modern activity-based preferences.
*/
+ @Deprecated
public abstract void addPackageToPreferred(String packageName);
/**
- * Remove a package from the list of preferred packages. If it was on
- * the list, it will no longer be preferred over other packages.
- *
- * @param packageName The package name to remove.
+ * @deprecated This function no longer does anything; it was an old
+ * approach to managing preferred activities, which has been superceeded
+ * (and conflicts with) the modern activity-based preferences.
*/
+ @Deprecated
public abstract void removePackageFromPreferred(String packageName);
/**