Package com.getkeepsafe.relinker
Class ApkLibraryInstaller
- java.lang.Object
-
- com.getkeepsafe.relinker.ApkLibraryInstaller
-
- All Implemented Interfaces:
ReLinker.LibraryInstaller
public class ApkLibraryInstaller extends Object implements ReLinker.LibraryInstaller
-
-
Constructor Summary
Constructors Constructor Description ApkLibraryInstaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinstallLibrary(Context context, String[] abis, String mappedLibraryName, File destination, ReLinkerInstance instance)Attempts to unpack the given library to the given destination.
-
-
-
Method Detail
-
installLibrary
public void installLibrary(Context context, String[] abis, String mappedLibraryName, File destination, ReLinkerInstance instance)
Attempts to unpack the given library to the given destination. Implements retry logic for IO operations to ensure they succeed.- Specified by:
installLibraryin interfaceReLinker.LibraryInstaller- Parameters:
context-Contextto describe the location of the installed APK filemappedLibraryName- The mapped name of the library file to load
-
-