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

Commit 17b7ff4a authored by Tim Murray's avatar Tim Murray Committed by Android Git Automerger
Browse files

am b25a6936: am d7043f00: Merge "Add hidden minor version ID for support lib workarounds."

* commit 'b25a6936':
  Add hidden minor version ID for support lib workarounds.
parents 7a66d8ea b25a6936
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -103,6 +103,20 @@ public class RenderScript {

    static File mCacheDir;

    // this should be a monotonically increasing ID
    // used in conjunction with the API version of a device
    static final long sMinorID = 1;

    /**
     * Returns an identifier that can be used to identify a particular
     * minor version of RS.
     *
     * @hide
     */
    public static long getMinorID() {
        return sMinorID;
    }

     /**
     * Sets the directory to use as a persistent storage for the
     * renderscript object file cache.