Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fda05c96 authored by Elliott Hughes's avatar Elliott Hughes Committed by android-build-merger
Browse files

Merge "Clean up some shell script copy & paste."

am: b4012baa

Change-Id: I234abb10e1141e14ffa4cfcd0d695144dc935da4
parents c14d65cc b4012baa
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
#!/system/bin/sh
# Script to start "appwidget" on the device, which has a very rudimentary shell.
base=/system
export CLASSPATH=$base/framework/appwidget.jar
exec app_process $base/bin com.android.commands.appwidget.AppWidget "$@"
export CLASSPATH=/system/framework/appwidget.jar
exec app_process /system/bin com.android.commands.appwidget.AppWidget "$@"
+2 −7
Original line number Diff line number Diff line
#!/system/bin/sh
# Script to start "bmgr" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/bmgr.jar
exec app_process $base/bin com.android.commands.bmgr.Bmgr "$@"
export CLASSPATH=/system/framework/bmgr.jar
exec app_process /system/bin com.android.commands.bmgr.Bmgr "$@"
+2 −5
Original line number Diff line number Diff line
#!/system/bin/sh
# Script to start "content" on the device, which has a very rudimentary shell.
base=/system
export CLASSPATH=$base/framework/content.jar
exec app_process $base/bin com.android.commands.content.Content "$@"
export CLASSPATH=/system/framework/content.jar
exec app_process /system/bin com.android.commands.content.Content "$@"
+2 −7
Original line number Diff line number Diff line
#!/system/bin/sh
#
# Script to start "hid" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/hid.jar

# Preload the native portion libhidcommand_jni.so to bypass the dependency
# checks in the Java classloader, which prohibit dependencies that aren't
# listed in system/core/rootdir/etc/public.libraries.android.txt.
export LD_PRELOAD=libhidcommand_jni.so

exec app_process $base/bin com.android.commands.hid.Hid "$@"
export CLASSPATH=/system/framework/hid.jar
exec app_process /system/bin com.android.commands.hid.Hid "$@"
+2 −7
Original line number Diff line number Diff line
#!/system/bin/sh
# Script to start "input" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/input.jar
exec app_process $base/bin com.android.commands.input.Input "$@"
export CLASSPATH=/system/framework/input.jar
exec app_process /system/bin com.android.commands.input.Input "$@"
Loading