This source file includes following definitions.
- onCreate
- initializeApplicationParameters
package org.chromium.chromium_linker_test_apk;
import android.app.Application;
import org.chromium.base.PathUtils;
import org.chromium.content.browser.ResourceExtractor;
public class ChromiumLinkerTestApplication extends Application {
private static final String[] MANDATORY_PAK_FILES = new String[] {
"content_shell.pak",
"icudtl.dat"
};
private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "chromium_linker_test";
@Override
public void onCreate() {
super.onCreate();
initializeApplicationParameters();
}
public static void initializeApplicationParameters() {
ResourceExtractor.setMandatoryPaksToExtract(MANDATORY_PAK_FILES);
PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX);
}
}