Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92da0b44 authored by Kenny Root's avatar Kenny Root Committed by Android (Google) Code Review
Browse files

Merge "Unhide resource-related API calls in Context"

parents 3e3a6430 32148394
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -32439,6 +32439,17 @@
 visibility="public"
>
</method>
<method name="getPackageCodePath"
 return="java.lang.String"
 abstract="true"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="getPackageManager"
 return="android.content.pm.PackageManager"
 abstract="true"
@@ -32461,6 +32472,17 @@
 visibility="public"
>
</method>
<method name="getPackageResourcePath"
 return="java.lang.String"
 abstract="true"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="getResources"
 return="android.content.res.Resources"
 abstract="true"
+6 −7
Original line number Diff line number Diff line
@@ -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.