summaryrefslogtreecommitdiffstats
path: root/core/java/android/content/Context.java
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2010-01-21 15:40:47 -0800
committerKenny Root <kroot@google.com>2010-01-22 16:56:26 -0800
commit3214839482aebcdfccc7cec0b0849739ef46fa68 (patch)
treea7e6e79ea98ffbf6aa3eecfabe4a2c9b42cd8fde /core/java/android/content/Context.java
parent55434a7999222d89205f32efb03da7e70dd74073 (diff)
downloadframeworks_base-3214839482aebcdfccc7cec0b0849739ef46fa68.zip
frameworks_base-3214839482aebcdfccc7cec0b0849739ef46fa68.tar.gz
frameworks_base-3214839482aebcdfccc7cec0b0849739ef46fa68.tar.bz2
Unhide resource-related API calls in Context
Context hides methods related to the underlying functioning of resources which are readily available from the ApplicationInfo object. This change allows getting access to information without having to make PackageManager calls for it. Change-Id: Icf6a9da652dad8175bd11b5cd81a924181070373
Diffstat (limited to 'core/java/android/content/Context.java')
-rw-r--r--core/java/android/content/Context.java13
1 files changed, 6 insertions, 7 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java
index 0b83f03..d76b616 100644
--- a/core/java/android/content/Context.java
+++ b/core/java/android/content/Context.java
@@ -250,22 +250,21 @@ public abstract class Context {
public abstract ApplicationInfo getApplicationInfo();
/**
- * {@hide}
- * Return the full path to this context's resource files. This is the ZIP files
- * containing the application's resources.
+ * Return the full path to this context's primary Android package.
+ * The Android package is a ZIP file which contains the application's
+ * primary resources.
*
* <p>Note: this is not generally useful for applications, since they should
* not be directly accessing the file system.
*
- *
* @return String Path to the resources.
*/
public abstract String getPackageResourcePath();
/**
- * {@hide}
- * Return the full path to this context's code and asset files. This is the ZIP files
- * containing the application's code and assets.
+ * Return the full path to this context's primary Android package.
+ * The Android package is a ZIP file which contains application's
+ * primary code and assets.
*
* <p>Note: this is not generally useful for applications, since they should
* not be directly accessing the file system.