aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiayu Hu <hujiayu@google.com>2024-04-18 13:59:20 -0700
committerJiayu Hu <hujiayu@google.com>2024-04-18 13:59:20 -0700
commit4f8ab776e6c69ed7dffda912c663c2cee58daace (patch)
tree5efa6ff3aa3883b61827f71f3586346f7fad30ab
parented141c604c490378de11295742ca4f200ebcd0b0 (diff)
downloadicing-upstream-master.tar.gz
Update Icing from upstream.upstream-master
This CL adds a new file that was missing from the last sync, since the sync script had not been updated correctly. Change-Id: I6a2aa5e3b80ebe0b94737cfc8f344c269f4d6ee7
-rw-r--r--java/src/com/google/android/icing/IcingLibraryLoader.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/java/src/com/google/android/icing/IcingLibraryLoader.java b/java/src/com/google/android/icing/IcingLibraryLoader.java
new file mode 100644
index 0000000..1efc067
--- /dev/null
+++ b/java/src/com/google/android/icing/IcingLibraryLoader.java
@@ -0,0 +1,13 @@
+package com.google.android.icing;
+
+/**
+ * This loader is used to load libicing.so native library. This is the default loader to use for
+ * Icing library.
+ */
+final class IcingLibraryLoader {
+ public static void loadLibrary() {
+ System.loadLibrary("icing");
+ }
+
+ private IcingLibraryLoader() {}
+}