1*d57664e9SAndroid Build Coastguard Worker#!/system/bin/sh 2*d57664e9SAndroid Build Coastguard Worker 3*d57664e9SAndroid Build Coastguard Worker# Preload the native portion libuinputcommand_jni.so to bypass the dependency 4*d57664e9SAndroid Build Coastguard Worker# checks in the Java classloader, which prohibit dependencies that aren't 5*d57664e9SAndroid Build Coastguard Worker# listed in system/core/rootdir/etc/public.libraries.android.txt. 6*d57664e9SAndroid Build Coastguard Workerexport LD_PRELOAD=libuinputcommand_jni.so 7*d57664e9SAndroid Build Coastguard Worker 8*d57664e9SAndroid Build Coastguard Workerexport CLASSPATH=/system/framework/uinput.jar 9*d57664e9SAndroid Build Coastguard Workerexec app_process /system/bin com.android.commands.uinput.Uinput "$@" 10