Chris Ye | 3c5b809 | 2020-08-07 09:15:19 -0700 | [diff] [blame] | 1 | #!/system/bin/sh |
2 | |||||
3 | # Preload the native portion libuinputcommand_jni.so to bypass the dependency | ||||
4 | # checks in the Java classloader, which prohibit dependencies that aren't | ||||
5 | # listed in system/core/rootdir/etc/public.libraries.android.txt. | ||||
6 | export LD_PRELOAD=libuinputcommand_jni.so | ||||
7 | |||||
8 | export CLASSPATH=/system/framework/uinput.jar | ||||
9 | exec app_process /system/bin com.android.commands.uinput.Uinput "$@" |