OSDN Git Service

Merge "VintfObject: add getTargetFcmVersion"
authorTreehugger Robot <treehugger-gerrit@google.com>
Thu, 8 Feb 2018 20:12:02 +0000 (20:12 +0000)
committerGerrit Code Review <noreply-gerritcodereview@google.com>
Thu, 8 Feb 2018 20:12:02 +0000 (20:12 +0000)
1  2 
core/java/android/os/VintfObject.java
core/jni/android_os_VintfObject.cpp

@@@ -76,8 -76,15 +76,15 @@@ public class VintfObject 
      /**
       * @return a list of VNDK snapshots supported by the framework, as
       * specified in framework manifest. For example,
 -     * [("25.0.5", ["libjpeg.so", "libbase.so"]),
 -     *  ("25.1.3", ["libjpeg.so", "libbase.so"])]
 +     * [("27", ["libjpeg.so", "libbase.so"]),
 +     *  ("28", ["libjpeg.so", "libbase.so"])]
       */
      public static native Map<String, String[]> getVndkSnapshots();
+     /**
+      * @return target FCM version, a number specified in the device manifest
+      * indicating the FCM version that the device manifest implements. Null if
+      * device manifest doesn't specify this number (for legacy devices).
+      */
+     public static native Long getTargetFrameworkCompatibilityMatrixVersion();
  }
Simple merge