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

Commit bcaa424a authored by Miao Wang's avatar Miao Wang Committed by Android Git Automerger
Browse files

am 39a0b22c: Merge "[RenderScript] Add dummy getMinorID to maintain compatible...

am 39a0b22c: Merge "[RenderScript] Add dummy getMinorID to maintain compatible with old RS compat lib." into mnc-dev

* commit '39a0b22c':
  [RenderScript] Add dummy getMinorID to maintain compatible with old RS compat lib.
parents 812eae18 39a0b22c
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -133,6 +133,20 @@ public class RenderScript {
    // used in conjunction with the API version of a device
    static final long sMinorVersion = 1;

    /**
     * @hide
     *
     * Only exist to be compatible with old version RenderScript Support lib.
     * Will eventually be removed.
     *
     * @return Always return 1
     *
     */
    public static long getMinorID() {
        return 1;
    }


    /**
     * Returns an identifier that can be used to identify a particular
     * minor version of RS.